2021-02-23 11:12 PM
In RM0091, A.7.2 ADC enable sequence code example:
ADC1->ISR |= ADC_CR_ADRDY; /* (2) */
However, there is no ADC_CR_ADRDY, it is supposed to be ADC_ISR_ADRDY.
Also, examples should not show the bad practice using RMW to clear rc_w1 status bits, so this line ought to be:
ADC1->ISR = ADC_ISR_ADRDY; /* (2) */
JW
#Snippets
Solved! Go to Solution.
2021-03-03 03:11 AM
2021-03-03 03:11 AM
Hi @Community member
I raised this internally. Thank you
Bouraoui
2021-03-03 09:20 AM
Thanks, Bouraoui.
Jan