STM8L15x Standard Peripherals Drivers: ADC_Interrupts

STM8L15x/16x Standard Peripherals Drivers

STM8L15x Standard Peripherals Drivers

Defines

#define IS_ADC_GET_IT(IT)
#define IS_ADC_IT(IT)   ((((IT) & (uint8_t)0x67) == 0x00) && ((IT) != 0x00))

Enumerations

enum  ADC_IT_TypeDef { ADC_IT_EOC = ((uint8_t)0x08), ADC_IT_AWD = ((uint8_t)0x10), ADC_IT_OVER = ((uint8_t)0x80) }

Define Documentation

#define IS_ADC_GET_IT (   IT)
Value:
(((IT) == ADC_IT_EOC) || ((IT) == ADC_IT_AWD) || \
                           ((IT) == ADC_IT_OVER))

Definition at line 279 of file stm8l15x_adc.h.

Referenced by ADC_GetITStatus().

#define IS_ADC_IT (   IT)    ((((IT) & (uint8_t)0x67) == 0x00) && ((IT) != 0x00))

Definition at line 278 of file stm8l15x_adc.h.

Referenced by ADC_ClearITPendingBit(), and ADC_ITConfig().


Enumeration Type Documentation

Enumerator:
ADC_IT_EOC 

End of Conversion Interrupt

ADC_IT_AWD 

Analog WatchDog Interrupt

ADC_IT_OVER 

Over Run Interrupt

Definition at line 271 of file stm8l15x_adc.h.

STM8S Firmware Library: Overview

 

 

 

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