STM8L15x Standard Peripherals Drivers
|
ADC_Registers_Bits_Definition
Define Documentation
#define ADC_CR1_ADON ((uint8_t)0x01) |
Definition at line 2328 of file stm8l15x.h.
Referenced by ADC_Cmd().
#define ADC_CR1_AWDIE ((uint8_t)0x10) |
Definition at line 2332 of file stm8l15x.h.
#define ADC_CR1_CONT ((uint8_t)0x04) |
Definition at line 2330 of file stm8l15x.h.
Referenced by ADC_Init().
#define ADC_CR1_EOCIE ((uint8_t)0x08) |
Definition at line 2331 of file stm8l15x.h.
#define ADC_CR1_OVERIE ((uint8_t)0x80) |
Definition at line 2334 of file stm8l15x.h.
#define ADC_CR1_RES ((uint8_t)0x60) |
Definition at line 2333 of file stm8l15x.h.
Referenced by ADC_Init().
#define ADC_CR1_START ((uint8_t)0x02) |
Definition at line 2329 of file stm8l15x.h.
Referenced by ADC_SoftwareStartConv().
#define ADC_CR2_EXTSEL ((uint8_t)0x18) |
Definition at line 2338 of file stm8l15x.h.
Referenced by ADC_ExternalTrigConfig().
#define ADC_CR2_PRESC ((uint8_t)0x80) |
Definition at line 2340 of file stm8l15x.h.
Referenced by ADC_Init().
#define ADC_CR2_SMPT1 ((uint8_t)0x07) |
Definition at line 2337 of file stm8l15x.h.
Referenced by ADC_SamplingTimeConfig().
#define ADC_CR2_TRIGEDGE ((uint8_t)0x60) |
Definition at line 2339 of file stm8l15x.h.
Referenced by ADC_ExternalTrigConfig().
#define ADC_CR3_CHSEL ((uint8_t)0x1F) |
Definition at line 2342 of file stm8l15x.h.
Referenced by ADC_AnalogWatchdogChannelSelect(), and ADC_AnalogWatchdogConfig().
#define ADC_CR3_SMPT2 ((uint8_t)0xE0) |
Definition at line 2343 of file stm8l15x.h.
Referenced by ADC_SamplingTimeConfig().
#define ADC_DRH_CONVDATA ((uint8_t)0x0F) |
Definition at line 2349 of file stm8l15x.h.
#define ADC_DRL_CONVDATA ((uint8_t)0xFF) |
Definition at line 2350 of file stm8l15x.h.
#define ADC_HTRH_HT ((uint8_t)0x0F) |
Definition at line 2352 of file stm8l15x.h.
#define ADC_HTRL_HT ((uint8_t)0xFF) |
Definition at line 2353 of file stm8l15x.h.
#define ADC_LTRH_LT ((uint8_t)0x0F) |
Definition at line 2355 of file stm8l15x.h.
#define ADC_LTRL_LT ((uint8_t)0xFF) |
Definition at line 2356 of file stm8l15x.h.
#define ADC_SQR1_CHSELS ((uint8_t)0x3F) |
Definition at line 2358 of file stm8l15x.h.
#define ADC_SQR1_DMAOFF ((uint8_t)0x80) |
Definition at line 2359 of file stm8l15x.h.
Referenced by ADC_DMACmd().
#define ADC_SQR2_CHSELS ((uint8_t)0xFF) |
Definition at line 2360 of file stm8l15x.h.
#define ADC_SQR3_CHSELS ((uint8_t)0xFF) |
Definition at line 2361 of file stm8l15x.h.
#define ADC_SQR4_CHSELS ((uint8_t)0xFF) |
Definition at line 2362 of file stm8l15x.h.
#define ADC_SR_AWD ((uint8_t)0x02) |
Definition at line 2346 of file stm8l15x.h.
#define ADC_SR_EOC ((uint8_t)0x01) |
Definition at line 2345 of file stm8l15x.h.
#define ADC_SR_OVER ((uint8_t)0x04) |
Definition at line 2347 of file stm8l15x.h.
#define ADC_TRIGR1_TRIG ((uint8_t)0x0F) |
Definition at line 2364 of file stm8l15x.h.
#define ADC_TRIGR1_TSON ((uint8_t)0x20) |
Definition at line 2366 of file stm8l15x.h.
Referenced by ADC_TempSensorCmd().
#define ADC_TRIGR1_VREFINTON ((uint8_t)0x10) |
Definition at line 2365 of file stm8l15x.h.
Referenced by ADC_VrefintCmd().
#define ADC_TRIGR2_TRIG ((uint8_t)0xFF) |
Definition at line 2368 of file stm8l15x.h.
#define ADC_TRIGR3_TRIG ((uint8_t)0xFF) |
Definition at line 2369 of file stm8l15x.h.
#define ADC_TRIGR4_TRIG ((uint8_t)0xFF) |
Definition at line 2370 of file stm8l15x.h.