![]() |
nRF5 SDK
v16.0.0
|
| Choose documentation: | nRF5 SDK | S112 SoftDevice API | S113 SoftDevice API | S132 SoftDevice API | S140 SoftDevice API | S212 SoftDevice API | S312 SoftDevice API | S332 SoftDevice API | S340 SoftDevice API |
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 |