Cut and paste this URL to share the unmodified register and value:
https://regviz.com/r/STMicroelectronics/STM32U599/TSC/IOG6CR#0x0
I/O group x counter register
Counter value
https://github.com/cmsis-svd/cmsis-svd-data