Cut and paste this URL to share the unmodified register and value:
https://regviz.com/r/stm32/stm32f7/STM32F722/OTG_FS_DEVICE/OTG_FS_DIEPINT2#0x0
device endpoint-2 interrupt register
XFRC
EPDISD
TOC
ITTXFE
INEPNE
TXFE
https://github.com/modm-io/cmsis-svd-stm32