Latest: FreeRTOS V7.1.1 was released May 1, 2012. View the change history.
Free RTOS logo
FreeRTOS royalty free RTOS RSS feed  Real time embedded FreeRTOS mailing list  
Quick Start Supported MCUs Books & Kits Ecosystem Contact & Support



Last site update May 11 2012

 

nabto

FreeRTOS Connect

pvTimerGetTimerID
[Timer API]

timers.h
 void *pvTimerGetTimerID( xTimerHandle xTimer );

Returns the ID assigned to the timer.

IDs are assigned to timers using the pvTimerID parameter of the call to xTimerCreate() that was used to create the timer.

If the same callback function is assigned to multiple timers then the timer ID can be used within the callback function to identify which timer actually expired.

Parameters:
xTimer   The timer being queried.
Returns:
The ID assigned to the timer being queried.
Example usage:

See the example on the xTimerCreate() documentation page.





[ Back to the top ]    [ About FreeRTOS ]    [ Sitemap ]    [ ]




Copyright (C) 2004-2010 Richard Barry. Copyright (C) 2010-2012 Real Time Engineers Ltd.
Any and all data, files, source code, html content and documentation included in the FreeRTOSTM distribution or available on this site are the exclusive property of Real Time Engineers Ltd.. See the files license.txt (included in the distribution) and this copyright notice for more information. FreeRTOSTM and FreeRTOS.orgTM are trade marks of Real Time Engineers Ltd.