spl10.h

来自「凌阳MP3 spSPCA755yuanma」· C头文件 代码 · 共 42 行

H
42
字号
/*============================================================================
Copyright (c) 2001 Sunplus Technology Co., Ltd.
Module Name:          Spl10.H
Abstract:             Module related to SPL10 routine
Environment:          Keil C51 Compiler
Revision History:     11/13/2002    XYQ    created
=============================================================================*/
//--- Key ID of Short Key Press --


#define MSPL10Key_VolUp            	(UCHAR)0x0c //.0x01  
#define MSPL10Key_VolDown          	(UCHAR)0x08 //.0x02  
#define MSPL10Key_Mode          	(UCHAR)0x03 //.     
#define MSPL10Key_Vos         		(UCHAR)0x04 //.
#define MSPL10Key_Menu       		(UCHAR)0x0a //.0x05 
#define MSPL10Key_FF          		(UCHAR)0x06 //.
#define MSPL10Key_Del          		(UCHAR)0x07 //.
#define	MSPL10Key_FR				(UCHAR)0x02 //.0x08 
#define	MSPL10Key_Rec				(UCHAR)0x09 //.
#define MSPL10Key_Pause				(UCHAR)0x05 //.0x0a
#define	MSPL10Key_Repeat			(UCHAR)0x0b //.
#define	MSPL10Key_Stop				(UCHAR)0x01 //.0x0c 
#define	MSPL10Key_Play				(UCHAR)0x0d
//--- Key ID of Long Key Press --
#define MSPL10Key_FF2           	(UCHAR)0x11
#define MSPL10Key_FR2           	(UCHAR)0x12
#define MSPL10Key_PLAYNO        	(UCHAR)0x13
#define MSPL10Key_EQ            	(UCHAR)0x14
#define MSPL10Key_AB            	(UCHAR)0x15
//#define MSPL10Key_Menu          	(UCHAR)0x16
#define MSPL10Key_PowerOff      	(UCHAR)0x17
/**********************
* CONSTANTS           *
**********************/

extern BIT SPL10_WriteLCD(UCHAR tbAddr, UCHAR tbData);
extern BIT SPL10_WaitAck(BIT tbtAck);
extern BIT SPL10_SetMode(UCHAR tbMode);
extern UCHAR SPL10_ReadKey(void);

//#endif 

⌨️ 快捷键说明

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