Embedded Systems: Real-Time Interfacing to Arm Cortex-M Microcontrollers