STM32 ADC Interrupt?
Posted: Mon Dec 02, 2019 7:06 pm
Hi
Each of the four ADC of STM32F3 generates an interrupt after the end of conversion.
Taking as an example the Single Conversion Mode:
1) Inside the regular sequence, after each conversion is complete:
• The EOC (end of regular conversion) flag is set
• An interrupt is generated if the EOCIE bit is set
2) After the regular sequence is complete:
• The EOS (end of the regular sequence) flag is set
• An interrupt is generated if the EOSIE bit is set
These interrupts are not included in FC7.
Should we write a custom interrupt code?
Thanks
Each of the four ADC of STM32F3 generates an interrupt after the end of conversion.
Taking as an example the Single Conversion Mode:
1) Inside the regular sequence, after each conversion is complete:
• The EOC (end of regular conversion) flag is set
• An interrupt is generated if the EOCIE bit is set
2) After the regular sequence is complete:
• The EOS (end of the regular sequence) flag is set
• An interrupt is generated if the EOSIE bit is set
These interrupts are not included in FC7.
Should we write a custom interrupt code?
Thanks