-
其中的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
-
SMC1601.C SMC1601或SMC1602液晶用的人很多,成本低,只要十块钱一片,替代LED的好选择...
SMC1601.C SMC1601或SMC1602液晶用的人很多,成本低,只要十块钱一片,替代LED的好选择-SMC1601.C SMC1601 or SMC1602 LCD with many people, low cost, as long as a ten money, a good alternative choice LED
- 2023-06-09 12:05:03下载
- 积分:1
-
基于DS18B20的温度读取和控制炉膛温度,并与…
有关于DS18B20的温度读取,控制电炉的温度,并且带有上下限警报-Read on DS18B20 the temperature and control the temperature of furnace, and with the upper and lower limits alarm
- 2022-02-06 04:13:30下载
- 积分:1
-
自制的一个单片机发送按键代码,另一个单片机接收按键代码的实例....
自制的一个单片机发送按键代码,另一个单片机接收按键代码的实例.-adfadf adf asdf asd fasd fadf sdfasdf asdf sadfsadf asdf asdf d fadf sadfasdf asdfa
- 2022-04-09 19:18:50下载
- 积分:1
-
Atmel 8515 RC5 decoder
Atmel 8515 RC5 decoder
- 2022-01-21 18:29:38下载
- 积分:1
-
基于ucos
基于UCOS-II制作的MP3,把UCOS-II移植到单片机上-based UCOS-II production of MP3, UCOS-II transplant MCU
- 2022-05-05 00:54:23下载
- 积分:1
-
an bunch of computer parallel port data transfer code programmed with C
一个C语言编写的单片机并口数据发送代码-an bunch of computer parallel port data transfer code programmed with C
- 2022-08-15 00:45:50下载
- 积分:1
-
use of this source SCM simulation IIC bus communication, based on the I2C can be...
此源码利用单片机模拟实现IIC总线通信,可以连接基于I2C的硬件调试 -use of this source SCM simulation IIC bus communication, based on the I2C can be connected to the hardware debugging
- 2022-08-15 08:46:49下载
- 积分:1
-
通过延时,控制闪烁的时间,完成基本的控制功能,用于初学者
通过延时,控制闪烁的时间,完成基本的控制功能,用于初学者-Through the delay, the control flashes the time to complete the basic control functions, for beginners
- 2023-01-28 21:10:03下载
- 积分:1
-
128
128-64点阵液晶模块的显示程序带反显平移等功能.rar,非常实用.-128-64 dot-matrix LCD display module procedures with significant anti-translation capabilities. Rar, very practical.
- 2022-07-02 09:53:57下载
- 积分:1