FlagStatus ADC_GetFlagStatus(ADC_TypeDef* ADCx, uint8_t ADC_FLAG)
ADC_FLAG | 説明 |
ADC_FLAG_AWD | - |
ADC_FLAG_EOC | - |
ADC_FLAG_JEOC | - |
ADC_FLAG_JSTRT | - |
ADC_FLAG_STRT | - |
FlagStatus | 状態 |
SET | - |
RESET | - |
/* Test if the ADC1 EOC flag is set or not */ FlagStatus Status; Status = ADC_GetFlagStatus(ADC1, ADC_FLAG_EOC);