GD32F3x0 User Manual
14
23. Universal serial bus full-speed interface (USBFS) ......................................... 589
23.1. Overview .................................................................................................................... 589
23.2. Characteristics .......................................................................................................... 589
23.3. Block diagram ........................................................................................................... 590
23.4. Signal description .................................................................................................... 590
23.5. Function overview .................................................................................................... 590
23.5.1. USBFS clocks and working modes..................................................................................... 590
23.5.2. USB host function ............................................................................................................... 592
23.5.3. USB device function ........................................................................................................... 594
23.5.4. OTG function overview ....................................................................................................... 595
23.5.5. Data FIFO ........................................................................................................................... 596
23.5.6. Operation guide .................................................................................................................. 599
23.6. Interrupts ................................................................................................................... 603
23.7. Register definition .................................................................................................... 605
23.7.1. Global control and status registers ..................................................................................... 605
23.7.2. Host control and status registers ........................................................................................ 626
23.7.3. Device control and status registers .................................................................................... 637
23.7.4. Power and clock control register (USBFS_PWRCLKCTL) ................................................. 661
24. Revision history ................................................................................................ 663