//-----Common Global Variables-----//
#define    SET         1
#define    CLR         0

#define    BIT         bit
#define    BYTE        unsigned char
#define    WORD        unsigned int
#define    DWORD       unsigned long

#define    XBYTE       BYTE volatile xdata

#define    FW_LSB      0x00
#define    FW_MSB      0x01


#define    SELF_POWER
//#define    BUS_POWER_500MA
//#define    BUS_POWER_100MA

//-----Audio Used-----//
#define    SF_48K                                // Sample Frequency
//#define    SF_32K
//#define    SF_24K
//#define    SF_16K
//#define    SF_12K
//#define    SF_8K
//#define    SF_44_1K                              // 44.1K
//#define    SF_22_05K                             // 22.05K

#define    SD_PCM16
//#define    SD_PCM8

#define    SD_SO                                 // Stereo Out
#define    SD_MI                                 // Mono In
//#define    SD_SI                                 // Stereo In
//#define    SD_MO                                 // Mono Out

#define    SI_IIS                                // Serial Interface
        #define    IIS_STD                       // Audio Format ( Stand IIS )
//        #define    IIS_LJF                       // Audio Format ( Left Justified )

//#define    SI_PCM                                // Serial Interface
//        #define    PCM_SSY                       // Audio Format ( Short Sync )
//        #define    PCM_LSY                       // Audio Format ( Long Sync )

//#define    SI_SD16                               // Serial Interface - Data Length
#define    SI_SD32                               // Serial Interface - Data Length

//#define    LINE_IN_MODE                          // Stereo In
#define    MIC_IN_MODE                           // Mono In

#define    PM_DTP                                // Play Mode -> Direct Play
//#define    PM_LBP                                // Play Mode -> Loop Back Play