The HCS12/9S12: An Introduction to Hardware and Software Interfacing