-
其中的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
-
nRF2401 chip information handbook to facilitate the development of wireless modu...
nRF2401芯片资料手册,便于开发无线模块-nRF2401 chip information handbook to facilitate the development of wireless module
- 2022-01-28 15:34:52下载
- 积分:1
-
pic microcontroller projects, including voltage sampling, CAN bus communication,...
pic单片机工程,包括电压采样,CAN总线通信等功能。-pic microcontroller projects, including voltage sampling, CAN bus communication, and other functions.
- 2022-05-10 21:12:24下载
- 积分:1
-
atmel89c51cc03单片机的can通信,调试通过
atmel89c51cc03单片机的can通信,调试通过-atmel89c51cc03 SCM can communication, debugging through
- 2023-09-09 00:25:03下载
- 积分:1
-
Based on Ultrasonic Range Finder (including schematics, source code and related...
基于超声波的测距仪(包括原理图,程序源码与相关调试说明,以及一些参考资料,总之,开发超声波测距仪的一整套资料)-Based on Ultrasonic Range Finder (including schematics, source code and related procedures for debugging instructions, and some reference materials, in short, develop a set of ultrasonic range finder data)
- 2022-02-06 12:27:19下载
- 积分:1
-
bd3201
bd3201-14A(DRE)提供的高性能数字音频信号处理能力,可实现紧凑的,易用
的,高质量的混响效果解决方案-bd3201-14A (DRE) provides high-performance digital audio signal processing capabilities, enabling compact, easy to use, high-quality reverb solution
- 2022-02-03 03:21:12下载
- 积分:1
-
让实验板上八个数码管循环显示0
让实验板上八个数码管循环显示0-9十个数-Let the experiment on-board digital control cycle showed that eight of ten the number of 0-9
- 2022-03-19 08:20:40下载
- 积分:1
-
基于avr模拟电梯控制系统 包括源码电路图
基于avr模拟电梯控制系统 包括源码电路图-Avr-based elevator control system consists of analog source circuit
- 2022-10-22 04:45:03下载
- 积分:1
-
Ecan canopen协议的demo代码 Ecan canopen协议的demo代码
Ecan canopen协议的demo代码 Ecan canopen协议的demo代码-Ecan canopen agreement demo code Ecan canopen agreement demo code
- 2022-03-02 18:29:13下载
- 积分:1
-
基于单片机的电机正反转C语言源代码,方便大家在控制是使用
基于单片机的电机正反转C语言源代码,方便大家在控制是使用-Based on single-chip motor positive C-language source code to facilitate the U.S. in controlling the use of
- 2022-11-21 21:20:03下载
- 积分:1