代码搜索结果
找到约 10,000 项符合
USB 的代码
usb.c
#include "usb.h"
CONTROL_DATA_BUFF controldata;
USBFLAG flag;
void ClearFeature()
{
uchar temp;
uchar endp;
temp=controldata.DeviceRequest.bmRequestType&0x1f;
if(temp==0)//设备
{
if
usb.h
#define uchar unsigned char
#define uint unsigned int
//STANDARD REQUEST CODES
#define GET_STATUS 0
#define CLEAR_FEATURE 1
#define SET_FEATURE 3
#define SET_ADDRESS 5
#define GET_DESCRIPT
usb.h
///////////////////////////////////////////////////////
/////////////////for usb ch375/////////////////////////
///////////////////////////////////////////////////////
//命令定义
#define CMD_RESET
usb.h
/*----------------------------------------------------------------------------
* U S B - K e r n e l
*----------------------------------------------------------------------------
* N