-
其中的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
-
This is a Ebook. Name is "A introductioin to C" You can learn C programming lang
这是一本电子书。你可以学习C语言并参考这本电子书。
- 2022-01-30 19:30:56下载
- 积分:1
-
pci_express PCB指南
PCI_Express PCB Guidelines
- 2022-10-30 14:45:03下载
- 积分:1
-
常见的来源!
c51 写的常用源码!-common source!
- 2022-08-09 23:17:36下载
- 积分:1
-
51 libraries, a number of cases, learning the basis of single
51程序库,一些例,学51单片机的基础用,-51 libraries, a number of cases, learning the basis of single-chip microcomputer 51, and
- 2022-11-14 06:55:03下载
- 积分:1
-
8bit adc
This program is free software you can redistribute it and/or mod...
8bit adc
This program is free software you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation either version 2, or (at your option) any
later version.-8bit adc
This program is free software you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation either version 2, or (at your option) any
later version.
- 2022-03-16 01:41:10下载
- 积分:1
-
own prepared by a serial port for debugging MCU of a crew under the procedure. V...
自已编写的一个用于调试单片机串口的一个下位机程序。很实用的。-own prepared by a serial port for debugging MCU of a crew under the procedure. Very practical.
- 2022-07-24 19:48:02下载
- 积分:1
-
该方案要求利用凌阳科技,公司SPLC501A液晶模块…
本方案要求利用凌阳科技公司的SPLC501A液晶模组作为显示模块,凌阳16位单片机SPCE061A
作为主控芯片,充分利用SPCE061A精简开发板(简称61板)上面的三个按键,完成一个简易的数
字系统――数字电子钟。
-The program requires the use of Sunplus Technology, Inc. SPLC501A LCD module as the display module, Sunplus 16-bit single-chip microcomputer as the master chip SPCE061A make full use of SPCE061A streamline development board (hereinafter referred to 61 plates) above the three buttons to complete a simple of digital systems- digital electronic clock.
- 2022-08-31 20:20:03下载
- 积分:1
-
avr单片机atmega16,用键盘控制,可显示多种不同的跑马灯程序
avr单片机atmega16,用键盘控制,可显示多种不同的跑马灯程序-avr microcontroller atmega16, keyboard control, can display a wide variety of marquees program
- 2022-03-15 05:07:11下载
- 积分:1
-
本程序是并口FLASH 39sf040读写程序,并给出调用函数.
本程序是并口FLASH 39sf040读写程序,并给出调用函数.-This procedure is a parallel port to read and write FLASH 39sf040 procedures, and gives call function.
- 2022-06-29 05:05:57下载
- 积分:1