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

📄 usb.h

📁 电脑usb转接成I2C口,全套资料,包括电路图和源代码,驱动等等
💻 H
字号:
// ======================================================================// Public interface of the USB driver//// Copyright (C) 2006 Dick Streefland//// This is free software, licensed under the terms of the GNU General// Public License as published by the Free Software Foundation.// ======================================================================#ifndef USB_H#define	USB_Htypedef	unsigned char	byte_t;typedef	unsigned int	uint_t;// usb.cextern	void		usb_init ( void );extern	void		usb_poll ( void );// crc.Sextern	void		crc ( byte_t* data, byte_t len );// application callback functionsextern	byte_t		usb_setup ( byte_t data[8] );extern	void		usb_out ( byte_t* data, byte_t len );extern	byte_t		usb_in ( byte_t* data, byte_t len );#endif	// USB_H

⌨️ 快捷键说明

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