- Category:
- SCM
- Tags:
-
[C/C++]
[源码]
- File Size:
- 14kb
- Update:
- 2012-11-26
- Downloads:
- 0 Times
- Uploaded by:
- wsj333
Description: 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 from the bottom of the auto-complete function (correlation function for unsigned char D12_ReadEndpoint (unsigned char endp, unsigned char len, unsigned char* buf) the corresponding endpoint of 2 and 4), the read data stored in GenEpBuf [] (common endpoint), MainEpBuf [] or EpBuf [] (the main endpoint), the user can use a direct reading.
To Search:
- [test] - usb endpoint testing procedures block tr
- [USBHID] - STM32 USB HID
- [pc_robo] - Beginners program,how to control a robo
- [Pr] - Determine a triangle, and the and the nu
- [USB] - A microcontroller based intelligent inst
File list (Check if you may need any files):
USB430
......\SRC
......\...\chap_9.c
......\...\chap_9.h
......\...\d12ci.c
......\...\d12ci.h
......\...\EPPHAL.C
......\...\epphal.h
......\...\Isr.c
......\...\mainloop.h
......\...\protodma.h
......\...\USB100.H
......\...\usb430.c
......\使用说明.txt