-
其中的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
-
斜度计的MSP430程序,挺好的程序,大家
斜度计的MSP430程序,挺好的程序,大家-Gradient of MSP430 procedures, very good procedures for U.S.
- 2022-03-04 02:50:42下载
- 积分:1
-
这是简易波形发生器单片机源程序,利用7289和89c51来完成实验,程序简单...
这是简易波形发生器单片机源程序,利用7289和89c51来完成实验,程序简单-This is the simple microcontroller source waveform generator, using 89c51 7289 and to complete experiment, simple
- 2022-04-08 13:32:53下载
- 积分:1
-
本程序是环境监测程序,用于环境的监测,无线发送
本程序是环境监测程序,用于环境的监测,无线发送-she
- 2022-04-18 11:41:29下载
- 积分:1
-
学习例程,共有100例,测试成功,在此上传工大家学习提高
学习例程,共有100例,测试成功,在此上传工大家学习提高-Learning routines, a total of 100 cases, testing the success of workers in this upload them to learn to improve
- 2022-09-23 13:10:03下载
- 积分:1
-
ARM程序,CM12864液晶显示程序,相信很多人都需要它,在LPC2103…
ARM程序,CM12864液晶显示屏程序,相信很多人需要吧,在LPC2103上测试通过。-ARM program, CM12864 LCD process, I believe many people need it, in the LPC2103 on the test.
- 2022-01-26 01:17:14下载
- 积分:1
-
Atmel Uart C51程序(timer1方式)
Atmel Uart C51程序(timer1方式)-Uart (timer1 way)
- 2022-02-15 18:44:51下载
- 积分:1
-
atmel based company mega16 SCM done robot control procedures, Robot used tanks c...
基于atmel公司的mega16单片机做的机器人控制程序,机器人采用坦克履带式小车,有越障,追踪,寻迹等功能-atmel based company mega16 SCM done robot control procedures, Robot used tanks crawler Dolly, the more obstacles, tracking, tracing, and other functions
- 2022-06-02 09:36:42下载
- 积分:1
-
MC9S12DG128B,包含了时间中断、光电检测、舵机控制、电机驱动、实时控制等功能。有相关注释。...
MC9S12DG128B,包含了时间中断、光电检测、舵机控制、电机驱动、实时控制等功能。有相关注释。-MC9S12DG128B, includes a time interrupted, photoelectric detection, steering control, motor-driven, real-time control functions. Relevant Notes.
- 2023-02-01 23:10:04下载
- 积分:1
-
ili9325TFT彩屏驱动器初始化源码
ili9325TFT彩屏驱动器初始化源码-color ili9325TFT drive initialization source
- 2022-02-04 05:22:21下载
- 积分:1