The STM32 processors, as members of the Cortex-M3 family, all have
a core system timer which can be used to provide a regular timing “tick.” We
utilize this timer to provide a constant blink rate for our example. The overall
structure of this program is illustrated in Figure 4. The program begins by
including the relevant firmware library headers – in this case for clock and
pin configuration.