-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSD_File.h
33 lines (29 loc) · 1.18 KB
/
SD_File.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/*----------------------------------------------------------------------------
* 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
*---------------------------------------------------------------------------*/