-
其中的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
-
音乐C程序 是一首优美的音乐,可直接下载到51单片机里演揍。...
音乐C程序 是一首优美的音乐,可直接下载到51单片机里演揍。-Music C program is a beautiful music, can be directly downloaded to the MCU 51 years played beat.
- 2023-07-21 17:20:03下载
- 积分:1
-
单片机入门程序,对于开发自己的系统很有帮助。
单片机入门程序,对于开发自己的系统很有帮助。--Source codes for an infrared remote control. It is an entry-level program for SCM.
- 2022-01-30 19:59:36下载
- 积分:1
-
程序可以使用MCP2515
CAN 程序使用MCP2515 由STM32做主芯片控制-CAN program use MCP2515
the mater chip is STM32
- 2022-03-29 20:41:49下载
- 积分:1
-
MOXA 串口驱动编程
MOXA 串口驱动编程-MOXA serial-driven programming
- 2022-06-17 10:43:22下载
- 积分:1
-
foreigners development of the single
外国人开发的单片机网络资料,包含原理图,PCB图,调试程序,就是语言比较难懂,给大家看看作为参考吧-foreigners development of the single-chip microcomputer network information, including drawings, PCB plans, debugging procedures, Language is more difficult, for everyone to look at it as a reference
- 2022-01-25 20:46:30下载
- 积分:1
-
电缆测试程序来测试电缆长度(300m)排序,使用抗
网线测试仪程序,可测试网线长度(300M内),排序,用脉冲反波测试,时间*速度=距离的原理。-Cable tester program to test cable length (300M) with sorting, using anti-wave test pulse, time* speed = distance principle.
- 2022-01-26 14:00:30下载
- 积分:1
-
51单片机控制TC35I无线通信模块的完整Keil C程序,还包含GB2312与Unicode转换,国标汉字、ASC字符显示,串口通信,液晶模块控制等程序。...
51单片机控制TC35I无线通信模块的完整Keil C程序,还包含GB2312与Unicode转换,国标汉字、ASC字符显示,串口通信,液晶模块控制等程序。-51 single-chip wireless communication module TC35i control the integrity of Keil C procedures, also includes GB2312 and Unicode conversion, GB characters, ASC characters display, serial communications, LCD module control procedures.
- 2022-03-13 04:16:53下载
- 积分:1
-
Square wave generation process development platform megal128 iccavr
方波产生程序 megal128 iccavr开发平台 -Square wave generation process development platform megal128 iccavr
- 2023-06-02 22:15:03下载
- 积分:1
-
x5045的相关程序,可以在keil c 上运行
x5045的相关程序,可以在keil c 上运行-X5045 procedures, you can run keil c
- 2022-03-11 01:45:30下载
- 积分:1