-
其中的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
-
the ATMEL AVR libraries
ATMEL的AVR单片机库文件-the ATMEL AVR libraries
- 2022-08-09 20:49:26下载
- 积分:1
-
内容:1、用于测试的程序四
内容:1、本程序用于测试4相步进电机常规驱动
2、需要用跳帽或者杜邦线把信号输出端和对应的步进电机信号输入端连接起来
3、速度不可以调节的过快,不然就没有力矩转动了
4、按s4(设置成独立按键模式)可以控制正反转 -Contents: 1, the procedure used to test the four-phase stepper motor-driven two conventional, need to jump cap or the signal output line of DuPont and the corresponding stepper motor signal input terminal connected three speed adjustment can not be too fast, Otherwise, there would be no moment of rotation of the four, according to s4 (set to form an independent key mode) can control the positive inversion
- 2022-01-26 08:35:38下载
- 积分:1
-
memory 24c02 I2C Bus Driver (KEIL)
I2C总线存储器24c02驱动程序(KEIL)-memory 24c02 I2C Bus Driver (KEIL)
- 2022-07-25 12:19:19下载
- 积分:1
-
凌阳单片机源代码模块nRF2401无线收发模块…
凌阳单片机nrf2401模块程序源代码,
用于无线收发模块,经测试无误-Sunplus Singlechip nRF2401 source code modules for the wireless transceiver modules, have been tested and accurate
- 2022-08-13 00:48:36下载
- 积分:1
-
用MSP430汇编语言写的发送和接收串行过程…
用MSP430单片机的汇编语言写的串口接发程序-with MSP430 assembly language to write the serial process of sending and receiving
- 2022-08-07 06:30:57下载
- 积分:1
-
可以对microchip的Keeloq编码IC:hcs300
可以对microchip的Keeloq编码IC:hcs300-301解码的源程序-Keeloq the microchip can be encoded on the IC: hcs300-301 of the source decoder
- 2022-04-18 05:11:37下载
- 积分:1
-
这是关于按键显示的基本程序,主芯片仍是51单片机
这是关于按键显示的基本程序,主芯片仍是51单片机-This is on the button to display the basic procedures, main chip is still the single-chip 51
- 2022-06-19 17:47:36下载
- 积分:1
-
好东西共享给大家,液晶显示的1502的,单片机51系列
好东西共享给大家,液晶显示的1502的,单片机51系列-something good for everyone to share, the liquid crystal display of the 1502, the 8031 Series 51
- 2022-02-05 06:58:38下载
- 积分:1
-
AT45D081/AT45DB021/AT45DB0xx驱动程序(C语言)用于大型存储的串行Flash...
AT45D081/AT45DB021/AT45DB0xx驱动程序(C语言)用于大型存储的串行Flash-AT45D081/AT45DB021/AT45DB0xx Driver (C language), used in large-scale storage of Serial Flash
- 2022-05-25 06:45:13下载
- 积分:1