You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

integer.h 817B

1234567891011121314151617181920212223242526272829303132333435363738
  1. /*-------------------------------------------*/
  2. /* Integer type definitions for FatFs module */
  3. /*-------------------------------------------*/
  4. #ifndef _FF_INTEGER
  5. #define _FF_INTEGER
  6. #ifdef _WIN32 /* FatFs development platform */
  7. #include <windows.h>
  8. #include <tchar.h>
  9. typedef unsigned __int64 QWORD;
  10. #else /* Embedded platform */
  11. /* These types MUST be 16-bit or 32-bit */
  12. typedef int INT;
  13. typedef unsigned int UINT;
  14. /* This type MUST be 8-bit */
  15. typedef unsigned char BYTE;
  16. /* These types MUST be 16-bit */
  17. typedef short SHORT;
  18. typedef unsigned short WORD;
  19. typedef unsigned short WCHAR;
  20. /* These types MUST be 32-bit */
  21. typedef long LONG;
  22. typedef unsigned long DWORD;
  23. /* This type MUST be 64-bit (Remove this for ANSI C (C89) compatibility) */
  24. typedef unsigned long long QWORD;
  25. #endif
  26. #endif