Cut and paste this URL to share the unmodified register and value:
https://regviz.com/r/stm32/stm32n6/STM32N645/VENC/VENC_SWREG30#0x0
VENC encoder control register 12
H.264 checkpoint 5 -6 (all format mode)
https://github.com/modm-io/cmsis-svd-stm32