@ -92,7 +92,7 @@ typedef void (*tmrTIMER_CALLBACK)( xTimerHandle xTimer );
/**
/**
* xTimerHandle xTimerCreate ( const signed char * pcTimerName ,
* xTimerHandle xTimerCreate ( const signed char * pcTimerName ,
* portTickType xTimerPeriod ,
* portTickType xTimerPeriod InTicks ,
* unsigned portBASE_TYPE uxAutoReload ,
* unsigned portBASE_TYPE uxAutoReload ,
* void * pvTimerID ,
* void * pvTimerID ,
* tmrTIMER_CALLBACK pxCallbackFunction ) ;
* tmrTIMER_CALLBACK pxCallbackFunction ) ;
@ -110,15 +110,15 @@ typedef void (*tmrTIMER_CALLBACK)( xTimerHandle xTimer );
* purely to assist debugging . The kernel itself only ever references a timer by
* purely to assist debugging . The kernel itself only ever references a timer by
* its handle , and never by its name .
* its handle , and never by its name .
*
*
* @ param xTimerPeriod The timer period . The time is defined in tick periods so
* @ param xTimerPeriod InTicks The timer period . The time is defined in tick periods so
* the constant portTICK_RATE_MS can be used to convert a time that has been
* the constant portTICK_RATE_MS can be used to convert a time that has been
* specified in milliseconds . For example , if the timer must expire after 100
* specified in milliseconds . For example , if the timer must expire after 100
* ticks , then xTimerPeriod should be set to 100. Alternatively , if the timer
* ticks , then xTimerPeriod InTicks should be set to 100. Alternatively , if the timer
* must expire after 500 ms , then xPeriod can be set to ( 500 / portTICK_RATE_MS )
* must expire after 500 ms , then xPeriod can be set to ( 500 / portTICK_RATE_MS )
* provided configTICK_RATE_HZ is less than or equal to 1000.
* provided configTICK_RATE_HZ is less than or equal to 1000.
*
*
* @ param uxAutoReload If uxAutoReload is set to pdTRUE then the timer will
* @ param uxAutoReload If uxAutoReload is set to pdTRUE then the timer will
* expire repeatedly with a frequency set by the xTimerPeriod parameter . If
* expire repeatedly with a frequency set by the xTimerPeriod InTicks parameter . If
* uxAutoReload is set to pdFALSE then the timer will be a one - shot timer and
* uxAutoReload is set to pdFALSE then the timer will be a one - shot timer and
* enter the dormant state after it expires .
* enter the dormant state after it expires .
*
*
@ -138,7 +138,6 @@ typedef void (*tmrTIMER_CALLBACK)( xTimerHandle xTimer );
*
*
* Example usage :
* Example usage :
*
*
*
* # define NUM_TIMERS 5
* # define NUM_TIMERS 5
*
*
* // An array to hold handles to the created timers.
* // An array to hold handles to the created timers.
@ -929,7 +928,7 @@ xTaskHandle xTimerGetTimerDaemonTaskHandle( void );
* for use by the kernel only .
* for use by the kernel only .
*/
*/
portBASE_TYPE xTimerCreateTimerTask ( void ) PRIVILEGED_FUNCTION ;
portBASE_TYPE xTimerCreateTimerTask ( void ) PRIVILEGED_FUNCTION ;
portBASE_TYPE xTimerGenericCommand ( xTimerHandle xTimer , portBASE_TYPE xCommandID , portTickType xOptionalValue , portBASE_TYPE * pxHigherPriorityTaskWoken , portTickType xBlockTime ) PRIVILEGED_FUNCTION ;
portBASE_TYPE xTimerGenericCommand ( xTimerHandle xTimer , portBASE_TYPE xCommandID , portTickType xOptionalValue , signed portBASE_TYPE * pxHigherPriorityTaskWoken , portTickType xBlockTime ) PRIVILEGED_FUNCTION ;
# ifdef __cplusplus
# ifdef __cplusplus
}
}