A Fast Tone/Phase Reversal Detector Implemented on DSP