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 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 | ) |
(((FLAG) == ADC_FLAG_AWD) || ((FLAG) == ADC_FLAG_EOC) || \ ((FLAG) == ADC_FLAG_JEOC) || ((FLAG)== ADC_FLAG_JSTRT) || \ ((FLAG) == ADC_FLAG_STRT))