MG32L003 Standard Peripherals Firmware Library

宏定义
ADC_Compare_Mode
MG32L003_StdPeriph_Driver » ADC » ADC_Exported_Constants

## 宏定义
#define | ADC_None_Threshold_Compare (0x00000000)
#define | ADC_Low_Threshold_Compare (0x01 << 12)
#define | ADC_High_Threshold_Compare (0x01 << 13)
#define | ADC_Range_Threshold_Compare (0x01 << 14)
#define | ADC_Threshold_Comapre_Mask (ADC_Low_Threshold_Compare | ADC_High_Threshold_Compare | ADC_Range_Threshold_Compare)
#define | ADC_Threshold_Compare_All ADC_Threshold_Comapre_Mask

## 详细描述

## 宏定义说明

## ◆ ADC_High_Threshold_Compare

#define ADC_High_Threshold_Compare (0x01 << 13)

Compare with low threshold

## ◆ ADC_Low_Threshold_Compare

#define ADC_Low_Threshold_Compare (0x01 << 12)

Compare with high threshold

## ◆ ADC_None_Threshold_Compare

#define ADC_None_Threshold_Compare (0x00000000)

Disable Comparation with threshold

## ◆ ADC_Range_Threshold_Compare

#define ADC_Range_Threshold_Compare (0x01 << 14)

Compare with range threshold