Cut and paste this URL to share the unmodified register and value:
https://regviz.com/r/stm32/stm32n6/STM32N645/TIM12/TIM12_CNT#0x0
TIM12 counter
Counter value
UIF Copy
https://github.com/modm-io/cmsis-svd-stm32