Cut and paste this URL to share the unmodified register and value:
https://regviz.com/r/stm32/stm32l4/STM32L412/TIM15/OR2#0x0
TIM15 option register 2
BRK BKIN input enable
BRK COMP1 enable
BRK COMP2 enable
BRK BKIN input polarity
BRK COMP1 input polarity
BRK COMP2 input polarity
https://github.com/modm-io/cmsis-svd-stm32