usbdisk.h

来自「用89C51SND1C实现MP3播放器的源代码.用KEIL c51编写.」· C头文件 代码 · 共 22 行

H
22
字号

#define	get_status			0x00
#define	clear_feature 		0x01
#define	reserved			0x02
#define	set_feature			0x03

#define	set_address			0x05
#define	get_descriptor		0x06

#define	get_configuration	0x08
#define	set_configuration	0x09
#define	get_interface		0x0a
#define	set_interface		0x0b

void Reserved();
void Ep1Int();
void Ep2Int();

void WriteEp(unsigned char EpNum,unsigned char nLength,unsigned char *Data);
void WriteEpBulk(unsigned char EpNum,unsigned char nLength,unsigned char *Data);

⌨️ 快捷键说明

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