- ページ 18

マザーボード Fujitsu MB9B500 SeriesのPDF ユーザーマニュアルをオンラインで閲覧またはダウンロードできます。Fujitsu MB9B500 Series 34 ページ。 Fss mb9bf506r ev-board

Fujitsu MB9B500 Series ユーザーマニュアル

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.
Check ButtonInit(),
HIDInit()
Check
EXTI8_15_IRQHandler()
Device has been
connected with
Host
Usage
1) Make the hardware setting.
2) Watch the mouse moving when pressing "Up", "Down", "Left", "Right" buttons.
Start
Button, USB core,
HID initialization
Check Ext INT7
occurred?
Initial Endpoint 0
Figure 4-8: USB Function Sample Code Flowchart
18
Bus reset
Configure
Endpoint 0-5
Get Device, HID
description
Enable Endpoint 5
interrupt transfer
Use interrupt transfer to
communicate with host
Check
USB_2_IRQHandler()
Check
HidMouseSendReport()
Check
USB_1_IRQHandler()