adc_trigger_src
This is an example to select the source to trigger ADC start
It uses the specific pin to trigge ADC
-
Select the ADC converison channel
// in main.c #define CONFIG_TARGGET_ADC_1_CHANNEL ADC_Channel_15 -
Select the specific pin to trigger ADC
It supports PB1 or PB2
// in main.c #define CONFIG_ADC_EXT_TRIG_SRC ADC_ExtTrigSource_PB1 -
Select the trigger mode of the specific pin
It supports rising or falling trigger mode
// in main.c #define CONFIG_ADC_EXT_TRIG_MODE ADC_ExtTrigMode_PinRising
Log
Use serial port with baudrate 115200, 8bit, no parity check.