ABSTRACT
Cortex-M based microcontrollers integrate the ARM processor core with many pe-
ripheral modules, providing a highly capable single chip solution for different appli-
cations, including motion control, medical instrumentation, test and measurement
equipment, security and surveillance systems, factory automation, automotive and
transportation, gaming, renewable energy, intelligent lighting control, to name a few.
One of the fundamental operations in these applications is to perform digital actuation
or control. Another important aspect is the availability of an interface allowing the
user to interact with the system by configuring parameters and visualizing the system
status. Most of these requirements are fulfilled by using general purpose input-output
(GPIO) interfacing.