nRF51 IoT SDK
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
iot_timer_client_t Struct Reference

IoT Timer client structure. More...

#include <iot_timer.h>

Data Fields

iot_timer_tick_cb iot_timer_callback
 
iot_timer_time_in_ms_t cb_interval
 

Detailed Description

IoT Timer client structure.

Note
cb_interval cannot be zero.
cb_interval must be greater or equal to IOT_TIMER_RESOLUTION_IN_MS.
If greater, cb_interval must be an integral multiple of IOT_TIMER_RESOLUTION_IN_MS.

Field Documentation

iot_timer_time_in_ms_t iot_timer_client_t::cb_interval

Interval between repeated callbacks to the client.

iot_timer_tick_cb iot_timer_client_t::iot_timer_callback

Callback procedure of the client.