nRF51 SDK
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
SDM data update timer

SDM TX timer interface. More...

Typedefs

typedef void(* timer_callback_t )()
 

Functions

void timer_initialize (void)
 Power up and configure the time reference peripheral. More...
 
void timer_register (timer_callback_t timer_expiration_callback)
 Register a timer callback client. More...
 
void timer_start (void)
 Start the scheduling of a previously registered callback handler.
 

Detailed Description

SDM TX timer interface.

Typedef Documentation

typedef void(* timer_callback_t)()

The timer client callback prototype.

Function Documentation

void timer_initialize ( void  )

Power up and configure the time reference peripheral.

< Desired RTC COUNTER frequency is 50Hz (20ms per counter period).

< Value for the COMPARE register.

void timer_register ( timer_callback_t  timer_expiration_callback)

Register a timer callback client.

Parameters
[in]timer_expiration_callbackThe timer client callback handler, which is called upon timer expiration time.