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