Skip to content

Struct hal::timer::out_of_bounds_error

ClassList > hal > timer > out_of_bounds_error

Error type indicating that the desired time delay is not achievable with this timer. More...

  • #include <timer.hpp>

Public Attributes

Type Name
std::chrono::nanoseconds maximum
The maximum possible delay allowed.
std::chrono::nanoseconds tick_period
The tick period.

Detailed Description

This occurs if the time delay is too large based on the tick period of the timer.

Public Attributes Documentation

variable maximum

std::chrono::nanoseconds hal::timer::out_of_bounds_error::maximum;

variable tick_period

std::chrono::nanoseconds hal::timer::out_of_bounds_error::tick_period;

The documentation for this class was generated from the following file libraries/include/libhal/timer.hpp