Cut and paste this URL to share the unmodified register and value:
https://regviz.com/r/STMicroelectronics/STM32U599/TIM1/ECR#0x0
encoder control register
Index enable
Index direction
First index
Index positioning
Pulse width
Pulse width prescaler
https://github.com/cmsis-svd/cmsis-svd-data