source: UsbWattMeter/trunk/fatfs/integer.h@ 165

Last change on this file since 165 was 164, checked in by coas-nagasima, 6 years ago

TOPPERS/ECNLサンプルアプリ「USB充電器電力計」を追加

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
  • Property svn:mime-type set to text/x-chdr
File size: 698 bytes
Line 
1/*-------------------------------------------*/
2/* Integer type definitions for FatFs module */
3/*-------------------------------------------*/
4
5#ifndef _FF_INTEGER
6#define _FF_INTEGER
7
8#if 0//def _WIN32 /* FatFs development platform */
9
10#include <windows.h>
11#include <tchar.h>
12
13#else /* Embedded platform */
14#ifndef _WINNT_
15/* This type MUST be 8 bit */
16typedef unsigned char BYTE;
17
18/* These types MUST be 16 bit */
19typedef short SHORT;
20typedef unsigned short WORD;
21typedef unsigned short WCHAR;
22
23/* These types MUST be 16 bit or 32 bit */
24typedef int INT;
25typedef unsigned int UINT;
26
27/* These types MUST be 32 bit */
28typedef long LONG;
29typedef unsigned long DWORD;
30#endif
31#endif
32
33#endif
Note: See TracBrowser for help on using the repository browser.