MILLISECDELAY Macro

Microchip MDD File System Interface

MDDFS Interface Library Help
MILLISECDELAY Macro
C
#define MILLISECDELAY (WORD)      ((GetInstructionClock()/DELAY_PRESCALER/(WORD)1000) - DELAY_OVERHEAD)
Description

An approximate calculation of how many times to loop to delay 1 ms in the Delayms function

Microchip MDD File System Interface 1.2.0 - [Aug 18, 2008]
Copyright © 2008 Microchip Technology, Inc.  All rights reserved.