TickGetDiv256 Function

Microchip TCP/IP Stack

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

Preconditions

None

Returns

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