Skip to content
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

Disable PIT_IRQ when all instances have ended (Teensy LC and Teensy 4) #416

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ssilverman
Copy link
Contributor

@ssilverman ssilverman commented Jan 7, 2020

This adds a 'runningFlags' variable to IntervalTimer and addresses the TODO.

This adds tracking of which PIT timer is running so that the PIT IRQ can be disabled appropriately. (Note that this code isn't concurrent-safe.)

@ssilverman ssilverman changed the title IntervalTimer 'runningFlags' for knowing when to disable IRQ Disable PIT_IRQ when all instances have ended, for Teensy LC and Teensy 4 Sep 10, 2021
This adds a 'runningFlags' variable to IntervalTimer and addresses the TODO.
@ssilverman ssilverman changed the title Disable PIT_IRQ when all instances have ended, for Teensy LC and Teensy 4 Disable PIT_IRQ when all instances have ended (Teensy LC and Teensy 4) Sep 15, 2021
@ssilverman
Copy link
Contributor Author

Note that the commit message isn't exactly the same as the PR description. See if it's acceptable to you.

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.

None yet

1 participant