Skip to content

Is the adc_clear_flag function broken? #325

@Peque

Description

@Peque

I think the clearing should be:

ADC_SR(ADC1) &= ~ADC_SR_JEOC; 

Instead of:

ADC_SR(ADC1) = ~ADC_SR_JEOC; 

If it is broken, then it should probably be fixed in libopencm3 too.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions