FreeRTOS Tick Rate concept

yyang2000 wrote on Wednesday, January 20, 2010:


I wish if I would understand the concept of the tick rate in uIP_Task routine used in FreeRTOS demo as below timer_set() function.

timer_set( &periodic_timer, configTICK_RATE_HZ / 2 );

If configTICK_RATE was defined as 1000, does it mean the periodic_timer will get expired by every half second (500 ticks)? Or something else? I wonder if any one can help me to understand it.


davedoors wrote on Thursday, January 21, 2010:

Yes configTICK_RATE_HZ/2 is always going to be half a second.