sys_timer_t

nRF5 SDK v14.0.0

Timer descriptor. More...

#include <sys_time.h>

Detailed Description

Timer descriptor.

Field Documentation

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.

  • components/experimental_802_15_4/api/SysAL/sys_time.h