Skip to content

Avoid read-modify-write when enabling SERCOM DRE interrupt #281

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 11, 2017

Conversation

SodaqMoja
Copy link

The disable interrupt already does it like this. Just write the value of the DRE bit, no read-modify-write operation is needed.

SodaqMoja referenced this pull request Dec 8, 2017
The RXC interrupt was being disabled when using bit to disable the DRE
interrupt.
@sandeepmistry sandeepmistry merged commit fd15a1c into arduino:master Dec 11, 2017
@sandeepmistry
Copy link
Contributor

@SodaqMoja thanks!

@sandeepmistry sandeepmistry added this to the Release 1.6.18 milestone Jan 25, 2018
boseji pushed a commit to go-ut/combined-ArduinoCore-samd that referenced this pull request Feb 3, 2021
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