mbed os with nrf51 internal bandgap enabled to read battery level
Dependents: BLE_file_test BLE_Blink ExternalEncoder
features/unsupported/fs/fat/ChaN/integer.h@0:f269e3021894, 2016-10-23 (annotated)
- Committer:
- elessair
- Date:
- Sun Oct 23 15:10:02 2016 +0000
- Revision:
- 0:f269e3021894
Initial commit
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
elessair | 0:f269e3021894 | 1 | /*-------------------------------------------*/ |
elessair | 0:f269e3021894 | 2 | /* Integer type definitions for FatFs module */ |
elessair | 0:f269e3021894 | 3 | /*-------------------------------------------*/ |
elessair | 0:f269e3021894 | 4 | |
elessair | 0:f269e3021894 | 5 | #ifndef _FF_INTEGER |
elessair | 0:f269e3021894 | 6 | #define _FF_INTEGER |
elessair | 0:f269e3021894 | 7 | |
elessair | 0:f269e3021894 | 8 | #ifdef _WIN32 /* Development platform */ |
elessair | 0:f269e3021894 | 9 | |
elessair | 0:f269e3021894 | 10 | #include <windows.h> |
elessair | 0:f269e3021894 | 11 | #include <tchar.h> |
elessair | 0:f269e3021894 | 12 | |
elessair | 0:f269e3021894 | 13 | #else /* Embedded platform */ |
elessair | 0:f269e3021894 | 14 | |
elessair | 0:f269e3021894 | 15 | /* This type MUST be 8-bit */ |
elessair | 0:f269e3021894 | 16 | typedef unsigned char BYTE; |
elessair | 0:f269e3021894 | 17 | |
elessair | 0:f269e3021894 | 18 | /* These types MUST be 16-bit */ |
elessair | 0:f269e3021894 | 19 | typedef short SHORT; |
elessair | 0:f269e3021894 | 20 | typedef unsigned short WORD; |
elessair | 0:f269e3021894 | 21 | typedef unsigned short WCHAR; |
elessair | 0:f269e3021894 | 22 | |
elessair | 0:f269e3021894 | 23 | /* These types MUST be 16-bit or 32-bit */ |
elessair | 0:f269e3021894 | 24 | typedef int INT; |
elessair | 0:f269e3021894 | 25 | typedef unsigned int UINT; |
elessair | 0:f269e3021894 | 26 | |
elessair | 0:f269e3021894 | 27 | /* These types MUST be 32-bit */ |
elessair | 0:f269e3021894 | 28 | typedef long LONG; |
elessair | 0:f269e3021894 | 29 | typedef unsigned long DWORD; |
elessair | 0:f269e3021894 | 30 | |
elessair | 0:f269e3021894 | 31 | #endif |
elessair | 0:f269e3021894 | 32 | |
elessair | 0:f269e3021894 | 33 | #endif |