Skip to content
mhaa-archPublic

About

MHAA core providing reusable operations for timer and counter management.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

Repository files navigation

MHAA Timer Core

Use Timer to start or stop counting, read or set ticks, and calculate elapsed ticks across a wrap. Bind optional timing controls only when the target supplies them for the same resource.

Read ticks() before the interval and compute elapsed_since only within one full counter period.

Use in an application

Add this repository's include/ and the matching timer-contract/include/ to the C++11 include path. Include <timer/timer.hpp> and supply a live implementation of the matching Contract. The Core borrows it. In a future device composition, Devices will select the concrete Adapter and wire it to the Core.

Generate the API reference

Use Doxygen 1.18.0. From this repository root, create build/ if it does not exist, then run doxygen Doxyfile.

mkdir -p build
doxygen Doxyfile

On PowerShell, use New-Item -ItemType Directory -Force build for the first command. Open build/docs/html/index.html. Mermaid diagrams render in a browser with access to the Mermaid CDN. GitHub Pages publication runs on published releases and on manual dispatches from main once Pages is enabled.

About

MHAA core providing reusable operations for timer and counter management.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Used by

Contributors

Languages