Embedded TCP/IP stack  4.5.3

◆ fnet_timer_get_ticks()

fnet_time_t fnet_timer_get_ticks ( void  )

Get the timer counter value in ticks.

Returns
This function returns a current value of the timer counter in ticks.
See also
fnet_timer_get_seconds()

This function returns a current value of the timer counter that contains a number of periods from the moment of the hardware timer initialization (it's done in the FNET stack initialization).
The period of one timer tick is defined by the FNET_TIMER_PERIOD_MS.


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