www.pudn.com > lpc1768-SD_File.rar > SD_File.h, change:2010-09-20,size:1173b


/*---------------------------------------------------------------------------- 
 *      RL-ARM - FlashFS 
 *---------------------------------------------------------------------------- 
 *      Name:    SD_FILE.H 
 *      Purpose: File manipulation example definitions 
 *---------------------------------------------------------------------------- 
 *      This code is part of the RealView Run-Time Library. 
 *      Copyright (c) 2004-2009 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 
 *---------------------------------------------------------------------------*/