MG32F10x Standard Peripherals Firmware Library
Macros
ADC_interrupts_definition
MG32F10x_StdPeriph_Driver
»
ADC
»
ADC_Exported_Constants
Macros
#define
ADC_IT_EOC
((uint16_t)0x0220)
#define
ADC_IT_AWD
((uint16_t)0x0140)
#define
ADC_IT_JEOC
((uint16_t)0x0480)
#define
ADC_IT_OVF
((uint16_t)0x4001)
#define
ADC_IT_EMP
((uint16_t)0x2002)
#define
IS_ADC_IT
(IT) ((((IT) & (uint16_t)0x981C) == 0x00) && ((IT) != 0x00))
#define
IS_ADC_GET_IT
(IT)
Detailed Description
Macro Definition Documentation
◆
IS_ADC_GET_IT
#define IS_ADC_GET_IT
(
IT
)
Value:
(((IT) == ADC_IT_EOC) || ((IT) == ADC_IT_AWD) || \
((IT) == ADC_IT_JEOC)|| ((IT) == ADC_IT_OVF) || \
((IT) == ADC_IT_EMP))
Generated by megawin Technology (Shenzhen) Corp., Ltd. All rights reserved.