Cut and paste this URL to share the unmodified register and value:
https://regviz.com/r/Keil/AT32F405xx_v2/USB_OTGHS_DEVICE/DOEPTSIZ0#0x0
OTGHS device OUT endpoint-0 transfer size register
Transfer size
Packet count
SETUP packet count
https://github.com/cmsis-svd/cmsis-svd-data