-
其中的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的端口控制以及频率设定
的一个简单程序
- 2022-03-22 03:45:10下载
- 积分:1
-
本程序为应用在Arm7下的Ps2键盘接口程序。避免了因多中断而数据出现错误的情况...
本程序为应用在Arm7下的Ps2键盘接口程序。避免了因多中断而数据出现错误的情况-This procedure is used in ARM7 under the Ps2 keyboard interface program. To avoid interruption caused by more than the case of data error
- 2023-04-15 14:20:04下载
- 积分:1
-
单
《单片机C语言编程与实例》的代码集,可供参考编程用- Single-chip C language programming with examples of the code set is available for reference, programming by
- 2022-03-24 01:34:47下载
- 积分:1
-
单片机做的图片菜单显示,学单片机的好资料,proteus仿真通过,学习的好资料...
单片机做的图片菜单显示,学单片机的好资料,proteus仿真通过,学习的好资料-The single-chip picture menu shows that learning good information on SCM, proteus simulation adoption, learn good information ...
- 2022-02-03 07:19:17下载
- 积分:1
-
Single
时钟单片机汇编程序,可以随意调整时间-Single-chip clock compilation process can be time to adjust. . . .
- 2023-04-15 12:50:04下载
- 积分:1
-
小灯控制程序用51系列
小灯控制程序用51系列-small lights control procedures used 51 Series
- 2022-02-06 11:56:51下载
- 积分:1
-
开发单
单片机开发必不可少的好东西!!8051C语言彻底应用(书)-Essential to develop single-chip good things! ! 8051C thorough application of the language (book)
- 2022-02-10 16:50:53下载
- 积分:1
-
北京青云创新的KCM,kcm06XK的驱动,不过是与MSP430单片机的。
北京青云创新的KCM,kcm06XK的驱动,不过是与MSP430单片机的。-Beijing Qingyun innovative KCM, kcm06XK drive, but with the MSP430.
- 2022-06-19 20:32:59下载
- 积分:1
-
德彪西是新星软件公司(源技术)的HDL开发调试
德彪西是NOVAS软件公司(源码技术)开发的HDL调试工具
- 2022-11-19 08:20:03下载
- 积分:1