In software timers, Whenever the timer set in xTimerCreate() less than the configTICK_RATE_HZ, value of xTimerPeriodInTicks variable inside the function prvInitialiseNewTimer taken as zero? Is my underatanding correct?
I tried for the following values,
time value - 1ms
configTICK_RATE_HZ - 10 ms.
In this case, value of xTimerPeriodInTicks is 0 eventhough i set the 1 ms.
Or more generally, PORT_MAXDELAY which will be 0xFFFF with 16 bit ticks and 0xFFFFFFFF for 32 bit ticks.
As to your first question, time periods are specifiec in TICKS, not ms, (you can use the macro pdMS_TO_TICKS to convert a time in ms to ticks), And configTICK_RATE_HZ would be specified in Hz, not ms, so a 10ms tick would be 100 Hz.