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

📄 usb.c

📁 外挂硬盘和FLASH的MP3播放器解决方案
💻 C
字号:
#define _USB_DEFINE

#include <stdio.h>
#include <string.h>
#include <ctype.h>
#include "..\Inc\AT8xC51SND1.h"
#include "..\Inc\GLOBAL.h"
#include "..\Inc\CHIPSOURCE.h"
#include "..\Inc\COMMON.h"
#include "..\Inc\IDEIO.h"
#include "USB.h"

code void (*StandardRequest[])(void) =				//标准请求调用表
{
	USBGetStatus,				//0x00	Get_Status
	USBClearFeature,			//0x01	Clear_Feature
	USBReserved,				//0x02						保留
	USBReserved,				//0x03	Set_Feature			不支持
	USBReserved,				//0x04						保留
	USBSetAddress,				//0x05	Set_Address		
	USBGetDescriptor,			//0x06	Get_Descriptor	
	USBReserved,				//0x07	Set_Descriptor		不支持
	USBGetConfiguration,		//0x08	Get_Configuration
	USBSetConfiguration,		//0x09	Set_Configuration
	USBGetInterface,			//0x0a	Get_Interface
	USBSetInterface,			//0x0b	Set_Interface
	USBReserved,				//0x0c	Synch_Frame			//不支持
};



⌨️ 快捷键说明

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