By default, most pins are reset to “Input Floating” – this ensures that
no hardware conflicts will occur when the system is powering up. The firmware
library provides an initialization routine in stm32f10x_gpio.[ch] which may
be used to reconfigure the pins. For example, for the blinking lights we configured
PC9 as a (slow) output as illustrated in Listing 4.1.