制作硬盘MP3的源代码与PCB图

源代码在线查看: usb_task.h

软件大小: 870 K
上传用户: ybsscauc
关键词: MP3 PCB 硬盘 源代码
下载地址: 免注册下载 普通下载 VIP

相关代码

				/*H**************************************************************************
				* NAME:         usb_task.h
				*----------------------------------------------------------------------------
				* Copyright (c) 2003 Atmel.
				*----------------------------------------------------------------------------
				* RELEASE:      snd1c-refd-nf-4_0_3
				* REVISION:     1.8
				*----------------------------------------------------------------------------
				* PURPOSE:
				* This file contains the USB task definition
				*****************************************************************************/
				
				#ifndef _USB_TASK_H_
				#define _USB_TASK_H_
				
				/*_____ I N C L U D E S ____________________________________________________*/
				
				
				/*_____ M A C R O S ________________________________________________________*/
				
				#define USB_WAIT_COMMAND    0                 /* wait command state */
				#define USB_MASS_STORAGE    1                 /* mass storage state */
				
				#define USB_WAIT_NB_RESUME              (8)   /* resume filter count */
				
				
				/*_____ D E F I N I T I O N ________________________________________________*/
				
				
				/*_____ D E C L A R A T I O N ______________________________________________*/
				
				void    usb_task_init (void);
				void    usb_task (void);
				
				#define COMMAND_PASSED                0x00
				#define COMMAND_FAILED                0x01
				#define PHASE_ERROR                   0x02
				
				#endif  /* _USB_TASK_H_ */			

相关资源