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