Sd card
Dependents: final_proj1 RoboPanorama Andar_Linha_Reta_Robo_Claw_v1
Fork of FatFileSystem by
integer.h@4:6ce49c16703c, 2012-09-16 (annotated)
- Committer:
- carlos_nascimento08
- Date:
- Sun Sep 16 15:00:15 2012 +0000
- Revision:
- 4:6ce49c16703c
- Parent:
- 0:97df4125f18d
Test with board RoboClaw 15A
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
carlos_nascimento08 | 4:6ce49c16703c | 1 | /*-------------------------------------------*/ |
carlos_nascimento08 | 4:6ce49c16703c | 2 | /* Integer type definitions for FatFs module */ |
carlos_nascimento08 | 4:6ce49c16703c | 3 | /*-------------------------------------------*/ |
carlos_nascimento08 | 4:6ce49c16703c | 4 | |
carlos_nascimento08 | 4:6ce49c16703c | 5 | #ifndef _INTEGER |
carlos_nascimento08 | 4:6ce49c16703c | 6 | |
carlos_nascimento08 | 4:6ce49c16703c | 7 | /* These types must be 16-bit, 32-bit or larger integer */ |
carlos_nascimento08 | 4:6ce49c16703c | 8 | typedef int INT; |
carlos_nascimento08 | 4:6ce49c16703c | 9 | typedef unsigned int UINT; |
carlos_nascimento08 | 4:6ce49c16703c | 10 | |
carlos_nascimento08 | 4:6ce49c16703c | 11 | /* These types must be 8-bit integer */ |
carlos_nascimento08 | 4:6ce49c16703c | 12 | typedef signed char CHAR; |
carlos_nascimento08 | 4:6ce49c16703c | 13 | typedef unsigned char UCHAR; |
carlos_nascimento08 | 4:6ce49c16703c | 14 | typedef unsigned char BYTE; |
carlos_nascimento08 | 4:6ce49c16703c | 15 | |
carlos_nascimento08 | 4:6ce49c16703c | 16 | /* These types must be 16-bit integer */ |
carlos_nascimento08 | 4:6ce49c16703c | 17 | typedef short SHORT; |
carlos_nascimento08 | 4:6ce49c16703c | 18 | typedef unsigned short USHORT; |
carlos_nascimento08 | 4:6ce49c16703c | 19 | typedef unsigned short WORD; |
carlos_nascimento08 | 4:6ce49c16703c | 20 | |
carlos_nascimento08 | 4:6ce49c16703c | 21 | /* These types must be 32-bit integer */ |
carlos_nascimento08 | 4:6ce49c16703c | 22 | typedef long LONG; |
carlos_nascimento08 | 4:6ce49c16703c | 23 | typedef unsigned long ULONG; |
carlos_nascimento08 | 4:6ce49c16703c | 24 | typedef unsigned long DWORD; |
carlos_nascimento08 | 4:6ce49c16703c | 25 | |
carlos_nascimento08 | 4:6ce49c16703c | 26 | /* Boolean type */ |
carlos_nascimento08 | 4:6ce49c16703c | 27 | typedef enum { FALSE = 0, TRUE } BOOL; |
carlos_nascimento08 | 4:6ce49c16703c | 28 | |
carlos_nascimento08 | 4:6ce49c16703c | 29 | #define _INTEGER |
carlos_nascimento08 | 4:6ce49c16703c | 30 | #endif |