A basic application framework for Freescale's S12C MCU family