-
其中的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
-
51单片机操作89F0X0系列FLASH存储器的程序
51单片机操作89F0X0系列FLASH存储器的程序-51 89F0X0 Series MCU operating procedures FLASH memory
- 2023-01-24 12:45:03下载
- 积分:1
-
PIC单片机的红外接收信息,弹片
pic 单片机红外接收分析仪的资料,弹片届软件部分,pdf文件格式,请参考使用-pic microcontroller infrared analyzer to receive the information, shrapnel-software segment, pdf format, please refer to the use of
- 2022-04-19 10:34:21下载
- 积分:1
-
此源码基于MAX1898实现智能充电器,可以借鉴
此源码基于MAX1898实现智能充电器,可以借鉴-MAX1898 Intelligent Charger, we can draw on
- 2023-04-15 01:35:04下载
- 积分:1
-
单片机的PS2驱动程序,可以直接运用于键盘通信
单片机的PS2驱动程序,可以直接运用于键盘通信-SCM PS2 drivers, can be directly applied to keyboard communications
- 2022-12-29 12:55:03下载
- 积分:1
-
介绍一款监视器行业用的汉字字符叠加芯片
用于叠加汉字信息于摄像头采集的图像
文件中包括使用说明书,原理图及驱动程序...
介绍一款监视器行业用的汉字字符叠加芯片
用于叠加汉字信息于摄像头采集的图像
文件中包括使用说明书,原理图及驱动程序
- 2022-08-03 13:00:09下载
- 积分:1
-
该实验室c8051f340串口
c8051f340 silcon实验室uart
- 2022-03-26 08:26:50下载
- 积分:1
-
protues仿真!单片机仿真的源代码
protues仿真!单片机仿真的源代码-protues
- 2022-04-18 04:30:20下载
- 积分:1
-
SCM source 3 shows were dynamic scanning example, generic
单片机源程序三位依次显示动态扫描的例子,可以通用-SCM source 3 shows were dynamic scanning example, generic
- 2023-04-04 00:55:03下载
- 积分:1
-
6502内核指令说明,与士兰单片机内核兼容,有需要的朋友可下载参考。...
6502内核指令说明,与士兰单片机内核兼容,有需要的朋友可下载参考。-6502 Kernel command that is compatible with the Kingsland Singlechip kernel, there is a need to refer friends to download.
- 2023-05-30 06:35:03下载
- 积分:1