ADC_flags_definition
[ADC_Exported_Constants]

Defines

#define ADC_FLAG_AWD   ((uint8_t)0x01)
#define ADC_FLAG_EOC   ((uint8_t)0x02)
#define ADC_FLAG_JEOC   ((uint8_t)0x04)
#define ADC_FLAG_JSTRT   ((uint8_t)0x08)
#define ADC_FLAG_STRT   ((uint8_t)0x10)
#define IS_ADC_CLEAR_FLAG(FLAG)   ((((FLAG) & (uint8_t)0xE0) == 0x00) && ((FLAG) != 0x00))
#define IS_ADC_GET_FLAG(FLAG)

Define Documentation

#define ADC_FLAG_AWD   ((uint8_t)0x01)

Definition at line 328 of file stm32f10x_adc.h.

#define ADC_FLAG_EOC   ((uint8_t)0x02)

Definition at line 329 of file stm32f10x_adc.h.

#define ADC_FLAG_JEOC   ((uint8_t)0x04)

Definition at line 330 of file stm32f10x_adc.h.

#define ADC_FLAG_JSTRT   ((uint8_t)0x08)

Definition at line 331 of file stm32f10x_adc.h.

#define ADC_FLAG_STRT   ((uint8_t)0x10)

Definition at line 332 of file stm32f10x_adc.h.

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

Definition at line 333 of file stm32f10x_adc.h.

Referenced by ADC_ClearFlag().

#define IS_ADC_GET_FLAG ( FLAG   ) 
Value:
(((FLAG) == ADC_FLAG_AWD) || ((FLAG) == ADC_FLAG_EOC) || \
                               ((FLAG) == ADC_FLAG_JEOC) || ((FLAG)== ADC_FLAG_JSTRT) || \
                               ((FLAG) == ADC_FLAG_STRT))

Definition at line 334 of file stm32f10x_adc.h.

Referenced by ADC_GetFlagStatus().

STM32F10x Standard Peripherals Library: Footer

 

 

 

      For complete documentation on STM32(CORTEX M3) 32-bit Microcontrollers platform visit  www.st.com/STM32