Cut and paste this URL to share the unmodified register and value:
https://regviz.com/r/stm32/stm32n6/STM32N645/GPIOB/GPIOB_HWCFGR6#0x0
GPIO port B hardware configuration register 6
MODER register reset value
https://github.com/modm-io/cmsis-svd-stm32