5 usb function – FUJITSU 32-Bit Microcontroller MB9B500 Series User Manual
Page 18
4.5 USB Function
Hardware Setting
¾
Check if 1,2 of J-USB- and J-USB+ short
¾
Check J701 (Short: 5V, Open: 3.3V)
¾
Connect with PC via USB cable
Flowchart
The following flowchart illuminates the procedure to implement a USB mouse, it is not a
certain flow of a function, but provides a clue to study and understand the sample code.
Start
Button, USB core,
HID initialization
Check ButtonInit(),
HIDInit()
Check Ext INT7
occurred?
Initial Endpoint 0
Check
EXTI8_15_IRQHandler()
Get Device, HID
description
Enable Endpoint 5
interrupt transfer
Bus reset
Configure
Endpoint 0-5
Device has been
connected with
Host
Check
USB_2_IRQHandler()
Use interrupt transfer to
communicate with host
Check
HidMouseSendReport()
Check
USB_1_IRQHandler()
Figure 4-8: USB Function Sample Code Flowchart
Usage
1) Make the hardware setting.
2) Watch the mouse moving when pressing “Up”, “Down”, “Left”, “Right” buttons.
18
- 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)