-
其中的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单片机c语言程序和电路原理图以及PCB
校园打铃系统,内带51单片机c语言程序和电路原理图以及PCB-Darlin campus system, with 51 single-chip microcomputer with c language programming and circuit schematics and PCB
- 2022-03-31 23:38:15下载
- 积分:1
-
我上传的是单
本人上传的是 单片机 蜂鸣器奏乐(生日快乐).asm 源代码
-I uploaded is the single-chip buzzer music (happy birthday). Asm source code
- 2022-05-17 00:18:48下载
- 积分: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
-
Telephone the working principle, has ringing circuit, Phone polarity protection...
电话机的工作原理,有振铃电路,电话极性保护电路,还有双音多频发送接收电路-Telephone the working principle, has ringing circuit, Phone polarity protection circuit, as well as send DTMF receiver circuit
- 2022-08-16 16:52:52下载
- 积分:1
-
计算光线传输过程中光脉冲的傅里叶变换及反变换算法
计算光线传输过程中光脉冲的傅里叶变换及反变换算法-Fourier Transformation and Inverse Fourier Transformation
- 2022-03-19 21:26:16下载
- 积分:1
-
18B20在MSP430上测试通过程序,有需要可以下载
18B20在MSP430上测试通过程序,有需要可以下载-18B20――program
- 2022-02-24 10:11:06下载
- 积分:1
-
- 2022-03-25 21:06:46下载
- 积分:1
-
produced using high
利用PWM产生高精度正弦波,从PWM引脚输出的脉冲信号经过简单的低通滤波后,可以得到平滑的正弦波,波的频率可以微调-produced using high-precision sine wave PWM, PWM output pin from the pulse signal through simple low-pass filter, can be smooth sine wave, the wave frequency can be fine-tuned
- 2023-04-05 01:15:02下载
- 积分:1
-
简单的正弦波方波三角波发生器采用Keil C51,12MHz的晶体…
简易正弦波三角波方波发生器
使用keil C51,12MHZ晶振,AT89C2051
-Simple sine wave square wave triangle wave generator using keil C51, 12MHZ crystal, AT89C2051
- 2022-11-16 17:55:03下载
- 积分:1