Tick Internal Members

Microchip TCP/IP Stack

Microchip TCP/IP Stack Help
Tick Internal Members

The following functions and variables are designated as internal to the Tick module.

Functions
 
Name 
Description 
 
Reads the tick value. 
Macros
 
Name 
Description 
 
Internal core clock drives timer with 1:256 prescaler #define TICKS_PER_SECOND (32768ul) // 32kHz crystal drives timer with no scalar 
Module
Variables
 
Name 
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.