nRF5 SDK for Mesh v3.2.0
Data Fields
model_timer_t Struct Reference

Structure for model timers. More...

#include <model_common.h>

Data Fields

model_timer_mode_t mode
 Timer mode : Single shot, repeated. More...
 
uint64_t timeout_rtc_ticks
 Timeout in number of RTC ticks.
 
void * p_context
 context pointer for the timer callback
 
model_timer_cb_t cb
 Timer callback. More...
 
uint64_t total_rtc_ticks
 Total rtc ticks since begining of the timer.
 
app_timer_id_t const * p_timer_id
 APP timer instance pointer.
 
uint64_t remaining_ticks
 Internal variable. More...
 
uint32_t last_rtc_stamp
 Internal variable. More...
 
bool cb_active
 Internal variable. More...
 

Detailed Description

Structure for model timers.

Definition at line 142 of file model_common.h.

Field Documentation

◆ mode

model_timer_mode_t model_timer_t::mode

Timer mode : Single shot, repeated.

Definition at line 145 of file model_common.h.

◆ cb

model_timer_cb_t model_timer_t::cb

Timer callback.

Definition at line 151 of file model_common.h.

◆ remaining_ticks

uint64_t model_timer_t::remaining_ticks

Internal variable.

Definition at line 159 of file model_common.h.

◆ last_rtc_stamp

uint32_t model_timer_t::last_rtc_stamp

Internal variable.

Definition at line 161 of file model_common.h.

◆ cb_active

bool model_timer_t::cb_active

Internal variable.

Definition at line 163 of file model_common.h.


The documentation for this struct was generated from the following file:

Documentation feedback | Developer Zone | Subscribe | Updated