- You can provide the required signals to the desired ADC pins and select the same in the "Conversion no. x" field of the "Input Channels" tab of the block.
- You can generate the "Code generation report" by going to "Modeling / Model Settings / Code Generation / Reports" and checking the "Create code generation report" and "Open report automatically" checkboxes, which will generate and open the report automatically.
- You can find the "model name.c" file, which calls the function "config_ADC_x" (where "x" denotes the module of ADC), which is defined in the file "MW_c28xx_adc.c" . The line of code defining the channel in the file is shown in the below code snippet.
- You can import multiple ADC blocks for each pin configuration with different signals.