Skip to main content

Module timebase

Module timebase 

Source
Expand description

Safe, idiomatic wrappers for OSAL Time Base APIs.

This module provides a TimeBase struct for creating and managing OSAL time bases, which act as sources for timer ticks. The TimeBase struct uses RAII to ensure the underlying OSAL resource is properly cleaned up.

Structsยง

TimeBase
A handle to an OSAL time base.
TimeBaseId
A type-safe, zero-cost wrapper for an OSAL Time Base ID.
TimeBaseProp
Properties of a time base, returned by TimeBase::info.