Skip to main content

Module timer

Module timer 

Source
Expand description

Safe, idiomatic wrappers for OSAL Timer APIs.

This module provides a Timer struct for creating, configuring, and managing OSAL timers that execute a callback function at a specified interval. The Timer struct uses RAII to ensure the underlying OSAL resource is deleted when it is dropped.

Structs§

Timer
A handle to an OSAL timer.
TimerProp
Properties of an OSAL timer.

Type Aliases§

TimerArgCallback
A type alias for a timer callback that accepts a user-defined argument.
TimerCallback
A type alias for the callback function used by an OSAL timer.