Cut and paste this URL to share the unmodified register and value:
https://regviz.com/r/STMicroelectronics/STM32L15xxE/I2C1/CR2#0x0
CR2
Peripheral clock frequency
Error interrupt enable
Event interrupt enable
Buffer interrupt enable
DMA requests enable
DMA last transfer
https://github.com/cmsis-svd/cmsis-svd-data