STM8L15x Standard Peripherals Drivers: ADC_Flags

STM8L15x/16x Standard Peripherals Drivers

STM8L15x Standard Peripherals Drivers

Defines

#define IS_ADC_CLEAR_FLAG(FLAG)   ((((FLAG) & (uint8_t)0xF8) == 0x00) && ((FLAG) != 0x00))
#define IS_ADC_GET_FLAG(FLAG)

Enumerations

enum  ADC_FLAG_TypeDef { ADC_FLAG_EOC = ((uint8_t)0x01), ADC_FLAG_AWD = ((uint8_t)0x02), ADC_FLAG_OVER = ((uint8_t)0x04) }

Define Documentation

#define IS_ADC_CLEAR_FLAG (   FLAG)    ((((FLAG) & (uint8_t)0xF8) == 0x00) && ((FLAG) != 0x00))

Definition at line 295 of file stm8l15x_adc.h.

Referenced by ADC_ClearFlag().

#define IS_ADC_GET_FLAG (   FLAG)
Value:
(((FLAG) == ADC_FLAG_EOC) || ((FLAG) == ADC_FLAG_AWD) || \
                               ((FLAG) == ADC_FLAG_OVER))

Definition at line 296 of file stm8l15x_adc.h.

Referenced by ADC_GetFlagStatus().


Enumeration Type Documentation

Enumerator:
ADC_FLAG_EOC 

End of Conversion flag

ADC_FLAG_AWD 

Analog WatchDog flag

ADC_FLAG_OVER 

Over Run flag

Definition at line 288 of file stm8l15x_adc.h.

STM8S Firmware Library: Overview

 

 

 

For complete documentation on STM8L15x 8-bit microcontrollers platform visit www.st.com