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

📄 mp3.h

📁 dz3000_51.0.0.4.rar
💻 H
字号:

/*++

Copyright (c) 2001 Sunplus Technology Co., Ltd.

Module Name:

        mp3.h

Abstract:

        Header file related to file layer constant definition

Environment:

        Keil C51 Compiler

Revision History:

        10/06/2002      Leeada    created                 

--*/

//------------------------------------------------------------------------------
//Constant
//------------------------------------------------------------------------------
#define K_DirToMP3       (UCHAR)0x01
#define K_DirFromMP3     (UCHAR)0x00

#define K_Play_Song      (UCHAR)0x00
#define K_Previous_Song  (UCHAR)0x01
#define K_Next_Song      (UCHAR)0x02
#define K_Stop_Song      (UCHAR)0x03

extern void MP3_Initialize(void);

//patch4.5@ada@for MP3 variable declaring begin
//extern void MP3_WriteCommandID(UCHAR Cmd,Id);
extern void MP3_WriteCommandID(UCHAR Cmd,UCHAR Id);
//patch4.5@ada@for MP3 variable declaring end

extern void MP3_SetTransferWordLength(USHORT Length,UCHAR Direction);
extern void MP3_WaitMPFCEB1High(void);
extern void MP3_WaitMPSIready(void);
extern void MP3_SendDummyClock(void);
extern void MP3_Write1WordToMP3(UCHAR HighByte,UCHAR LowByte);
extern void MP3_InitTable(void);
extern void MP3_PlayMP3Song(ULONG DramAddr,USHORT FileIndex,USHORT startCluster);

extern xdata UCHAR G_MP3_Volume;

⌨️ 快捷键说明

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