Cut and paste this URL to share the unmodified register and value:
https://regviz.com/r/STMicroelectronics/STM32F7x8/CAN1/ESR#0x0
interrupt enable register
EWGF
EPVF
BOFF
LEC
TEC
REC
https://github.com/cmsis-svd/cmsis-svd-data