STM8S/A Standard Peripherals Drivers
|
ADC2_Exported_Types
Enumerations | |
enum | ADC2_Align_TypeDef { ADC2_ALIGN_LEFT = (uint8_t)0x00, ADC2_ALIGN_RIGHT = (uint8_t)0x08 } |
ADC2 data alignment. More... | |
enum | ADC2_Channel_TypeDef { ADC2_CHANNEL_0 = (uint8_t)0x00, ADC2_CHANNEL_1 = (uint8_t)0x01, ADC2_CHANNEL_2 = (uint8_t)0x02, ADC2_CHANNEL_3 = (uint8_t)0x03, ADC2_CHANNEL_4 = (uint8_t)0x04, ADC2_CHANNEL_5 = (uint8_t)0x05, ADC2_CHANNEL_6 = (uint8_t)0x06, ADC2_CHANNEL_7 = (uint8_t)0x07, ADC2_CHANNEL_8 = (uint8_t)0x08, ADC2_CHANNEL_9 = (uint8_t)0x09, ADC2_CHANNEL_10 = (uint8_t)0x0A, ADC2_CHANNEL_11 = (uint8_t)0x0B, ADC2_CHANNEL_12 = (uint8_t)0x0C, ADC2_CHANNEL_13 = (uint8_t)0x0D, ADC2_CHANNEL_14 = (uint8_t)0x0E, ADC2_CHANNEL_15 = (uint8_t)0x0F } |
ADC2 analog channel selection. More... | |
enum | ADC2_ConvMode_TypeDef { ADC2_CONVERSIONMODE_SINGLE = (uint8_t)0x00, ADC2_CONVERSIONMODE_CONTINUOUS = (uint8_t)0x01 } |
ADC2 conversion mode selection. More... | |
enum | ADC2_ExtTrig_TypeDef { ADC2_EXTTRIG_TIM = (uint8_t)0x00, ADC2_EXTTRIG_GPIO = (uint8_t)0x01 } |
ADC2 External conversion trigger event selection. More... | |
enum | ADC2_PresSel_TypeDef { ADC2_PRESSEL_FCPU_D2 = (uint8_t)0x00, ADC2_PRESSEL_FCPU_D3 = (uint8_t)0x10, ADC2_PRESSEL_FCPU_D4 = (uint8_t)0x20, ADC2_PRESSEL_FCPU_D6 = (uint8_t)0x30, ADC2_PRESSEL_FCPU_D8 = (uint8_t)0x40, ADC2_PRESSEL_FCPU_D10 = (uint8_t)0x50, ADC2_PRESSEL_FCPU_D12 = (uint8_t)0x60, ADC2_PRESSEL_FCPU_D18 = (uint8_t)0x70 } |
ADC2 clock prescaler selection. More... | |
enum | ADC2_SchmittTrigg_TypeDef { ADC2_SCHMITTTRIG_CHANNEL0 = (uint8_t)0x00, ADC2_SCHMITTTRIG_CHANNEL1 = (uint8_t)0x01, ADC2_SCHMITTTRIG_CHANNEL2 = (uint8_t)0x02, ADC2_SCHMITTTRIG_CHANNEL3 = (uint8_t)0x03, ADC2_SCHMITTTRIG_CHANNEL4 = (uint8_t)0x04, ADC2_SCHMITTTRIG_CHANNEL5 = (uint8_t)0x05, ADC2_SCHMITTTRIG_CHANNEL6 = (uint8_t)0x06, ADC2_SCHMITTTRIG_CHANNEL7 = (uint8_t)0x07, ADC2_SCHMITTTRIG_CHANNEL8 = (uint8_t)0x08, ADC2_SCHMITTTRIG_CHANNEL9 = (uint8_t)0x09, ADC2_SCHMITTTRIG_CHANNEL10 = (uint8_t)0x0A, ADC2_SCHMITTTRIG_CHANNEL11 = (uint8_t)0x0B, ADC2_SCHMITTTRIG_CHANNEL12 = (uint8_t)0x0C, ADC2_SCHMITTTRIG_CHANNEL13 = (uint8_t)0x0D, ADC2_SCHMITTTRIG_CHANNEL14 = (uint8_t)0x0E, ADC2_SCHMITTTRIG_CHANNEL15 = (uint8_t)0x0F, ADC2_SCHMITTTRIG_ALL = (uint8_t)0x1F } |
ADC2 schmitt Trigger. More... |
Enumeration Type Documentation
enum ADC2_Align_TypeDef |
ADC2 data alignment.
Definition at line 68 of file stm8s_adc2.h.
enum ADC2_Channel_TypeDef |
ADC2 analog channel selection.
Definition at line 110 of file stm8s_adc2.h.
ADC2 conversion mode selection.
Definition at line 101 of file stm8s_adc2.h.
enum ADC2_ExtTrig_TypeDef |
ADC2 External conversion trigger event selection.
Definition at line 60 of file stm8s_adc2.h.
enum ADC2_PresSel_TypeDef |
ADC2 clock prescaler selection.
Definition at line 46 of file stm8s_adc2.h.
ADC2 schmitt Trigger.
Definition at line 76 of file stm8s_adc2.h.