cancel
Showing results for 
Search instead for 
Did you mean: 

STM32L0 ADC register

HMura.6
Associate II

I am using STM32L073.

When using this ADC, the EOC of the flag ADC_ISR for which AD conversion has been completed does not change unless the EOCIE of ADC_IER is set.

is it right.

1 ACCEPTED SOLUTION

Accepted Solutions
Bouraoui Chemli
ST Employee

Hi @HMura.6​ 

The EOC of the flag ADC_ISR is set by hardware at the end of each conversion of a channel.

If the EOCIE (End of conversion interrupt enable) of ADC_IER is enabled then, an interrupt is generated when EOC bit is set.

Bouraoui

View solution in original post

3 REPLIES 3
Bouraoui Chemli
ST Employee

Hi @HMura.6​ 

The EOC of the flag ADC_ISR is set by hardware at the end of each conversion of a channel.

If the EOCIE (End of conversion interrupt enable) of ADC_IER is enabled then, an interrupt is generated when EOC bit is set.

Bouraoui

Andrew Neil
Evangelist III

"the EOC of the flag ADC_ISR for which AD conversion has been completed does not change unless the EOCIE of ADC_IER is set"

How, exactly, do you observe that?

HMura.6
Associate II

I was thinking of monitoring ADC_ISR with software.

However, I understood the condition.

Thank you very much.