-
其中的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
-
MCU Pwm to produce motor control hardware and software design, appendix to the s...
用单片机产生Pwm来控制电机的硬件和软件设计,附录为源代码!-MCU Pwm to produce motor control hardware and software design, appendix to the source code!
- 2022-03-25 19:32:05下载
- 积分:1
-
24mhz晶振51单片机红外线发射代码,供您参考
24mhz晶振51单片机红外线发射代码,供您参考-24MHz crystal oscillator 51 Singlechip fired infrared codes, for your reference
- 2022-04-15 11:35:16下载
- 积分:1
-
pid控制例程,演示一钟摆运行情况,可方便移植到其它应用
pid控制例程,演示一钟摆运行情况,可方便移植到其它应用-pid control routines, a demonstration run of the pendulum may be convenient to other applications transplant
- 2022-03-02 21:53:57下载
- 积分:1
-
此为标准按键控件的C源代码,此为头文件此控件应用起来比较方便...
此为标准按键控件的C源代码,此为头文件此控件应用起来比较方便-this button controls for the standard C source code, which was the first such document control applications up more convenient
- 2022-09-01 19:05:03下载
- 积分:1
-
HT1621 ASM程序和HT1621的PDF文件资料
HT1621 ASM程序和HT1621的PDF文件资料-HT1621 ASM procedures and HT1621 PDF documents
- 2022-08-13 10:46:24下载
- 积分:1
-
ARM2410AD接口程序,ADS编译,测试没问题对触摸屏有兴趣的初学者可以用...
ARM2410AD接口程序,ADS编译,测试没问题对触摸屏有兴趣的初学者可以用-ARM2410AD interface program, ADS compiler, testing is no problem on the touch screen are interested in the beginners can use
- 2023-06-02 09:40:03下载
- 积分:1
-
51 Single
51单片机 24位AD CS5532读写源码-51 Single-chip 24-bit AD CS5532 to read and write source code
- 2022-08-15 17:45:25下载
- 积分:1
-
单片机的 液晶显示电冰箱稳控器 C语言的 用1602显示,DS18B20测温...
单片机的 液晶显示电冰箱稳控器 C语言的 用1602显示,DS18B20测温-Single-chip LCD controller C refrigerator stable language to use 1602 display, DS18B20 temperature
- 2022-03-17 17:02:32下载
- 积分:1
-
用51单片机控制RTL8019AS实现以太网通讯,不错的东西,有需要的就下吧...
用51单片机控制RTL8019AS实现以太网通讯,不错的东西,有需要的就下吧-MCU control with 51 RTL8019AS Ethernet communications, the good things that are needed on the next it
- 2022-08-10 13:33:49下载
- 积分:1