6 usb host – FUJITSU 32-Bit Microcontroller MB9B500 Series User Manual
Page 19
4.6 USB Host
Hardware Setting
¾
Check if 2,3 of J-USB- and J-USB+ short
¾
Connect with a USB mouse
Flowchart
The following flowchart illuminates the procedure to implement USB host function, which
can catch the position of a USB mouse, it is not a certain flow of a function, but provides
a clue to study and understand the sample code.
Start
Initialize system
clock
Initialize timer
Init USB host
Enumeration
Mouse data
process
Display mouse
data
SystemInit ( )
main ( )
minihost_init( )
USB_Handler ( )
USBF_Handler ( )
get_mouse_data ( )
Main()
Figure 4-9: USB Host Sample Code Flowchart
Usage
1) Make the hardware setting
2) Enable definition “Debug” in the code
3) Run the code.
4) Move the USB mouse, and watch the mouse position in the terminal IO window as
following figure. (Debug viewer window in Keil IDE)
Figure 4-10: USB Mouse Position Display
19
- A6110 (25 pages)
- E8020D (28 pages)
- T3010 (26 pages)
- C-6651 (36 pages)
- LIFEBOOK U810 (176 pages)
- LIFEBOOK C-6XX7 (2 pages)
- T4020D (29 pages)
- V1010 (162 pages)
- C-4120 (120 pages)
- A3110 (31 pages)
- C1110 (2 pages)
- AMILO Pi 2550 (3 pages)
- TeamPoS 7000 (50 pages)
- Lifebook E-6624 (32 pages)
- E-6664 (104 pages)
- B-2562 (35 pages)
- B2610 (35 pages)
- AMILO A1650G (3 pages)
- LIFEBOOK B142 (112 pages)
- LIFEBOOK C2010 (116 pages)
- 1200 (38 pages)
- AMILO Pi 1505 (3 pages)
- T4210 (136 pages)
- Laptop (96 pages)
- B3020 (115 pages)
- A6025 (28 pages)
- V700 (161 pages)
- ErgoPro m664 (98 pages)
- A3040 (23 pages)
- T4220 (136 pages)
- DESKPOWER 6000/SS (79 pages)
- E7010 (28 pages)
- B2620 (34 pages)
- AMILO Pa 2510-25P (2 pages)
- B2630 (31 pages)
- C2330 (30 pages)
- A1010 (14 pages)
- B6220 (128 pages)
- LIFEBOOK C1110 (3 pages)
- C1410 (112 pages)
- A6010 (26 pages)
- 510 (40 pages)
- B3000 (28 pages)
- V3525 (3 pages)