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

📄 datatype.h

📁 atmelsam7s64做mp3解码的源程序
💻 H
字号:
#ifndef __DATA_TYPE__
#define __DATA_TYPE__

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

typedef unsigned char      INT8U;
typedef unsigned int       INT16U;
typedef unsigned long      INT32U;

#define OK    1
#define KO    0

#define TRUE    1
#define FALSE   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;



typedef struct  
{
  Uint16 nb_cylinder;
  Byte   nb_head;
  Byte   nb_sector;
  Byte   nb_hidden_sector;
  Byte   nb_sector_per_cluster;
} s_format;

#endif

⌨️ 快捷键说明

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