TICKS_PER_SECOND Macro

Microchip TCP/IP Stack

Microchip TCP/IP Stack Help
TICKS_PER_SECOND Macro
C
#define TICKS_PER_SECOND ((GetPeripheralClock()+128ull)/256ull)    // Internal core clock drives timer with 1:256 prescaler
Description

Internal core clock drives timer with 1:256 prescaler #define TICKS_PER_SECOND (32768ul) // 32kHz crystal drives timer with no scalar

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