Cut and paste this URL to share the unmodified register and value:
https://regviz.com/r/stm32/stm32g4/STM32G474/HRTIM_TIME/CPT1ER#0x0
Timerx Capture 1 Register
Timerx Capture 1 value
Timerx Capture 1 Direction status
https://github.com/modm-io/cmsis-svd-stm32