![]() |
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 |
Timer descriptor. More...
#include <sys_time.h>
Data Fields | |
| sys_queue_item_t | item |
| sys_time_t | absolute_time |
| sys_time_t | interval |
| sys_timer_type_t | type |
| sys_timer_callback_t | callback |
| void * | p_data |
Timer descriptor.
| sys_time_t sys_timer_t::absolute_time |
Service field.
| sys_timer_callback_t sys_timer_t::callback |
Timer callback function.
This function is to be called, when this timer triggers.
| sys_time_t sys_timer_t::interval |
Relevant time moment, at which this timer is programmed to be triggered, measured in microseconds.
| sys_queue_item_t sys_timer_t::item |
Service field.
| void* sys_timer_t::p_data |
Timer callback parameter.
This pointer is to be passed to the timer callback function.
| sys_timer_type_t sys_timer_t::type |
Periodic or one-shot timer.
If type is set to SYS_TIMER_PERIODIC, the timer will restart automatically with the same period.