TickGetDiv64K Function

Microchip TCP/IP Stack

Microchip TCP/IP Stack Help
TickGetDiv64K Function
C
DWORD TickGetDiv64K();
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 most significant 32 bits of the internal tick counter, and is useful for measuring time increments ranging from a few days to a few years, or for absolute time measurements. Use TickGet or TickGetDiv256 for shorter periods of time.

Preconditions

None

Returns

Upper 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.