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

Async timer interrupts #3616

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

hatimbt
Copy link

@hatimbt hatimbt commented Dec 5, 2024

This PR collects together and rebases the changes from #3029. (Credit for work goes to @brunob45).

Hatim Thayyil added 4 commits December 5, 2024 20:34
This commits collects together a logical unit of change from brunob45's
work on async timers.

Relevant examples are also updated.
This is from brunob45's work on async timer interrupts.

A second channel has been added to remove the need for the match in
get_width_ticks.

The channels have been named ch_period and ch_width (instead of ch1, and
ch2) to prevent confusion with the timer channels Channel::Ch1 and
Channel::Ch2.
This commit collects brunob45's work on async timers.

Two methods are provided for asynchronously waiting on a PwmInput
capture.
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.

1 participant