cancel
Showing results for 
Search instead for 
Did you mean: 

What is the reset value of GPIOx_MODER?

CHead
Associate III

According to RM0433 rev 5 section 10.4.1, the reset values are 0xABFFFFFF for port A, 0xFFFFFEBF for port B, and 0xFFFFFFFF for all the others. This appears to agree with the bits shown in the register table at the end of the chapter. However, in the description at the bottom of 10.4.1 is the text “00: Input mode (reset state)�?. So, is the reset state input, or is it analogue, for most pins?

1 ACCEPTED SOLUTION

Accepted Solutions
Khouloud GARSI
Lead II

Hi @CHead​ ,

The Reset state for most of the pins is the Analog mode. We will fix the reference manual accordingly.

Thanks for bringing this point to our attention.

Khouloud.

View solution in original post

2 REPLIES 2

@STOne-32​ @Imen DAHMEN​ @Amel NASRI​ 

Seems to be a copy-n-paste from prior manuals.

Analogue and Input are similar, the former turns off the schmitt trigger into the GPIO_IDR, perhaps reducing the chance for the pin to oscillate.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Khouloud GARSI
Lead II

Hi @CHead​ ,

The Reset state for most of the pins is the Analog mode. We will fix the reference manual accordingly.

Thanks for bringing this point to our attention.

Khouloud.