-
其中的usb端口通信已经作为一个模块来使用,用户只需用以下函数就可以对usb端口进行方便地读写:
unsigned char D12_WriteEndpo...
其中的usb端口通信已经作为一个模块来使用,用户只需用以下函数就可以对usb端口进行方便地读写:
unsigned char D12_WriteEndpoint(unsigned char endp, unsigned char len, unsigned char * buf) 此为usb端点输出函数,endp是要进行通信的端点,取值为3(普通端点,最大可一次传输16byte)或5(主端点,最大可一次传输64byte);len为一次输出数据长度;*buf为数据所在位置。
usb端点数据的读操作是由底层函数自动完成的(相关函数为unsigned char D12_ReadEndpoint(unsigned char endp, unsigned char len, unsigned char * buf); 相应端点为2和4),所读到的数据存于GenEpBuf[](普通端点)、MainEpBuf[]或EpBuf[](主端点)中,用户可以直接读取使用。-Usb port communication which has been used as a module, the user can use the following function on the usb port can easily read and write:
unsigned char D12_WriteEndpoint (unsigned char endp, unsigned char len, unsigned char* buf) This is the endpoint usb output function, endp is to communicate the endpoint, the value for 3 (common endpoint, the first transmission maximum 16byte) or 5 ( the main endpoint, the first transmission maximum 64byte) len Length of output data for the first time * buf location for data.
usb endpoint data is read
- 2023-06-14 23:15:04下载
- 积分:1
-
瑞士盛世瑞恩公司的温湿度传感器SHT11的温湿度测量的例子程序。...
瑞士盛世瑞恩公司的温湿度传感器SHT11的温湿度测量的例子程序。- Swiss prosperous times auspicious graciousness company s warm
humidity sensor SHT11 warm humidity survey example procedure.
- 2023-02-21 09:55:02下载
- 积分:1
-
digital clock display procedures and an examination revealed that the procedures...
数字钟的显示程序以及一个检验显示的程序,用在8051或8031-digital clock display procedures and an examination revealed that the procedures used in 8051 or 8031
- 2022-03-18 19:16:20下载
- 积分:1
-
VB平台单片机与PC机串口通信的PC端程序。小巧易用,功能丰富...
VB平台单片机与PC机串口通信的PC端程序。小巧易用,功能丰富-VB Platform single-chip serial communication with the PC-the PC-side program. Small, easy-to-use, feature-rich
- 2022-07-21 07:11:23下载
- 积分:1
-
128 64图形液晶显示程序,直接连接硬件的使用方法…
128×64图形液晶显示程序,采用直接方式的硬件连接方式,可实现图形,文字的显示-128 64 LCD graphics procedures, the use of direct methods of connectivity hardware, graphics, text display
- 2022-08-08 00:38:15下载
- 积分:1
-
关于介绍AVR单片机指令的一本书,挺不错的,在开发单片机上方便查询
关于介绍AVR单片机指令的一本书,挺不错的,在开发单片机上方便查询-AVR on the introduction of a single-chip instruction book, very good, in the development of single-chip to facilitate query
- 2022-06-15 04:45:43下载
- 积分:1
-
man/machine/interface设计开发环境为ICC,可以编译成汇编,直接下栽到嵌入式avr单片机进行控制...
man/machine/interface设计开发环境为ICC,可以编译成汇编,直接下栽到嵌入式avr单片机进行控制-man/machine/interface design and development environment for the ICC, compile a compendium, crashed directly to the embedded microprocessor control avr
- 2022-02-26 11:21:23下载
- 积分:1
-
Program for polling toaster for temperature and writing to standard output.
Program for polling toaster for temperature and writing to standard output.
- 2022-03-12 11:33:55下载
- 积分:1
-
PCF8563 clock chip
PCF8563时钟芯片的驱动 头文件用mega16单片机-PCF8563 clock chip-driven header files using SCM mega16
- 2022-01-23 11:04:31下载
- 积分:1
-
实现T9693C 液晶的51 C源程序
包含划线, 字符,图形,影像功能
实现T9693C 液晶的51 C源程序
包含划线, 字符,图形,影像功能-T9693C LCD realize the source code contains the 51 C line, characters, graphics, video capabilities
- 2022-02-26 14:58:40下载
- 积分:1