-
其中的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
-
这是“led广告屏”程序,已经成功调试,希望对大家有用,谢谢!(最好配合51单片机和伟福编译器)...
这是“led广告屏”程序,已经成功调试,希望对大家有用,谢谢!(最好配合51单片机和伟福编译器)-"led advertising screen" program has been successfully tested and we hope to useful, thank you! (Preferably with 51-fu SCM and compiler)
- 2022-09-24 02:10:03下载
- 积分:1
-
此程序是有关红外的程序
mcu用啊他89c52
采用外部中断0接一体化红外接受头038 (就是影碟机上拆得的)
P0 P2接数码管 P0数据 P...
此程序是有关红外的程序
mcu用啊他89c52
采用外部中断0接一体化红外接受头038 (就是影碟机上拆得的)
P0 P2接数码管 P0数据 P2位选
能显示遥控器的系统码及其反码 数据及其反码 (共8位)
实际调试成功 工作稳定
测试红外发光二极管的方法
用2v电源 接红外发光二极管 在摄像头下能看到淡紫偏白的光-This procedure is related to the procedure infrared mcu ah him with 89c52 using external interrupt 0 then the integration of infrared to accept the first 038 (that is player on the demolition of a) P0 P2 then P2 digital tube P0 data bit selection can display the remote control system code and its anti-code data and the anti-code (a total of eight) the actual success of the work of debugging and stability testing of the method of infrared light-emitting diodes with 2v power then infrared light-emitting diode in the camera can see under the white light side lilacinus
- 2022-01-25 18:46:55下载
- 积分:1
-
天祥的所有pic 源程序,非常适合初学者,学期起来,简单容易。...
天祥的所有pic 源程序,非常适合初学者,学期起来,简单容易。-the program,is pic initial learner,is
very helpful,i think you,study,this program,is,good
- 2022-09-29 13:25:03下载
- 积分:1
-
DESCRIPTION This function initializes the pointers in the _pid structure
to...
DESCRIPTION This function initializes the pointers in the _pid structure
to the process variable and the setpoint. *pv and *sp are
integer pointers.-DESCRIPTION This function initializes the pointers in the _pid structure to the process variable and the setpoint.* Pv and* sp are integer pointers.
- 2022-03-18 14:48:59下载
- 积分:1
-
Very good procedures for Oh, Come take a look at everyone, not sure will be sorr...
很好的程序哦,大家快来看看,不看肯定会后悔的-Very good procedures for Oh, Come take a look at everyone, not sure will be sorry
- 2022-04-26 16:55:42下载
- 积分:1
-
新的程序员(FOSS)从国外推出了一个电子,可以读写流行…
这款编程器(非源码)由国外电子网站推出,可以读写常用的51系列单片机,自带处理器,和电脑并口连接,读写速度快,全视窗界面软件,软件直接可运行在WIN9xWINMEWINxpWIN2000中。V3.1版增加了电压控制和增加了D87C51,D87C52单片机支持。编程器支持以下ATMEL单片机-new programmer (FOSS) from abroad launched an electronic, can read and write popular 51 series microcontroller, onboard processor and the computer parallel port connectivity, write speeds, the entire Windows interface software, the software can be run directly in WIN9xWINME WINxp WIN2000 China. V3.1 adds a voltage control and the increased D87C51, D87C52 microcontroller support. Programming support for the following ATMEL MCU
- 2022-03-17 15:15:01下载
- 积分:1
-
nokia5110 48*84 液晶屏开发资料及各单片机例程,希望对大家有帮助...
nokia5110 48*84 液晶屏开发资料及各单片机例程,希望对大家有帮助-nokia5110 48* 84 LCD screen development information and the microcontroller routines, we want to help
- 2022-04-11 19:49:33下载
- 积分:1
-
LED display Chinese characters in the source code, using assembly language is ve...
在LED上显示中文汉字的源代码,采用汇编语言,对于入门者帮助很大。-LED display Chinese characters in the source code, using assembly language is very helpful for beginners.
- 2023-02-22 01:45:03下载
- 积分:1
-
基于51单片机实现UART通信 SPI通信 和IIC通信
基于51单片机实现UART通信 SPI通信 和IIC通信 -Based on 51 single-chip UART communication realize SPI and IIC communications communications
- 2022-03-18 14:58:34下载
- 积分:1