Added wait/stop support for the mcu.