nRF5 SDK v16.0.0
Typedefs | Functions
HAL Hardware Critical Timer

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...
 

Detailed Description

Module to declare HAL hardware critical timer interface.

Function Documentation

void hal_timer_critical_start ( uint32_t  interval_us,
hal_timer_critical_handler_t  handler 
)

Starts hardware critical timer.

Parameters
[in]interval_ustimer interval for timer start.
[in]handlercritical timer event handler.
bool is_critical_timer_started ( void  )

Check if critical timer is currently used.

Return values
timer_statetrue - timer is running now false - timer in stop mode

Documentation feedback | Developer Zone | Subscribe | Updated