Skip to content

Conversation

@boondocklabs
Copy link
Contributor

When enabling ADC interrupts using Eoc::Conversion, both end of sequence and end of conversion interrupts were being enabled, with no way to clear the end of sequence interrupt. When selecting Eoc::Sequence, just the end of conversion interrupt was being enabled.

This fixes the enabled interrupt flags in EOSIE, and adds a clear_end_sequence_flag method to clear the end of sequence flag.

When enabling ADC interrupts using `Eoc::Conversion`, both end of sequence and end of conversion interrupts were being enabled, with no way to clear the end of sequence interrupt. When selecting `Eoc::Sequence`, just the end of conversion interrupt was being enabled.

This fixes the enabled interrupt flags in EOSIE, and adds a `clear_end_sequence_flag` method to clear the end of sequence flag.
@usbalbin
Copy link
Member

Nice, Thank you! :)

@usbalbin usbalbin added this pull request to the merge queue Jul 21, 2025
Merged via the queue into stm32-rs:main with commit ee7c010 Jul 21, 2025
34 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants