TickGet Function

Microchip TCP/IP Stack

Microchip TCP/IP Stack Help
TickGet Function
C
DWORD TickGet();
Description

This function retrieves the current Tick value, allowing timing and measurement code to be written in a non-blocking fashion. This function retrieves the least significant 32 bits of the internal tick counter, and is useful for measuring time increments ranging from a few microseconds to a few hours. Use TickGetDiv256 or TickGetDiv64K for longer periods of time.

Preconditions

None

Returns

Lower 32 bits of the current Tick value.

Microchip TCP/IP Stack 5.42.08 - June 15, 2013
Copyright © 2012 Microchip Technology, Inc.  All rights reserved.