-
其中的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
-
单片机用串口控制LED的C程序。相信大家看了后会有收获的
单片机用串口控制LED的C程序。相信大家看了后会有收获的-Single-chip LED with Serial Control of C procedures. I believe everyone will be harvested after reading
- 2022-02-13 22:14:03下载
- 积分:1
-
LG LCD 2.2寸,配LGDP4524的显示驱动程序源代码.
LG LCD 2.2寸,配LGDP4524的显示驱动程序源代码.-LG LCD 2.2 inch, with LGDP4524 display driver source code.
- 2022-05-14 00:51:59下载
- 积分:1
-
192* 64_stn_ks108_ LCD procedures .......................
192*64_stn_ks108_液晶程序-192* 64_stn_ks108_ LCD procedures .......................
- 2022-05-07 03:41:33下载
- 积分:1
-
文档包括LM567单通道红外遥控电路的图形,以及电子技术应用的一些文章,希望有用。...
文档包括LM567单通道红外遥控电路的图形,以及电子技术应用的一些文章,希望有用。-Documents, including single-channel infrared remote control circuit LM567 graphics, as well as a number of applications of electronic technology article, I hope useful.
- 2022-02-01 14:04:03下载
- 积分:1
-
三种单片机的区别,文中详细介绍了三种单片机的区别和使用范围...
三种单片机的区别,文中详细介绍了三种单片机的区别和使用范围-The distinction between three types of MCU, the text describes in detail the distinction between three types of MCU and the use of
- 2022-06-02 12:03:46下载
- 积分:1
-
该书详细的介绍了msp430下载线的制作,并且附带详细的程序
该书详细的介绍了msp430下载线的制作,并且附带详细的程序-The book detailed introduction of the MSP430 to download the production line, and attached to the detailed procedures
- 2023-06-25 02:15:04下载
- 积分:1
-
通过单片机对HT9200进行控制访问,实现电话的DTMF拨号功能
通过单片机对HT9200进行控制访问,实现电话的DTMF拨号功能-Through the single-chip microcomputer to control HT9200 visit realize phone DTMF dialing
- 2022-03-13 08:16:09下载
- 积分:1
-
good thing
好东西,youhaodoxidajiagongxiang-good thing
- 2022-11-06 11:45:03下载
- 积分:1
-
AT24C512中数据的文件系统化管理的文章
AT24C512中数据的文件系统化管理的文章-AT24C512 document systematic data management articles
- 2022-03-31 23:39:58下载
- 积分:1