usb.h

来自「一款用C语言写的LCD2USB,包含有软件和硬件源代码,原理图,简单实用.」· C头文件 代码 · 共 29 行

H
29
字号
// ======================================================================// 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 + =
减小字号Ctrl + -
显示快捷键?