Module to declare HAL hardware critical timer interface. More...
Typedefs | |
typedef void(* | hal_timer_critical_handler_t )(void) |
Prototype for critical timer handler. | |
Functions | |
void | hal_timer_critical_start (uint32_t interval_us, hal_timer_critical_handler_t handler) |
Starts hardware critical timer. More... | |
void | hal_timer_critical_stop (void) |
Stops hardware critical timer. | |
bool | is_critical_timer_started (void) |
Check if critical timer is currently used. More... | |
Module to declare HAL hardware critical timer interface.
void hal_timer_critical_start | ( | uint32_t | interval_us, |
hal_timer_critical_handler_t | handler | ||
) |
Starts hardware critical timer.
[in] | interval_us | timer interval for timer start. |
[in] | handler | critical timer event handler. |
bool is_critical_timer_started | ( | void | ) |
Check if critical timer is currently used.
timer_state | true - timer is running now false - timer in stop mode |