We use examples from popular ARM Cortex-M-based microcontrollers, but the concepts apply to various platforms.