dwInternalTicks Variable

Microchip TCP/IP Stack

Microchip TCP/IP Stack Help
dwInternalTicks Variable
C
volatile DWORD dwInternalTicks = 0;
Description

Internal counter to store Ticks. This variable is incremented in an ISR and therefore must be marked volatile to prevent the compiler optimizer from reordering code to use this value in the main context while interrupts are disabled.

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