代码搜索:USB
找到约 10,000 项符合「USB」的源代码
代码结果 10,000
www.eeworm.com/read/454732/7384296
h usb_register.h
#ifndef _USB_REGISTER_H_
#define _USB_REGISTER_H_
//USB寄存器
///////////////////////////////////////////////////////////////
// USB Core Registers
#define BASE 0x00
#define FADDR BASE
#d
www.eeworm.com/read/454732/7384297
h usb_descreptor.h
#ifndef _USB_DESCREPTOR_H_
#define _USB_DESCREPTOR_H_
//设备描述符
code unsigned char DeviceDesc[18] =
{
18, // bLength
0x01, // bDescriptorType
www.eeworm.com/read/454732/7384299
c usb_setup.c
#include "c8051F320.h"
#include "stdio.h"
#include "intrins.h"
/////////////////////////////
#include "Usb_Descreptor.h"
#include "Usb_FunDec.h"
#include "Usb_Parameter.h"
#include "Usb_Registe
www.eeworm.com/read/454732/7384300
#3 usb_descreptor.#3
#ifndef _USB_DESCREPTOR_H_
#define _USB_DESCREPTOR_H_
//设备描述符
code unsigned char DeviceDesc[18] =
{
18, // bLength
0x01, // bDescriptorType
www.eeworm.com/read/454732/7384301
h usb_fundec.h
#ifndef _USB_FUNDEC_H_
#define _USB_FUNDEC_H_
// USB寄存器读写宏定义
#define URead_Byte(addr,target) USB0ADR = (0x80 | addr); while(USB0ADR & 0x80); target = USB0DAT
#define UWrite_Byte(addr,num) USB0A
www.eeworm.com/read/454732/7384303
lst usb_fundec.lst
C51 COMPILER V7.00 USB_FUNDEC 03/24/2005 20:31:08 PAGE 1
C51 COMPILER V7.00, COMPILATION OF MODULE USB_FUNDEC
OBJECT MODULE PLACED
www.eeworm.com/read/454732/7384304
obj usb_setup.obj
www.eeworm.com/read/454732/7384305
obj usb_parameter.obj
www.eeworm.com/read/454732/7384306
#3 usb_fundec.#3
#ifndef _USB_FUNDEC_H_
#define _USB_FUNDEC_H_
// Function prototypes
// USB寄存器读写
#define URead_Byte(addr,target) USB0ADR = (0x80 | addr); while(USB0ADR & 0x80); target = USB0DAT
#define UWrite_
www.eeworm.com/read/454732/7384307
#1 usb_request.#1
#ifndef _USB_REQUEST_H_
#define _USB_REQUEST_H_
/////////////////////////////////////////////////////////////////////////////////////////////
//标准请求
#define GET_STATUS 0x00