AN050
GD32 USBFS&USBHS Firmware Library User Guide
9
2.2.
File structure
Take firmware library of GD32F4xx as an example, include the following four file folders.
Figure 2-2. USBFS Firmware Library Folder
Device file folder include Protocol layer files and device class files, which is required by USB
device.
Figure 2-3. Device folder
Driver folder include register definition, bottom layer driver and USB interrupt handler, which
is used to build device and host application.