代码搜索结果
找到约 10,000 项符合
USB 的代码
usb.c
#include "usb.h"
#define USBCS PORTD |=_BV(PD7) |_BV(PD6) |_BV(PD5) ; PORTB |=_BV(PB7)//(PORTD |=_BV(PD7) |_BV(PD6) |_BV(PD5) )//; ( PORTB |=_BV(PB7)))
uchar i;
//******************************
usb.h
#ifndef USB_H
#define USB_H
#include "common.h"
//**************************************
#ifndef TRUE
#define TRUE 1
#define FALSE 0
#endif
//**************************************
/* ***
usb.c
#include "def.h"
#include "2410addr.h"
#include "2410lib.h"
#include "timer.h"
#include "option.h"
#include "2410usb.h"
#include "usblib.h"
#include "usbsetup.h"
#include "usbout.h"
#includ
usb.h
/****************************************************************
NAME: usb.h
DESC: definitions(USB data structure) for USB setup operation.
Because It's h/w independent file, it may be us
usb.lst
C51 COMPILER V7.50 USB 11/27/2005 23:13:40 PAGE 1
C51 COMPILER V7.50, COMPILATION OF MODULE USB
OBJECT MODULE PLACED IN USB
usb.h
/* USB.H File
Created by Computer-lov Date: 2004.7.13
Last edited date 2005.4.16
Copyright (c) 2005 Computer-lov
version 1.1
*/
#ifndef __USB_H__
#define __USB_H__
#define BYTE
usb.c
/* USB.C File
Created by Computer-lov. Date: 2004.9.27
Last edited date: 2005.5.31
Copyright (c) 2005 Computer-lov
version 1.1
*/
#include "AT89C51SND1C.H"
#include "USB.H"
#incl
usb.c
//extern unsigned short send_leave_num;
void stall_ep0(void)
{
D12_SetEndpointStatus(0, 1);
D12_SetEndpointStatus(1, 1);
}
void init_unconfig(void)
{
//unsigned char i;
D12_S
usb.h
/****************************************************************
NAME: usb.h
DESC: definitions(USB data structure) for USB setup operation.
Because It's h/w independent file, it may be us