Embedded TCP/IP stack: fnet_timer_get_ticks

FNET

Embedded TCP/IP stack  4.1.0
fnet_time_t fnet_timer_get_ticks ( void  )

Gets 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