pub unsafe extern "C" fn pvTimerGetTimerID(
    xTimer: TimerHandle_t
) -> *mut c_void
Expand description

void *pvTimerGetTimerID( TimerHandle_t xTimer );

Returns the ID assigned to the timer.

IDs are assigned to timers using the pvTimerID parameter of the call to xTimerCreated() that was used to create the timer, and by calling the vTimerSetTimerID() API function.

If the same callback function is assigned to multiple timers then the timer ID can be used as time specific (timer local) storage.

@param xTimer The timer being queried.

@return The ID assigned to the timer being queried.

Example usage:

See the xTimerCreate() API function example usage scenario.