MG32F10x Standard Peripherals Firmware Library
Macros
ADC_injected_channel_selection
MG32F10x_StdPeriph_Driver
»
ADC
»
ADC_Exported_Constants
Macros
#define
ADC_InjectedChannel_1
((uint8_t)0x14)
#define
ADC_InjectedChannel_2
((uint8_t)0x18)
#define
ADC_InjectedChannel_3
((uint8_t)0x1C)
#define
ADC_InjectedChannel_4
((uint8_t)0x20)
#define
IS_ADC_INJECTED_CHANNEL
(CHANNEL)
Detailed Description
Macro Definition Documentation
◆
IS_ADC_INJECTED_CHANNEL
#define IS_ADC_INJECTED_CHANNEL
(
CHANNEL
)
Value:
(((CHANNEL) == ADC_InjectedChannel_1) || \
((CHANNEL) == ADC_InjectedChannel_2) || \
((CHANNEL) == ADC_InjectedChannel_3) || \
((CHANNEL) == ADC_InjectedChannel_4))
Generated by megawin Technology (Shenzhen) Corp., Ltd. All rights reserved.