nrfxlib API 2.7.99
Loading...
Searching...
No Matches

◆ OSAL_Create_Timer()

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.

Parameters
[in]DelayInterval on which to trigger the timer.
[in]StartStart the timer at creation or not.
[in]TypePeriodic or one-shot timer.
[in]TimerFunctionTimer handler function.
[in]DataPointer to application data to be provided as an argument to the timer function call.
Returns
Handle to the created timer upon successor NULL upon failure.