Shown below are the SPL functions associated with the GPIO module.
Observe the code below. This is the power of the ST’s SPL. The code is written with no traditional
register access. Everything here has a meaningful nomenclature, just like regular naming/words of the
reference manual/comments. There shouldn’t be any issue understanding the code. The code is
almost Arduino-like. Here we are polling an input pin’s state to alter the blink rate of a LED.