C2802x/C2803x/C2806x/F28M3x AnalogIO Input
Configure pin, sample time, and data type for analog input
Library
Embedded Coder® Support Package for Texas Instruments™ C2000™ Processors/ C2802x
Embedded Coder Support Package for Texas Instruments C2000 Processors/ C2803x
Embedded Coder Support Package for Texas Instruments C2000 Processors/ C2806x
Embedded Coder Support Package for Texas Instruments C2000 Processors/ F28M35x/ C28x
Embedded Coder Support Package for Texas Instruments C2000 Processors/ F28M36x/ C28x
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
.