⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 type.h

📁 用at91sam7s64+ucos写的mp3播放程序
💻 H
字号:
#ifndef __DATA_TYPE__
#define __DATA_TYPE__

typedef unsigned char      Byte;
typedef unsigned char      BYTE;
typedef unsigned char      byte;
typedef unsigned char      Uchar;
typedef unsigned char      uchar;
typedef unsigned short     Uint16;
typedef unsigned short     WORD;
typedef unsigned short     uint; 
typedef unsigned char      Uint8;
typedef short              Int16;
typedef float              Float16;
typedef unsigned long int  Uint32;
typedef long int           Int32;

typedef unsigned char      INT8U;
typedef unsigned short     INT16U;
typedef unsigned long      INT32U;
typedef unsigned long      DWORD;

typedef unsigned int       BOOL;


#ifndef NULL
#define NULL    ((void *)0)
#endif

#ifndef FALSE
#define FALSE   (0)
#endif

#ifndef TRUE
#define TRUE    (1)
#endif






#define OK    1
#define KO    0


#define LOW(U16)   ((Byte)U16)
#define HIGH(U16)  ((Byte)(U16>>8))


typedef union 
{
  Uint32 l;
  Uint16 w[2];
  Byte   b[4];
} Union32;


typedef union 
{

  Uint16 w;
  Byte   b[2];
} Union16;


#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -