nRF51 SDK - S210 SoftDevice
|
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. | |
SDM TX timer interface.
typedef void(* timer_callback_t)() |
The timer client callback prototype.
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.
[in] | timer_expiration_callback | The timer client callback handler, which is called upon timer expiration time. |