Analog-to-digital converter (ADC)
3.2.14.6 ADC_GetInjectedConversionValue
uint16_t ADC_GetInjectedConversionValue ( ADC_TypeDef *
ADCx, uint8_t ADC_InjectedChannel)
Returns the ADC injected channel conversion result.
ï‚· ADCx : where x can be 1, 2, 3 or 4 to select the ADC
peripheral.
ï‚· ADC_InjectedChannel : the converted ADC injected
channel. This parameter can be one of the following values:
ï€ ADC_InjectedChannel_1 : Injected Channel1 selected
ï€ ADC_InjectedChannel_2 : Injected Channel2 selected
ï€ ADC_InjectedChannel_3 : Injected Channel3 selected
ï€ ADC_InjectedChannel_4 : Injected Channel4 selected
ï‚· The Data conversion value.
3.2.15 Interrupts and flags management functions
3.2.15.1 ADC_ITConfig
void ADC_ITConfig ( ADC_TypeDef * ADCx, uint32_t ADC_IT,
FunctionalState NewState)
Enables or disables the specified ADC interrupts.
ï‚· ADCx : where x can be 1, 2 or 3 to select the ADC
peripheral.
ï‚· ADC_IT : specifies the ADC interrupt sources to be enabled
or disabled. This parameter can be any combination of the
following values:
ï€ ADC_IT_RDY : ADC Ready (ADRDY) interrupt source
ï€ ADC_IT_EOSMP : ADC End of Sampling interrupt
source
ï€ ADC_IT_EOC : ADC End of Regular Conversion
interrupt source
ï€ ADC_IT_EOS : ADC End of Regular sequence of
Conversions interrupt source
ï€ ADC_IT_OVR : ADC overrun interrupt source
ï€ ADC_IT_JEOC : ADC End of Injected Conversion
interrupt source
ï€ ADC_IT_JEOS : ADC End of Injected sequence of
Conversions interrupt source
ï€ ADC_IT_AWD1 : ADC Analog watchdog 1 interrupt
source