Embedded TCP/IP stack
4.1.0
|
fnet_timer.h
fnet_uint32_t fnet_time_t
Unsigned integer type representing time uinits. It can be ticks, seconds or milliseconds.
Definition: fnet_timer.h:66
fnet_time_t fnet_timer_get_seconds(void)
Gets the timer counter value in seconds.
fnet_time_t fnet_timer_get_interval(fnet_time_t start, fnet_time_t end)
Calculates an interval between two moments in time.
void fnet_timer_delay(fnet_time_t delay_ticks)
Performs a delay for the given number of timer ticks.
fnet_time_t fnet_timer_ms2ticks(fnet_time_t time_ms)
Converts milliseconds to timer ticks.
© 2005-2018 by Andrey Butok. http://fnet.sourceforge.net