C2802x/C2803x/C2806x/F28M3x AnalogIO Input
Configure pin, sample time, and data type for analog input
Description
Use this block to sample the voltage on Analog IO pins and output the results.
Parameters
- Parameters (Input pins)
Select the input pins to sample.
- Sample time
Specify the time interval between samples. To inherit sample time from the upstream block, set this parameter to -1.
- Data type
Select the data type of the digital output data. If you select
auto
, the block automatically selects the data type for your model. You can also manually select a data type. You can choose from the optionsdouble
,single
,int8
,uint8
,int16
,uint16
,int32
, anduint32
.