nRF5 SDK for Mesh v5.0.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 beginning 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...
 
bool timer_running
 Internal variable. More...
 

Detailed Description

Structure for model timers.

Definition at line 198 of file model_common.h.

Field Documentation

◆ mode

model_timer_mode_t model_timer_t::mode

Timer mode : Single shot, repeated.

Definition at line 201 of file model_common.h.

◆ cb

model_timer_cb_t model_timer_t::cb

Timer callback.

Definition at line 207 of file model_common.h.

◆ remaining_ticks

uint64_t model_timer_t::remaining_ticks

Internal variable.

Definition at line 215 of file model_common.h.

◆ last_rtc_stamp

uint32_t model_timer_t::last_rtc_stamp

Internal variable.

Definition at line 217 of file model_common.h.

◆ cb_active

bool model_timer_t::cb_active

Internal variable.

Definition at line 219 of file model_common.h.

◆ timer_running

bool model_timer_t::timer_running

Internal variable.

Definition at line 221 of file model_common.h.


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

Documentation feedback | Developer Zone | Subscribe | Updated