C code for MC9S12C128 microcontroller based morse code detector