void ADC_ITConfig(ADC_TypeDef* ADCx, uint16_t ADC_IT,FunctionalState NewState)
ADC_IT | 説明 |
ADC_IT_EOC | - |
ADC_IT_AWD | - |
ADC_IT_JEOC | - |
NewState | 説明 |
ENABLE | 有効 |
DISABLE | 無効 |
/* Enable ADC2 EOC and AWDOG interrupts */ ADC_ITConfig(ADC2, ADC_IT_EOC | ADC_IT_AWD, ENABLE);