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