Patent ID: 7243244

Claim:
A microprocessor having an operation mode switching function, comprising: a clock generator circuit for generating a clock signal; a first synchronous circuit operative in synchronism with a first clock signal given thereto; a second synchronous circuit operative in synchronism with a second clock signal given thereto; a third synchronous circuit operative in synchronism with a third clock signal given thereto; a sleep signal generating circuit that produces a sleep signal depending on the operation mode of the microprocessor; a first delay circuit that delays the sleep signal for a first delay time, thereby producing a first delayed sleep signal; a second delay circuit that delays the sleep signal for a second delay time greater than the first delay time, thereby producing a second delayed sleep signal; a first gate disposed between the clock generator circuit and the first synchronous circuit and coupled to the sleep signal generating circuit to produce and control the first clock signal, the first gate suppressing the first clock signal when the sleep signal is active; a second gate disposed between the clock generator circuit and the second synchronous circuit and coupled to the first delay circuit to produce and control the second clock signal, the second gate suppressing the second clock signal when the first delayed sleep signal is active; and a third gate disposed between the clock generator and the third synchronous circuit and coupled to the second delay circuit to produce and control the third clock signal, the third gate suppressing the third clock signal when the second delayed sleep signal is active.