Cut and paste this URL to share the unmodified register and value:
https://regviz.com/r/stm32/stm32u5/STM32U599/TIM6/SR#0x0
status register
UIF
https://github.com/modm-io/cmsis-svd-stm32