Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: DS1820 HighSpeedAnalogIn devices mbed
SDFileSystem/FATFileSystem/ChaN/integer.h@0:1c0a769988ee, 2017-03-24 (annotated)
- Committer:
- brunofgc
- Date:
- Fri Mar 24 15:54:41 2017 +0000
- Revision:
- 0:1c0a769988ee
Saidas digitais com pwm ok, entradas analogicas ok
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
brunofgc | 0:1c0a769988ee | 1 | /*-------------------------------------------*/ |
brunofgc | 0:1c0a769988ee | 2 | /* Integer type definitions for FatFs module */ |
brunofgc | 0:1c0a769988ee | 3 | /*-------------------------------------------*/ |
brunofgc | 0:1c0a769988ee | 4 | |
brunofgc | 0:1c0a769988ee | 5 | #ifndef _INTEGER |
brunofgc | 0:1c0a769988ee | 6 | #define _INTEGER |
brunofgc | 0:1c0a769988ee | 7 | |
brunofgc | 0:1c0a769988ee | 8 | #ifdef _WIN32 /* FatFs development platform */ |
brunofgc | 0:1c0a769988ee | 9 | |
brunofgc | 0:1c0a769988ee | 10 | #include <windows.h> |
brunofgc | 0:1c0a769988ee | 11 | #include <tchar.h> |
brunofgc | 0:1c0a769988ee | 12 | |
brunofgc | 0:1c0a769988ee | 13 | #else /* Embedded platform */ |
brunofgc | 0:1c0a769988ee | 14 | |
brunofgc | 0:1c0a769988ee | 15 | /* These types must be 16-bit, 32-bit or larger integer */ |
brunofgc | 0:1c0a769988ee | 16 | typedef int INT; |
brunofgc | 0:1c0a769988ee | 17 | typedef unsigned int UINT; |
brunofgc | 0:1c0a769988ee | 18 | |
brunofgc | 0:1c0a769988ee | 19 | /* These types must be 8-bit integer */ |
brunofgc | 0:1c0a769988ee | 20 | typedef char CHAR; |
brunofgc | 0:1c0a769988ee | 21 | typedef unsigned char UCHAR; |
brunofgc | 0:1c0a769988ee | 22 | typedef unsigned char BYTE; |
brunofgc | 0:1c0a769988ee | 23 | |
brunofgc | 0:1c0a769988ee | 24 | /* These types must be 16-bit integer */ |
brunofgc | 0:1c0a769988ee | 25 | typedef short SHORT; |
brunofgc | 0:1c0a769988ee | 26 | typedef unsigned short USHORT; |
brunofgc | 0:1c0a769988ee | 27 | typedef unsigned short WORD; |
brunofgc | 0:1c0a769988ee | 28 | typedef unsigned short WCHAR; |
brunofgc | 0:1c0a769988ee | 29 | |
brunofgc | 0:1c0a769988ee | 30 | /* These types must be 32-bit integer */ |
brunofgc | 0:1c0a769988ee | 31 | typedef long LONG; |
brunofgc | 0:1c0a769988ee | 32 | typedef unsigned long ULONG; |
brunofgc | 0:1c0a769988ee | 33 | typedef unsigned long DWORD; |
brunofgc | 0:1c0a769988ee | 34 | |
brunofgc | 0:1c0a769988ee | 35 | #endif |
brunofgc | 0:1c0a769988ee | 36 | |
brunofgc | 0:1c0a769988ee | 37 | #endif |