Skip to content

timer: Add basic timer operation for H5 family#76

Open
astapleton wants to merge 13 commits intomasterfrom
as/timer
Open

timer: Add basic timer operation for H5 family#76
astapleton wants to merge 13 commits intomasterfrom
as/timer

Conversation

@astapleton
Copy link
Member

This implements timer functionality for the H5 family. It implements functionality that is common to all timers on all MCUs in the family (although it does not implement any LPTIM peripherals). It builds on top of #59, but instead of using macros to define all timer methods, this instead defines traits that represent just the functionality exposed for basic timer operation (inspired by how the STM32F4 HAL is structured), and uses macros to implement those limited methods. This keeps the macro surface area minimized. Future development can define Traits for General and Advanced timers to add in functionality for those timer peripherals.

@astapleton astapleton requested a review from usbalbin February 17, 2026 00:42
@astapleton astapleton mentioned this pull request Feb 17, 2026
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.

3 participants

Comments