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

📄 main.h

📁 The combined demo is dedicated for S1C33L05, so DMT33L05 should be used to load and run the demo. F
💻 H
字号:
/*************************************************************************
 *
 *  Copyright (C) SEIKO EPSON CORP. 2004
 *  All Rights Reserved
 *
 *  Filename : main.h
 *  Function : 
 *  Revision :
 *                   
 *
 ************************************************************************/
#ifndef _MAIN_H_
#define _MAIN_H_

//------------------------------------------------------------
// macro define
//------------------------------------------------------------
#define STACK_SIZE 				0x4000

#define ID_Tsk_GuiMain     		1   // Gui main task ID
#define ID_Tsk_Idle	     		8   // idle task	

//mailbox ID
#define	ID_MBX_GuiMain		    1	//
#define	ID_MBX_Idle				2	// 

//semphore ID
#define	ID_SEM_FS				1

//command define
#define	USB_ATTACH				0x01	
#define	USB_DETACH				0x02	
//-----------------------------------------------------------	
//	data structure
//-----------------------------------------------------------
typedef	struct
{
	unsigned char	data[8];			/* other transfer data*/
	unsigned char	taskId;				/* source Task ID */
	unsigned char	command;			/* Command ID */
} T_MSG_DATA;	


#define	PY_IDLE 		0x0
#define	PY_PLAY			0x1
#define	PY_PAUSE		0x2

#endif _MAIN_H_

⌨️ 快捷键说明

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