nrfxlib API 0.1.0
|
OSAL_Timer_t OSAL_Create_Timer | ( | uint32_t | Delay, |
bool_t | Start, | ||
OSAL_Timer_Type_t | Type, | ||
OSAL_Timer_Function_t | TimerFunction, | ||
void * | Data | ||
) |
Creates a timer.
[in] | Delay | Interval on which to trigger the timer. |
[in] | Start | Start the timer at creation or not. |
[in] | Type | Periodic or one-shot timer. |
[in] | TimerFunction | Timer handler function. |
[in] | Data | Pointer to application data to be provided as an argument to the timer function call. |