Rtos API example

Committer:
marcozecchini
Date:
Sat Feb 23 12:13:36 2019 +0000
Revision:
0:9fca2b23d0ba
final commit

Who changed what in which revision?

UserRevisionLine numberNew contents of line
marcozecchini 0:9fca2b23d0ba 1 /*-------------------------------------------*/
marcozecchini 0:9fca2b23d0ba 2 /* Integer type definitions for FatFs module */
marcozecchini 0:9fca2b23d0ba 3 /*-------------------------------------------*/
marcozecchini 0:9fca2b23d0ba 4
marcozecchini 0:9fca2b23d0ba 5 #ifndef _FF_INTEGER
marcozecchini 0:9fca2b23d0ba 6 #define _FF_INTEGER
marcozecchini 0:9fca2b23d0ba 7
marcozecchini 0:9fca2b23d0ba 8 #ifdef _WIN32 /* Development platform */
marcozecchini 0:9fca2b23d0ba 9
marcozecchini 0:9fca2b23d0ba 10 #include <windows.h>
marcozecchini 0:9fca2b23d0ba 11 #include <tchar.h>
marcozecchini 0:9fca2b23d0ba 12
marcozecchini 0:9fca2b23d0ba 13 #else /* Embedded platform */
marcozecchini 0:9fca2b23d0ba 14
marcozecchini 0:9fca2b23d0ba 15 /* This type MUST be 8-bit */
marcozecchini 0:9fca2b23d0ba 16 typedef unsigned char BYTE;
marcozecchini 0:9fca2b23d0ba 17
marcozecchini 0:9fca2b23d0ba 18 /* These types MUST be 16-bit */
marcozecchini 0:9fca2b23d0ba 19 typedef short SHORT;
marcozecchini 0:9fca2b23d0ba 20 typedef unsigned short WORD;
marcozecchini 0:9fca2b23d0ba 21 typedef unsigned short WCHAR;
marcozecchini 0:9fca2b23d0ba 22
marcozecchini 0:9fca2b23d0ba 23 /* These types MUST be 16-bit or 32-bit */
marcozecchini 0:9fca2b23d0ba 24 typedef int INT;
marcozecchini 0:9fca2b23d0ba 25 typedef unsigned int UINT;
marcozecchini 0:9fca2b23d0ba 26
marcozecchini 0:9fca2b23d0ba 27 /* These types MUST be 32-bit */
marcozecchini 0:9fca2b23d0ba 28 typedef long LONG;
marcozecchini 0:9fca2b23d0ba 29 typedef unsigned long DWORD;
marcozecchini 0:9fca2b23d0ba 30
marcozecchini 0:9fca2b23d0ba 31 #endif
marcozecchini 0:9fca2b23d0ba 32
marcozecchini 0:9fca2b23d0ba 33 #endif