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

📄 option.h

📁 DSP+MP3+USB+FAT12的所有源程序(C语言编写)
💻 H
字号:
/*++

Copyright (c) 2004 GoldInfo Technology Co., Ltd.

Module Name:

        option.h

Abstract:

        Header file related to pre-compile option

Environment:

        ccs2.0 IDE

Revision History:

        01/5/2004      Mikal   created

--*/

//*****************************************************************************
// Data type
//*****************************************************************************

// 8-bit
#define CHAR            signed char 
#define UCHAR           unsigned char
#define PCHAR           signed char *
#define PUCHAR          unsigned char *
#define BYTE            unsigned char

// 16-bit
#define SHORT           signed int
#define USHORT          unsigned int
#define PSHORT          signed int *
#define PUSHORT         unsigned int *
#define WORD            unsigned int

// 32-bit
#define LONG            signed long
#define ULONG           unsigned long
#define PLONG           signed long *
#define PULONG          unsigned long *
#define DOUBLEWORD      unsigned long

// boolean
#define FALSE           0
#define TRUE            1


#define  Word32            long  int      
#define  Word16            short int    


#define  UWord32           unsigned long     
#define  UWord16           unsigned int   
#define  UCHAR             unsigned char        


//*****************************************************************************

#define  G_NandFlash_Type    3
#define  G_FAT16_Format      1


#if (G_FAT12_Format==1)

#if (G_NandFlash_Type==1)
#define NandFlash_64MB       1

#else 
#define NandFlash_128MB      2

#endif
#endif 

#if (G_FAT16_Format==1)

#if(G_NandFlash_Type==3)
#define NandFlash_256MB      3

#else 
#define NandFlash_512MB      4

#endif 
#endif


//*****************************************************************************
//usb define mass storage
#define MSDC_OPTION      0x01  
#define G_bChoose_MSDC   0x01

⌨️ 快捷键说明

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