Main Content

ADC Read

Read ADC data values from ADC Interface block

  • Library:
  • SoC Blockset / Processor I/O

  • Block icon of ADC Read.

Description

The ADC Read block converts the message received from the ADC Interface block to a signal that can be used by an algorithm. The data type of the output signal is the same as the data type in the contained data massage.

Ports

Input

expand all

This message port receives ADC value messages from a connected ADC Interface block. The messages process when the Task Manager block triggers a task containing the ADC Read block. For more information on messages, see Messages.

Data Types: SoCData

Output

expand all

This port emits a measurement from the ADC Interface block.

Data Types: double | single | int8 | int16 | int32 | uint8 | uint16 | uint32

Parameters

expand all

Select the data type of the input data. Match this data type with data type of the ADC hardware.

Specify how often the scheduler runs this block. If this value is -1 (default), the scheduler assigns the sample time for the block.

Extended Capabilities

Introduced in R2020b