Embedded TCP/IP stack  4.5.3

◆ fnet_timer_ms2ticks()

fnet_time_t fnet_timer_ms2ticks ( fnet_time_t  time_ms)

Convert milliseconds to timer ticks.

Parameters
time_msTime value in milliseconds.
Returns
This function returns the time value in timer ticks.

This function converts the time value time_ms in milliseconds to the time value in timer ticks.
The period of one timer tick is defined by the FNET_TIMER_PERIOD_MS.


© 2005-2018 by Andrey Butok. http://fnet.sourceforge.net