RM0440 Rev 4 359/2126
RM0440 General-purpose I/Os (GPIO)
368
9.3.15 Using PB8 as GPIO
PB8 may be used as boot pin (BOOT0) or as a GPIO. Depending on the nSWBOOT0 bit in
the user option byte, it switches from the input mode to the analog input mode:
• After the option byte loading phase if nSWBOOT0 = 1.
• After reset if nSWBOOT0 = 0.
9.3.16 Using PG10 as GPIO
PG10 may be used as reset pin (NRST) or as a GPIO. Depending on the NRST_MODE bits
in the user option byte, it switches to those mode:
• Reset input/output: default at power-on reset or after option bytes loading
NRST_MODE = 3
• Reset input only: after option bytes loading NRST_MODE = 1
• GPIO PG10 mode: after option bytes loading NRST_MODE = 2
See description on the NRST pin in Section 7.1.2: System reset