forked from ARMmbed/mbed-os
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Backport ARMmbed#12019: rework cypress lptimer hal
Changed set_match api to use an absolute ticks rather than delayed tick to match api name. Added api set_delay to delay by a specific amount of ticks. Removed unused set_time api. Simplified the logic for computing interrupts match value for cascading counters. Fixed an issue when incorrect base time would be read when trying to set match values.
- Loading branch information
1 parent
978db96
commit 880af5d
Showing
3 changed files
with
100 additions
and
112 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters