Fujitsu FSSDC-9B506-EVB 사용자 설명서 - 페이지 18

{카테고리_이름} Fujitsu FSSDC-9B506-EVB에 대한 사용자 설명서을 온라인으로 검색하거나 PDF를 다운로드하세요. Fujitsu FSSDC-9B506-EVB 34 페이지. Fss mb9bf506r ev-board

Fujitsu FSSDC-9B506-EVB 사용자 설명서

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()