AT32F425
Series Reference Manual
2022.03.30
Page 19
Ver 2.01
Endpoint initialization on enumeration completion .................... 365
Endpoint initialization on SetAddress command ....................... 365
Endpoint initialization on SetConfiguration/SetInterface command 365
Endpoint activation ............................................................... 365
USB endpoint deactivation ..................................................... 366
Control write transfers (SETUP/Data OUT/Status IN) ............... 366
Control read transfers (SETUP/Data IN/Status OUT) ................ 366
Control transfers (SETUP/Status IN) ................................... 367
Read FIFO packets ........................................................... 367
OUT data transfers ........................................................... 368
IN data transfers ............................................................... 370
Non-periodic (bulk and control) IN data transfers ................. 371
Non-synchronous OUT data transfers ................................. 372
Synchronous OUT data transfers ........................................ 374
Enable synchronous endpoints ........................................... 375
Incomplete synchronous OUT data transfers ....................... 377
Incomplete synchronous IN data transfers ........................... 378
Periodic IN (interrupt and synchronous) data transfers ......... 378
OTGFS control and status registers ............................................. 380
CSR register map ....................................................................... 380
OTGFS register address map ...................................................... 381
OTGFS global registers .............................................................. 385
OTGFS status and control register (OTGFS_GOTGCTL) .......... 385
OTGFS interrupt status control register (OTGFS_GOTGINT) .... 385
OTGFS AHB configuration register (OTGFS_GAHBCFG) .......... 386
OTGFS USB configuration register (OTGFS_GUSBCFG) .......... 386
OTGFS reset register (OTGFS_GRSTCTL) .............................. 387
OTGFS interrupt register (OTGFS_GINTSTS) .......................... 389
OTGFS interrupt mask register (OTGFS_GINTMSK) ................ 392
OTGFS receive status debug read/OTG status read and POP
registers (OTGFS_GRXSTSR / OTGFS_GRXSTSP) .............................. 393
OTGFS receive FIFO size register (OTGFS_GRXFSIZ) ............ 394
OTGFS non-periodic Tx FIFO size (OTGFS_GNPTXFSIZ)/
Endpoint 0 Tx FIFO size registers (OTGFS_DIEPTXF0) ........................ 394
OTGFS non-periodic Tx FIFO size/request queue status register
(OTGFS_GNPTXSTS) ........................................................................ 395
OTGFS general controller configuration register
(OTGFS_GCCFG) .............................................................................. 395