www.pudn.com > LPC1768_SD_Test.rar > SD_File.h, change:2009-05-07,size:1240b


/*---------------------------------------------------------------------------- 
 *      R T L   F l a s h   F i l e   S y s t e m   E x a m p l e 
 *---------------------------------------------------------------------------- 
 *      Name:    SD_CARD.H 
 *      Purpose: File manipulation example definitions 
 *      Rev.:    V3.20 
 *---------------------------------------------------------------------------- 
 *      This code is part of the RealView Run-Time Library. 
 *      Copyright (c) 2004-2008 KEIL - An ARM Company. All rights reserved. 
 *---------------------------------------------------------------------------*/ 
 
#define CNTLQ       0x11 
#define CNTLS       0x13 
#define DEL         0x7F 
#define BACKSPACE   0x08 
#define CR          0x0D 
#define LF          0x0A 
#define ESC         0x1B 
 
/* Command definitions structure. */ 
typedef struct scmd { 
   char val[8]; 
   void (*func)(char *par); 
} SCMD; 
 
/* External functions */ 
extern BOOL getline (char *, U32); 
extern void init_serial (void); 
extern int  getkey (void); 
 
/*---------------------------------------------------------------------------- 
 * end of file 
 *---------------------------------------------------------------------------*/