cancel
Showing results for 
Search instead for 
Did you mean: 

ADC sequence code Typo in RM0091

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

1 ACCEPTED SOLUTION

Accepted Solutions
Bouraoui Chemli
ST Employee

Hi @Community member​ 

I raised this internally. Thank you

Bouraoui

View solution in original post

2 REPLIES 2
Bouraoui Chemli
ST Employee

Hi @Community member​ 

I raised this internally. Thank you

Bouraoui

Thanks, Bouraoui.

Jan