AN050
GD32 USBFS&USBHS Firmware Library User Guide
62
Figure 6-5. Hid host routine operation diagram
Display position
&button state
Mouse
KeyBoard
HID Host
Support
Mouse & Keyboard
Display the
typed character
Move mouse
Click button
Input
character
Figure 6-6. Routine for mouse-over display of HID host
Figure 6-7. Routine for HID host keyboard display
6.7.2.
MSC HOST
MSC host rountine could be used to identify the U-disk, enumeration course and data transfer
phase is displayed in display screen.