-
其中的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
-
Studied this subject can be stored as a virtual oscilloscope
本课题所研究的可存储虚拟示波器定位为低档型,即在性能上只需满足大多场合的基本应用,努力实现小型化,价格尽可能低廉,这样在财力有限的小用户(电子爱好者、小型企业)中能够普及,在大用户的使用中发挥便携性强的优势,与高档示波器配合使用,互相取长补短。-Studied this subject can be stored as a virtual oscilloscope-type low-grade, that is, in terms of performance on most occasions, only to meet the basic application, and strive to realize miniaturization and low prices as much as possible so that limited financial resources to small users (electronic enthusiasts, small enterprises) can be universal, in the use of large users to play a strong advantage of portability, high-end oscilloscope used in conjunction with each other.
- 2022-03-25 07:46:54下载
- 积分:1
-
Madison Studio 51 MCU development board keyboard
麦迪工作室51单片机开发板键盘的驱动代码。设计了抬键监听机制,防止一次按键多次触发。-Madison Studio 51 MCU development board keyboard-driven code. Designed to raise key monitoring mechanism to prevent a key trigger several times.
- 2022-08-25 23:31:54下载
- 积分:1
-
单片机仿真软件proteus做的蜂鸣器例子,有助于在具备硬件情况下学习单片机...
单片机仿真软件proteus做的蜂鸣器例子,有助于在具备硬件情况下学习单片机-microcontroller simulation software lic do buzzer example, with the help of learning hardware MCU
- 2023-06-25 05:45:04下载
- 积分:1
-
开发板44b0的驱动程序,包括了网卡驱动,实现了FTP、TFTP、UDP以及uclinux...
开发板44b0的驱动程序,包括了网卡驱动,实现了FTP、TFTP、UDP以及uclinux-development board 44b0 of the driver, including the driver of the card and realized the FTP, TFTP, UDP and Basis
- 2022-02-20 16:55:32下载
- 积分:1
-
STC单片机的在线下载功能的ISP原代码
STC单片机的在线下载功能的ISP原代码-STC MCU ISP online download function of the original code
- 2023-05-14 06:05:03下载
- 积分:1
-
PIC16F87X in CAN Communication with the MCP2510 chip through the SPI bus to tran...
PIC16F87X在CAN通信中的应用,与MCP2510芯片通过SPI总线传输数据-PIC16F87X in CAN Communication with the MCP2510 chip through the SPI bus to transfer data
- 2022-03-25 09:23:18下载
- 积分:1
-
64点阵C程序有移动功能具有时间显示,可设置时间,断电保存...
64点阵C程序有移动功能具有时间显示,可设置时间,断电保存-64 dot-matrix C procedures with mobile features the time display can be set-up times, power save
- 2022-01-20 23:59:53下载
- 积分:1
-
Traffic lights, pedestrian crossing the road to that time, protues map and c lan...
交通灯,可控制行人过马路的时间,有protues图和c语言程序-Traffic lights, pedestrian crossing the road to that time, protues map and c language program
- 2022-08-25 18:12:06下载
- 积分:1
-
MSP430 149的4×4键盘扫描程序(中断方式),以及JM12864M的液晶驱动程序,谢谢指教...
MSP430 149的4×4键盘扫描程序(中断方式),以及JM12864M的液晶驱动程序,谢谢指教-MSP430 149 of 4 × 4 keyboard scan program (interrupt mode), as well as LCD driver JM12864M Thank you advice
- 2022-08-03 23:58:25下载
- 积分:1