KR20000001490A - power-CONSUMPTION PREVENTION APPARATUS AND METHOD IN ELECTRONIC DEVICE - Google Patents
power-CONSUMPTION PREVENTION APPARATUS AND METHOD IN ELECTRONIC DEVICE Download PDFInfo
- Publication number
- KR20000001490A KR20000001490A KR1019980021773A KR19980021773A KR20000001490A KR 20000001490 A KR20000001490 A KR 20000001490A KR 1019980021773 A KR1019980021773 A KR 1019980021773A KR 19980021773 A KR19980021773 A KR 19980021773A KR 20000001490 A KR20000001490 A KR 20000001490A
- Authority
- KR
- South Korea
- Prior art keywords
- signal
- logic
- outputs
- sleep mode
- calculating means
- Prior art date
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/24—Resetting means
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3206—Monitoring of events, devices or parameters that trigger a change in power modality
Abstract
Description
본 발명은 전자기기에 관한 것으로, 특히 전자기기에 있어서의 전원 소모 방지장치 및 방법에 관한 것이다.The present invention relates to an electronic device, and more particularly, to an apparatus and method for preventing power consumption in an electronic device.
이하, 종래 기술에 따른 전자기기에 있어서의 전원 소모 방지방법에 대하여 첨부한 도면을 참조하여 설명하면 다음과 같다.Hereinafter, a method for preventing power consumption in an electronic device according to the prior art will be described with reference to the accompanying drawings.
도 1 은 종래 기술에 따른 전자기기에 있어서의 전원 소모 방지방법의 천이상태를 나타낸 도면이다.1 is a view showing a transition state of a method for preventing power consumption in an electronic device according to the prior art.
먼저, 전원을 온(ON)시키면 CPU는 익셉션 상태(Exception state)에서 익셉션 처리 과정(Exception)을 거쳐 액티브 상태(Active state)로 진입하여 정상적인 동작을 수행하여 일련의 프로그램을 수행한다.First, when the power is turned on, the CPU enters an active state through an exception process in the exception state and performs a normal operation to execute a series of programs.
여기서 액티브 상태(Active state)는 상기 익셉션 상태(Exception state)에서 액티브 상태(Active state)로의 천이시 에러가 발생하게 되면 이에 따라 다시 액티브 상태(Active state)로 천이하기 위한 익셉션 소오스(Exception source)를 출력한다.Here, the active state is an exception source for transitioning back to the active state when an error occurs when the transition from the exception state to the active state occurs. Output
이후 CPU는 소정 시간동안 인스트럭션(Instruction)이 없다면 전원 소모를 줄이기 위한 슬립 모드(Sleep mode)로 천이하기 위한 인스트럭션(Instruction)을 출력한 후 슬립 모드(Sleep mode)로 천이하여 동작을 멈추고 레지스터(Register)나 캐쉬(Cache)의 내용을 이전 상태로 유지한다.After that, if there is no instruction for a certain time, the CPU outputs an instruction to transition to sleep mode to reduce power consumption, and then transitions to sleep mode to stop operation and registers. Or cache the contents of the previous state.
이와 같은 상태에서 외부로부터 인터럽트 또는 리셋이 발생하면 슬립 모드(Sleep mode)에서 익셉션 상태(Exception state)로 천이한 후 익셉션 처리 과정(Exception)을 수행하여 액티브 상태(Active state)로 천이한다.In this state, when an interrupt or reset is generated from the outside, the state transitions to the exception state in the sleep mode and then the exception process is performed to transition to the active state.
그리고 CPU는 소정 시간동안 인스트럭션(Instrution)이 없다면 전원 소모를 줄이기 위해 스톱 모드(Stop mode)로 천이하여 동작을 멈추고 주변 기기의 기능도 멈추게 된다.And if there is no instruction (Instrution) for a certain period of time, the CPU goes to the stop mode (Stop mode) to reduce power consumption and stops the operation of peripheral devices.
아울러 위상 동기 루프(PLL)과 오실레이터(oscilliator) 등의 기능도 멈추게 된다.In addition, functions such as phase locked loops (PLL) and oscillators will stop.
이와 같은 상태에서 외부로부터 리셋(Reset) 또는 스톱 모드 해제 요청 입력(Stop mode release request input)이 발생하면 스톱 모드(Stop mode)에서 익셉션 상태(Exception state)로 천이한 후 CPU는 익셉션 처리 과정(Exception state)을 수행하여 액티브 상태(Active state)로 천이한다.In this state, when a reset or stop mode release request input occurs from the outside, the CPU transitions to the exception state in the stop mode and then the exception processing process (Exception). state) to transition to the active state.
그러나 종래 기술에 따른 전자기기에서의 전원 소모 방지방법은 스톱 모드(Stop mode)에서 익셉션 상태(Exception state)를 거쳐야만 액티브 상태(Active state)로 복귀가 이루어지게 된다.However, the method for preventing power consumption in the electronic device according to the related art is returned to the active state only through an exception state in the stop mode.
따라서 본 발명은 상기와 같은 문제점을 해결하기 위해 안출한 것으로서, 슬립 모드(Sleep mode) 및 스톱 모드(Stop mode)로의 천이 및 스톱 모드(Stop mode)에서 액티브 상태(Active state)로 복귀의 과정을 다양화하도록 한 전자기기에서의 전원 소모 방지장치를 제공하는데 그 목적이 있다.Therefore, the present invention has been made to solve the above problems, the process of the transition to the sleep mode (Sleep) and stop mode (Stop mode) and return to the active state (Stop mode) to the active state (Stop mode) It is an object of the present invention to provide a device for preventing power consumption in an electronic device to be diversified.
또한, 상기와 같은 장치에 상응하는 전자기기에서의 전원 소모 방지방법을 제공하는데 그 목적이 있다.Another object of the present invention is to provide a method for preventing power consumption in an electronic device corresponding to the above apparatus.
도 1 은 종래 기술에 따른 전자기기에 있어서의 전원 소모 방지방법의 천이상태를 나타낸 도면1 is a view showing a transition state of a method for preventing power consumption in an electronic device according to the prior art;
도 2 는 본 발명에 따른 전자 기기에 있어서의 전원 소모 방지장치의 구성을 나타낸 도면2 is a diagram illustrating a configuration of an apparatus for preventing power consumption in an electronic device according to the present invention.
도 3 은 도 2 의 천이상태를 나타낸 도면3 is a view showing the transition state of FIG.
도 4 는 도 2 의 정지 모드시 각 부의 파형을 나타낸 도면FIG. 4 is a diagram illustrating waveforms of respective parts in the stop mode of FIG. 2. FIG.
도 5 는 도 2 의 정지 모드 해제시 각 부의 파형을 나타낸 도면FIG. 5 is a diagram illustrating waveforms of each unit when the stop mode of FIG. 2 is released;
도 6 은 도 2 의 인터럽트 발생시 예외 상태의 각 부 파형을 나타낸 도면FIG. 6 is a diagram illustrating each sub waveform in an exception state when an interrupt occurs in FIG. 2; FIG.
상기와 같은 목적을 달성하기 위한 본 발명에 따른 전자기기에서의 전원 소모 방지장치의 특징은, 레지스터와 슬립 모드 제어부로 구성된 전자기기에서의 전원 소모 방지장치에 있어서, 리셋바(RESETB)신호와 스톱 모드 해제 요청 입력(STOPRELB)을 논리 연산하여 그 결과신호를 출력하는 제 1 논리 연산수단과, 상기 레지스터와 슬립 모드 제어부의 신호 및 주변 기기 구동 클럭(PERI CLK)을 논리 연산하여 그 결과신호(STOPB)를 출력하는 제 2 논리 연산수단과, 상기 제 2 논리 연산수단의 신호(STOPB)에 따라 오실레이터의 신호(CLKI)를 논리 연산하여 그 결과신호를 출력하는 제 3 논리 연산수단과, 상기 슬립 모드 제어부의 신호(CLOCKFB)에 따라 제 3 논리 연산수단의 신호를 논리 연산하여 그 결과신호를 출력하는 제 4 논리 연산수단과, 셋팅(setting)된 신호에 따라 상기 제 3 논리 연산수단의 신호를 논리 연산하여 그 결과신호를 출력하는 제 5 논리 연산수단을 포함하여 구성되는데 있다.Features of the power consumption preventing device in the electronic device according to the present invention for achieving the above object, in the power consumption prevention device in the electronic device consisting of a register and a sleep mode control unit, the reset bar (RESETB) signal and the stop A first logical operation means for performing a logic operation on the mode release request input STOPRELB and outputting a result signal, and a result of the logic operation on the signal of the register and the sleep mode controller and the peripheral device driving clock PERI CLK. A second logic calculating means for outputting the?), A third logic calculating means for performing a logic operation on the signal CLKI of the oscillator according to the signal STOPB of the second logic calculating means, and outputting a resultant signal, and the sleep mode. The fourth logic operation means for performing a logic operation on the signal of the third logic operation means according to the signal CLOCKFB of the controller and outputting the resultant signal, and according to the set signal And fifth logic calculating means for logically calculating the signal of the third logical calculating means and outputting the resultant signal.
상기와 같은 목적을 달성하기 위한 본 발명에 따른 전자기기에서의 전원 소모 방지방법의 특징은, 익셉션 상태(Exception state)에서 액티브 상태(Active state)로 천이하거나 스톱 모드(Stop mode)에서 상기 익셉션 상태(Exception state)로 복귀가 이루어지는 전자기기에서의 전원 소모 방지방법에 있어서, 상기 익셉션 상태(Exception state)에서 레지스터를 세팅하여 슬립 모드(Sleep mode)로 천이하고 인터럽트나 리셋이 발생하면 상기 익셉션 상태(Exception state)로 복귀하는 단계와, 상기 슬립 모드(Sleep mode)에서 소정 시간이 경과하면 자동으로 스톱 모드(Stop mode)로 천이한 후 상기 스톱 모드(Stop mode) 해제 핀이 조작되면 슬립 모드(Sleep mode)로 복귀하는 단계로 이루어지는데 있다.A characteristic of the method for preventing power consumption in an electronic device according to the present invention for achieving the above object is a transition from an exception state to an active state or an exception state in a stop mode. In a method for preventing power consumption in an electronic device in which an error state is returned, the register state is set in the exception state to transition to a sleep mode, and an interrupt or reset occurs when an interrupt or reset occurs. Returning to the exception state, and automatically transitions to the stop mode after a predetermined time has elapsed in the sleep mode, and then sleeps when the stop mode release pin is operated. mode).
이하, 본 발명에 따른 전자기기에서의 전원 소모 방지장치 및 방법의 바람직한 실시예에 대하여 첨부한 도면을 참조하여 설명하면 다음과 같다.Hereinafter, a preferred embodiment of an apparatus and method for preventing power consumption in an electronic device according to the present invention will be described with reference to the accompanying drawings.
도 2 는 본 발명에 따른 전자 기기에 있어서의 전원 소모 방지장치의 구성을 나타낸 도면으로서, 리셋바(RESETB)신호와 스톱 모드 해제 요청 입력(STOPRELB)을 논리 연산하여 그 결과신호를 출력하는 제 1 논리 연산부(110)와, 슬립 모드(Sleep mode) 영역과 스톱 모드(Stop mode) 영역으로 이루어진 레지스터(120)와, 상기 레지스터(120)의 신호에 따라 슬립 모드(Sleep mode)로 제어하기 위한 신호(CLOCKFB)를 출력하는 슬립 모드 제어부(130)와, 상기 레지스터(120)와 슬립 모드 제어부(130)의 신호 및 주변 기기 구동 클럭(PERI CLK)을 논리 연산하여 그 결과신호(STOPB)를 출력하는 제 2 논리 연산부(140)와, 상기 제 2 논리 연산부(140)의 신호(STOPB)에 따라 오실레이터의 신호(CLKI)를 논리 연산하여 그 결과신호를 출력하는 제 3 논리 연산부(150)와, 상기 슬립 모드 제어부(130)의 신호(CLOCKFB)에 따라 제 3 논리 연산부(160)의 신호를 논리 연산하여 그 결과신호를 출력하는 제 4 논리 연산부(160)와, 셋팅(setting)된 신호에 따라 제 3 논리 연산부(150)의 신호를 논리 연산하여 그 결과신호를 출력하는 제 5 논리 연산부(170)와, 상기 제 4 논리 연산부(160)의 신호에 따라 코어 클럭(CORECLK)을 발생하는 코어 클럭 발생부(180)와, 상기 제 5 논리 연산부(170)의 신호에 따라 주변 기기의 구동 클럭(PERI CLK)을 발생하는 주변 기기 구동 클럭 발생부(190)로 구성된다.FIG. 2 is a diagram illustrating a configuration of an apparatus for preventing power consumption in an electronic device according to an embodiment of the present invention, wherein a reset bar signal and a stop mode release request input STOPRELB are logically operated to output a result signal. A signal for controlling a sleep mode according to a signal of the register 120 including a logic operation unit 110, a sleep mode region and a stop mode region, and a signal of the register 120. And a logic operation of the sleep mode controller 130 for outputting (CLOCKFB), the signals of the register 120 and the sleep mode controller 130, and the peripheral device driving clock PERI CLK, and outputting the resultant signal STOPB. A third logic operator 150 for performing a logic operation on the signal CLKI of the oscillator according to the second logic operator 140 and the signal STOPB of the second logic operator 140, and outputting a resultant signal; To the signal CLOCKFB of the sleep mode controller 130. Accordingly, the fourth logical operation unit 160 for performing a logical operation on the signal of the third logical operation unit 160 and outputting the resultant signal, and performing a logical operation on the signal of the third logical operation unit 150 according to the set signal. As a result, a fifth logic operator 170 for outputting a signal, a core clock generator 180 for generating a core clock CORECLK according to the signal of the fourth logic operator 160, and the fifth logic operator ( The peripheral device driving clock generator 190 generates a driving clock PERI CLK of the peripheral device according to the signal of 170.
상기 제 1 논리 연산부(110)는 리셋바(RESETB)신호와 스톱 모드 해제 요청 입력(STOPRELB)을 논리곱하여 그 결과신호를 출력하는 앤드 게이트(110a)로 구성된다.The first logic operation unit 110 includes an AND gate 110a that logically multiplies the reset bar signal and the stop mode release request input STOPRELB and outputs the resultant signal.
상기 제 2 논리 연산부(140)는 상기 슬립 모드 제어부(130)의 신호(CLOCKFB)와 레지스터(120)의 스톱 모드 영역의 신호를 부정 논리합하여 그 결과신호를 출력하는 노어 게이트(140a)와, 상기 노어 게이트(140a)의 신호를 인버팅하여 출력하는 제 1 인버터(140b)와, 주변 기기의 클럭을 인버팅하여 출력하는 제 2 인버터(140c)와, 상기 주변 기기 구동 클럭(PERI CLK)과 제 2 인버터(140c)에 따라 상기 제 1 인버터(140b)의 신호를 인버팅하여 출력하는 제 3 인버터(140d)와, 상기 제 1 논리 연산부(110)의 신호와 제 2 인버터(140c)의 신호를 부정 논리곱하여 그 결과신호(STOPB)를 출력하는 제 1 낸드 게이트(140e)와, 제 1 상기 낸드 게이트(140e)의 신호를 피드백하여 인버팅한 후 그 결과신호를 출력하는 제 4 인버터(140f)와, 상기 주변 기기 구동 클럭(PERI CLK)와 제 2 인버터(140c)에 따라 턴-온(turn-on)되어 상기 제 1 낸드 게이트(150e)의 입력단으로 출력하는 전송 게이트(140g)로 구성된다.The second logic operation unit 140 performs a negative OR on the signal CLOCKFB of the sleep mode control unit 130 and the signal of the stop mode region of the register 120 and outputs a result signal of the NOR gate 140a. A first inverter 140b for inverting and outputting a signal of the NOR gate 140a, a second inverter 140c for inverting and outputting a clock of a peripheral device, the peripheral device driving clock PERI CLK, and a first inverter 140b. The third inverter 140d for inverting and outputting the signal of the first inverter 140b according to the second inverter 140c, and the signal of the first logic operation unit 110 and the signal of the second inverter 140c are outputted. NAND gate 140e that performs a negative AND and outputs the resultant signal STOPB, and a fourth inverter 140f that feeds back and inverts the signal of the first NAND gate 140e and outputs the resultant signal. And turn-on according to the peripheral device driving clock PERI CLK and the second inverter 140c. and a transfer gate 140g which is urn-on and outputs to the input terminal of the first NAND gate 150e.
상기 제 3 논리 연산부(150)는 오실레이터의 클럭과 상기 제 2 논리 연산부(140)의 신호(STOPB)를 부정 논리곱하여 그 결과신호를 출력하는 제 2 낸드 게이트(150a)로 구성된다.The third logic operator 150 includes a second NAND gate 150a that negatively multiplies the clock of the oscillator and the signal STOPB of the second logic operator 140 and outputs a resultant signal.
상기 제 4 논리 연산부(160)는 상기 슬립 모드 제어부(130)의 신호(CLOCKFB)에 따라 상기 제 3 논리 연산부(150)의 신호를 부정 논리곱하여 그 결과신호를 출력하는 제 3 낸드 게이트(160a)로 구성된다.The fourth logic operator 160 negatively multiplies the signal of the third logic operator 150 according to the signal CLOCKFB of the sleep mode controller 130 and outputs a resultant signal. It consists of.
상기 제 5 논리 연산부(170)는 셋팅(setting)된 신호에 따라 상기 제 3 논리 연산부(150)의 신호를 부정 논리곱하여 그 결과신호를 출력하는 제 4 낸드 게이트(170a)로 구성된다.The fifth logic operator 170 includes a fourth NAND gate 170a that negatively multiplies the signal of the third logic operator 150 according to a set signal and outputs a resultant signal.
도 3 은 도 2 의 천이상태를 나타낸 도면이고, 도 4 는 도 2 의 정지 모드시 각 부의 파형을 나타낸 도면이고, 도 5 는 도 2 의 정지 모드 해제시 각 부의 파형을 나타낸 도면이고, 도 6 은 도 2 의 인터럽트 발생시 예외 상태의 각 부 파형을 나타낸 도면이다.FIG. 3 is a diagram illustrating a transition state of FIG. 2, FIG. 4 is a diagram illustrating waveforms of each unit in the stop mode of FIG. 2, FIG. 5 is a diagram of waveforms of each unit when the stop mode of FIG. 2 is released. FIG. 2 is a diagram illustrating each sub waveform in an exceptional state when an interrupt occurs in FIG. 2.
이와 같이 구성된 본 발명에 따른 전자기기에서의 전원 소모 방지장치 및 방법에 대하여 첨부한 도면을 참조하여 상세히 설명하면 다음과 같다.An apparatus and method for preventing power consumption in an electronic device according to the present invention configured as described above will be described in detail with reference to the accompanying drawings.
먼저, 익셉션 상태(Exception state)에서 슬립 모드(Sleep mode)로 천이하기 위하여 레지스터(120)의 슬립 모드 영역을 "1"로, 스톱 모드 영역을 "0"으로 세팅하면 슬립 모드 제어부(130)는 CLOCKFB신호로 "0"을 출력한다.First, in order to transition from an exception state to a sleep mode, when the sleep mode region of the register 120 is set to "1" and the stop mode region is set to "0", the sleep mode controller 130 Outputs "0" with the CLOCKFB signal.
그리고 제 1 논리 연산부(110)는 RESETB신호인 "1"과 STOPRELB신호인 "0"을 논리 연산하여 그 결과신호로 "0"을 출력한다.The first logical operation unit 110 performs a logical operation on the RESETB signal "1" and the STOPRELB signal "0" and outputs "0" as a result signal.
즉 제 1 논리 연산부(110)내 제 1 앤드 게이트(110a)는 상기 RESETB신호인 "1"과 STOPRELB신호인 "0"을 논리곱하여 그 결과신호로 "0"을 출력한다.That is, the first AND gate 110a in the first logic calculator 110 multiplies the RESETB signal "1" and the STOPRELB signal "0" and outputs "0" as a result signal.
그러면 제 2 논리 연산부(140)는 상기 제 1 논리 연산부(110)의 신호와 주변 기기 구동 클럭(PERICLK)에 따른 상기 레지스터(110)와 슬립 모드 제어부(120)의 신호를 논리 연산하여 STOPB신호로 "1"을 출력한다.Then, the second logic operation unit 140 performs a logic operation on the signal of the register 110 and the sleep mode control unit 120 according to the signal of the first logic operation unit 110 and the peripheral device driving clock PERICLK and converts it into a STOPB signal. Outputs "1".
즉 제 2 논리 연산부(140)내 노어 게이트(140a)는 상기 슬립 모드 제어부(130)의 "0"과 상기 레지스터(120)의 스톱 모드 영역에서 출력된 신호를 부정 논리합하여 "1"을 출력하고 제 1 인버터(140b)는 이를 인버팅하여 "0"을 출력한다.That is, the NOR gate 140a in the second logic operation unit 140 outputs "1" by negating the signal output from the "0" of the sleep mode controller 130 and the stop mode region of the register 120. The first inverter 140b inverts this and outputs "0".
아울러 제 2 인버터(140c)는 상기 주변 기기 구동 클럭(PERICLK)을 인버팅하여 출력한다.In addition, the second inverter 140c inverts and outputs the peripheral device driving clock PERICLK.
그러면 제 3 인버터(140d)는 상기 주변 기기 구동 클럭(PERICLK)와 제 2 인버터(140c)에서 인버팅된 신호에 따라 턴온/턴오프되어 상기 제 1 인버터(140a)의 신호를 인버팅하여 출력/차단한다.Then, the third inverter 140d is turned on / off according to the signal inverted by the peripheral device driving clock PERICLK and the second inverter 140c to invert the signal of the first inverter 140a to output the output / Block it.
이어 제 1 낸드 게이트(140e)는 상기 제 1 논리 연산부(110)에서 출력된 "0"에 따라 상기 제 3 인버터(140d)의 신호에 상관없이 부정 논리곱하여 "1"을 STOPB신호로 출력한다.Subsequently, the first NAND gate 140e performs a negative logical multiplication regardless of the signal of the third inverter 140d according to "0" output from the first logic operation unit 110 and outputs "1" as a STOPB signal.
그리고 제 4 인버터(140f)는 상기 제 1 낸드 게이트(140e)의 신호를 피이드백하여 인버팅한 후 이를 출력하고 전송 게이트(140g)는 상기 주변 기기 구동 클럭에 따라 상기 제 3 인버터(140d)와는 반대 동작을 수행하여 제 3 인버터(140d)가 차단되었을 경우 제 1 낸드 게이트(140e)로 상기 제 4 인버터(140f)에서 인버팅된 신호를 출력한다.The fourth inverter 140f feeds back and inverts the signal of the first NAND gate 140e and outputs the same, and the transmission gate 140g is different from the third inverter 140d according to the peripheral device driving clock. When the third inverter 140d is cut off by performing the reverse operation, the signal inverted by the fourth inverter 140f is output to the first NAND gate 140e.
이에 따라 제 3 논리 연산부(150)는 상기 제 2 논리 연산부(140)에서 출력된 STOPB신호인 "1"에 따라 오실레이터의 클럭(CLKI)을 논리 연산하여 상기 오실레이터의 클럭(CLKI)의 반대 신호(CLKIX)를 출력한다.Accordingly, the third logic operation unit 150 performs a logic operation on the clock CLKI of the oscillator according to the STOPB signal " 1 " output from the second logic operation unit 140, thereby counter-signaling the signal CLK of the oscillator CLK. CLKIX).
즉 제 3 논리 연산부(150)내 제 2 낸드 게이트(150a)는 상기 제 2 논리 연산부(140)에서 출력된 STOPB신호인 "1"에 따라 오실레이터의 클럭(CLKI)을 부정 논리곱하여 상기 오실레이터의 클럭(CLKI)의 반대 신호(CLKIX)를 출력한다.That is, the second NAND gate 150a in the third logic operation unit 150 negatively multiplies the clock CLKI of the oscillator according to the STOPB signal "1" output from the second logic operation unit 140 to clock the oscillator. Outputs the opposite signal (CLKIX) of (CLKI).
그러면 제 4 논리 연산부(160)는 상기 슬립 모드 제어부(130)의 신호(CLOCKFB)인 "0"에 따라 상기 제 3 논리 연산부(150)의 신호(CLKIX)를 논리 연산하여 그 결과신호를 출력한다.Then, the fourth logic calculator 160 performs a logic operation on the signal CLKIX of the third logic calculator 150 according to the signal CLOCKFB of the sleep mode controller 130 and outputs the resultant signal. .
즉 제 4 논리 연산부(160)내 제 3 낸드 게이트(160a)는 상기 슬립 모드 제어부(130)의 신호(CLOCKFB)인 "0"에 따라 상기 제 3 논리 연산부(150)의 신호(CLKIX)를 부정 논리곱하여 "1"을 출력한다.That is, the third NAND gate 160a in the fourth logic calculator 160 negates the signal CLKIX of the third logic calculator 150 according to "0", which is the signal CLOCKFB of the sleep mode controller 130. Logically multiplies and outputs "1".
그러면 코어 클럭 발생부(180)는 상기 제 1 논리 연산부(160)에서 고정된 "1"에 따라 코어 클럭(CORECLK)을 고정한다.Then, the core clock generator 180 fixes the core clock CORECLK according to "1" fixed by the first logic calculator 160.
그리고 제 5 논리 연산부(170)는 세팅(Setting)된 신호인 "1"에 따라 상기 제 3 논리 연산부(150)의 신호(CLKIX)를 논리 연산하여 그 결과신호를 출력한다.In addition, the fifth logic calculator 170 performs a logic operation on the signal CLKIX of the third logic calculator 150 according to the set signal "1" and outputs the resultant signal.
즉 제 5 논리 연산부(170)는 상기 세팅(Setting)된 신호인 "1"에 따라 상기 제 3 논리 연산부(150)의 신호(CLKIX)를 부정 논리곱하여 상기 오실레이터의 클럭(CLKI)을 정상적으로 출력한다.That is, the fifth logic operation unit 170 negatively multiplies the signal CLKIX of the third logic operation unit 150 according to the set signal “1” to normally output the clock CLKI of the oscillator. .
그러면 주변 기기 구동 클럭 발생부(190)는 상기 제 5 논리 연산부(170)의 신호에 따라 주변 기기 구동 클럭(PERICLK)을 정상적으로 출력한다.Then, the peripheral device driving clock generator 190 normally outputs the peripheral device driving clock PERICLK according to the signal of the fifth logical operation unit 170.
이와 같은 상태에서 리셋(RESET) 또는 인터럽트(Interrupt)가 발생할 경우 RESETB신호가 "0"이 되므로 상기 제 1 논리 연산부(110)는 논리 연산 결과신호로 "0"을 출력한다.In this state, when a reset or interrupt occurs, the RESETB signal becomes “0”, so the first logic operation unit 110 outputs “0” as a logic operation result signal.
그러면 제 2 논리 연산부(140)는 상기 제 1 논리 연산부(110)에서 출력된 "0"에 따라 상기 주변 기기 구동 클럭(PERICLK)에 따른 레지스터(120)의 신호와 슬립 모드 제어부(130)의 출력신호(CLOCKFB)에 상관없이 STOPB신호로 "1"을 출력한다.Then, the second logic operation unit 140 outputs the signal of the register 120 according to the peripheral device driving clock PERICLK and the sleep mode control unit 130 according to "0" output from the first logic operation unit 110. Irrespective of signal CLOCKFB, "1" is output as STOPB signal.
이에 따라 제 3 논리 연산부(150)는 상기 제 2 논리 연산부(140)에서 출력된 STOPB신호인 "1"에 따라 오실레이터의 클럭(CLKI)을 논리 연산하여 상기 오실레이터의 클럭(CLKI)의 반대 신호(CLKIX)를 출력한다.Accordingly, the third logic operation unit 150 performs a logic operation on the clock CLKI of the oscillator according to the STOPB signal " 1 " output from the second logic operation unit 140, thereby counter-signaling the signal CLK of the oscillator CLK. CLKIX).
즉 제 3 논리 연산부(150)내 제 2 낸드 게이트(150a)는 상기 제 2 논리 연산부(140)에서 출력된 STOPB신호인 "1"에 따라 오실레이터의 클럭(CLKI)을 부정 논리곱하여 상기 오실레이터의 클럭(CLKI)의 반대 신호(CLKIX)를 출력한다.That is, the second NAND gate 150a in the third logic operation unit 150 negatively multiplies the clock CLKI of the oscillator according to the STOPB signal "1" output from the second logic operation unit 140 to clock the oscillator. Outputs the opposite signal (CLKIX) of (CLKI).
이어 제 4 논리 연산부(160)는 상기 슬립 모드 제어부(130)의 신호(CLOCKFB)인 "0"에 따라 상기 제 3 논리 연산부(150)의 신호(CLKIX)를 논리 연산하여 그 결과신호를 출력한다.Subsequently, the fourth logic operation unit 160 performs a logic operation on the signal CLKIX of the third logic operation unit 150 according to the signal CLOCKFB of the sleep mode control unit 130 and outputs the resultant signal. .
즉 제 4 논리 연산부(160)내 제 3 낸드 게이트(160a)는 상기 슬립 모드 제어부(130)의 신호(CLOCKFB)인 "0"에 따라 상기 제 3 논리 연산부(150)의 신호(CLKIX)를 부정 논리곱하여 "1"을 출력한다.That is, the third NAND gate 160a in the fourth logic calculator 160 negates the signal CLKIX of the third logic calculator 150 according to "0", which is the signal CLOCKFB of the sleep mode controller 130. Logically multiplies and outputs "1".
그러면 코어 클럭 발생부(180)는 상기 제 1 논리 연산부(160)에서 고정된 "1"에 따라 코어 클럭(CORECLK)을 고정한다.Then, the core clock generator 180 fixes the core clock CORECLK according to "1" fixed by the first logic calculator 160.
그리고 제 5 논리 연산부(170)는 세팅(Setting)된 신호인 "1"에 따라 상기 제 3 논리 연산부(150)의 신호(CLKIX)를 논리 연산하여 그 결과신호를 출력한다.In addition, the fifth logic calculator 170 performs a logic operation on the signal CLKIX of the third logic calculator 150 according to the set signal "1" and outputs the resultant signal.
즉 제 5 논리 연산부(170)는 상기 세팅(Setting)된 신호인 "1"에 따라 상기 제 3 논리 연산부(150)의 신호(CLKIX)를 부정 논리곱하여 상기 오실레이터의 클럭(CLKI)을 정상적으로 출력한다.That is, the fifth logic operation unit 170 negatively multiplies the signal CLKIX of the third logic operation unit 150 according to the set signal “1” to normally output the clock CLKI of the oscillator. .
그러면 주변 기기 구동 클럭 발생부(190)는 상기 제 5 논리 연산부(170)의 신호에 따라 주변 기기 구동 클럭(PERICLK)을 정상적으로 출력한다.Then, the peripheral device driving clock generator 190 normally outputs the peripheral device driving clock PERICLK according to the signal of the fifth logical operation unit 170.
한편, 상기와 같은 슬립 모드(Sleep mode)에서 리셋(RESET) 또는 인터럽트가 발생하지 않고 도 4a 에 도시된 바와 같은 CPU 클럭(CLOCK)에 따른 소정 시간이 경과하게 되면 자동적으로 스톱 모드(Stop mode)로 천이하고, 상기 제 1 논리 연산부(110)는 도 4b 에 도시된 바와 같은 STOPRELB신호와 RESETB신호를 논리 연산하여 그 결과신호를 출력한다.On the other hand, in the sleep mode described above, if a reset or interrupt does not occur and a predetermined time according to the CPU clock (CLOCK) as shown in FIG. 4A has elapsed, the stop mode is automatically stopped. The first logic operation unit 110 performs a logical operation on the STOPRELB signal and the RESETB signal as shown in FIG. 4B and outputs the resultant signal.
그리고 레지스터(120)는 상기 스톱 모드 영역이 도 4f 에 도시된 바와 같이 "0"으로 세팅되고 이에 따라 슬립 모드 제어부(130)는 도 4c 에 도시된 바와 같이 "0"을 CLOCKFB신호로 출력한다.The register 120 sets the stop mode area to "0" as shown in FIG. 4F, and accordingly, the sleep mode controller 130 outputs "0" as a CLOCKFB signal as shown in FIG. 4C.
그러면 제 2 논리 연산부(140)는 상기 레지스터(120)의 스톱 모드 영역의 신호와 슬립 모드 제어부(130)의 신호를 도 4d 에 도시된 바와 같은 주변 기기 구동 클럭(PERICLK)에 따라 논리 연산하여 그 결과신호(STOPB)로 도 4e 에 도시된 바와 같이 "0"을 출력한다.Then, the second logic operation unit 140 logically operates the signal of the stop mode region of the register 120 and the signal of the sleep mode controller 130 according to the peripheral device driving clock PERICLK as shown in FIG. 4D. As a result signal STOPB, " 0 " is output as shown in Fig. 4E.
즉 제 2 논리 연산부(140)내 노어 게이트(140a)는 상기 슬립 모드 제어부(130)의 신호(STOPB)인 "0"과 상기 레지스터(120)의 스톱 모드 영역의 "0"을 부정 논리합하여 "1"을 출력한다.In other words, the NOR gate 140a in the second logic operation unit 140 negates and combines "0" which is the signal STOPB of the sleep mode controller 130 and "0" of the stop mode region of the register 120 by "N". Output 1 ".
그러면 제 1 인버터(140b)는 상기 노어 게이트(140a)의 "1"을 인버팅하여 "0"을 출력한다.Then, the first inverter 140b inverts "1" of the NOR gate 140a and outputs "0".
이어 제 3 인버터(140d)는 상기 제 1 인버터(104b)에서 출력된 "0"를 상기 주변 기기 구동 클럭(PERICLK)과 제 2 인버터(140c)에서 인버팅된 신호에 따라 인버팅하여 "1"을 출력하거나 차단한다.Subsequently, the third inverter 140d inverts " 0 " outputted from the first inverter 104b according to the signal inverted by the peripheral device driving clock PERICLK and the second inverter 140c and then " 1 " Output or block
그리고 제 1 낸드 게이트(140e)는 상기 제 1 논리 연산부(1)의 "1"과 제 3 인버터(140e)의 "1"을 부정 논리곱하여 STOPB신호로 "0"을 출력한다.The first NAND gate 140e performs a negative AND on the " 1 " of the first logic calculator 1 and the " 1 " of the third inverter 140e, and outputs "0" as a STOPB signal.
이에 따라 제 3 논리 연산부(150)는 상기 제 2 논리 연산부(140)의 STOPB신호인 "0"에 따라 상기 오실레이터의 클럭(CLKI)를 논리 연산하여 CLKIX신호를 "1"로 고정하여 출력한다.Accordingly, the third logic operator 150 logically operates the clock CLKI of the oscillator according to the STOPB signal “0” of the second logic operator 140, and fixes the CLKIX signal to “1” and outputs the logic signal.
그러면 제 4 논리 연산부(160)는 상기 슬립 모드 제어부(130)의 신호(CLOCKFB)인 "0"에 따라 상기 제 3 논리 연산부(150)의 신호(CLKIX)를 논리 연산하여 그 결과신호를 출력한다.Then, the fourth logic calculator 160 performs a logic operation on the signal CLKIX of the third logic calculator 150 according to the signal CLOCKFB of the sleep mode controller 130 and outputs the resultant signal. .
즉 제 4 논리 연산부(160)내 제 3 낸드 게이트(160a)는 상기 슬립 모드 제어부(130)의 신호(CLOCKFB)인 "0"에 따라 상기 제 3 논리 연산부(150)의 신호(CLKIX)를 부정 논리곱하여 "1"로 고정하여 출력한다.That is, the third NAND gate 160a in the fourth logic calculator 160 negates the signal CLKIX of the third logic calculator 150 according to "0", which is the signal CLOCKFB of the sleep mode controller 130. Logically multiply and fix it to "1".
그러면 코어 클럭 발생부(180)는 상기 제 1 논리 연산부(160)에서 고정된 "1"에 따라 코어 클럭(CORECLK)을 고정한다.Then, the core clock generator 180 fixes the core clock CORECLK according to "1" fixed by the first logic calculator 160.
그리고 제 5 논리 연산부(170)는 세팅(Setting)된 신호인 "1"에 따라 상기 제 3 논리 연산부(150)의 신호(CLKIX)를 논리 연산하여 그 결과신호를 출력한다.In addition, the fifth logic calculator 170 performs a logic operation on the signal CLKIX of the third logic calculator 150 according to the set signal "1" and outputs the resultant signal.
즉 제 5 논리 연산부(170)는 상기 세팅(Setting)된 신호인 "1"에 따라 상기 제 3 논리 연산부(150)의 신호(CLKIX)를 부정 논리곱하여 "0"로 고정하여 출력한다.That is, the fifth logic operator 170 negatively multiplies the signal CLKIX of the third logic operator 150 according to the set signal “1” and fixes the signal CLKIX to “0” and outputs the same.
그러면 주변 기기 구동 클럭 발생부(190)는 상기 제 5 논리 연산부(170)의 신호에 따라 주변 기기 구동 클럭(PERICLK)을 차단한다.Then, the peripheral device driving clock generator 190 blocks the peripheral device driving clock PERICLK according to the signal of the fifth logic operation unit 170.
한편 도 5a 에 되시된 바와 같이 CPU의 클럭(CLOCK)가 "0"인 스톱 모드(Stop mode)에서 스톱 모드 해제(stop-release) 핀을 조작하면 도 5b 에 도시된 바와 같은 STOPRELB신호가 "0"이 되므로 제 1 논리 연산부(110)의 출력이 "0"이 된다.Meanwhile, as shown in FIG. 5A, when the stop-release pin is operated in the stop mode in which the CPU clock is “0”, the STOPRELB signal as shown in FIG. 5B is “0”. Since the output of the first logical operation unit 110 is "0".
그러면 슬립 모드 제어부(130)는 도 5c 에 도시된 바와 같이 출력신호(STOPB)로 "0"을 출력하고 도 5g 에 도시된 바와 같은 인터럽트 신호가 인가된다.Then, the sleep mode controller 130 outputs "0" as the output signal STOPB as shown in FIG. 5C and an interrupt signal as shown in FIG. 5G is applied.
여기서 레지스터(120)의 스톱 모드 영역은 도 5f 에 도시된 바와 같은 신호를 출력한다.Here, the stop mode area of the register 120 outputs a signal as shown in FIG. 5F.
즉 제 2 논리 연산부(140)내 제 1 낸드 게이트(140e)는 상기 제 1 논리 연산부(110)의 신호가 "0"이므로 노어 게이트(140a), 제 1 인버터(140b), 제 3 인버터(140d) 및 도 5d 에 도시된 바와 같은 주변 기기 구동 클럭(PERICLK)에 상관없이 STOPB신호로 도 5e 에 도시된 바와 같은 "1"을 출력한다.In other words, the first NAND gate 140e in the second logic operation unit 140 has the NOR gate 140a, the first inverter 140b, and the third inverter 140d because the signal of the first logic operation unit 110 is "0". ) And " 1 " as shown in Fig. 5E as the STOPB signal regardless of the peripheral drive clock PERICLK as shown in Fig. 5D.
그러면 제 3 논리 연산부(150)는 상기 제 2 논리 연산부(140)에서 출력된 STOPB신호인 "1"에 따라 오실레이터의 클럭(CLKI)을 논리 연산하여 상기 오실레이터의 클럭(CLKI)의 반대 신호(CLKIX)를 출력한다.Then, the third logic operation unit 150 performs a logic operation on the clock CLKI of the oscillator according to the STOPB signal " 1 " output from the second logic operation unit 140, thereby counterclocking the signal CLKIX of the clock CLKI of the oscillator. )
즉 제 3 논리 연산부(150)내 제 2 낸드 게이트(150a)는 상기 제 2 논리 연산부(140)에서 출력된 STOPB신호인 "1"에 따라 오실레이터의 클럭(CLKI)을 부정 논리곱하여 상기 오실레이터의 클럭(CLKI)의 반대 신호(CLKIX)를 출력한다.That is, the second NAND gate 150a in the third logic operation unit 150 negatively multiplies the clock CLKI of the oscillator according to the STOPB signal "1" output from the second logic operation unit 140 to clock the oscillator. Outputs the opposite signal (CLKIX) of (CLKI).
이어 제 4 논리 연산부(160)는 상기 슬립 모드 제어부(130)의 신호(CLOCKFB)인 "0"에 따라 상기 제 3 논리 연산부(150)의 신호(CLKIX)를 논리 연산하여 그 결과신호를 출력한다.Subsequently, the fourth logic operation unit 160 performs a logic operation on the signal CLKIX of the third logic operation unit 150 according to the signal CLOCKFB of the sleep mode control unit 130 and outputs the resultant signal. .
즉 제 4 논리 연산부(160)내 제 3 낸드 게이트(160a)는 상기 슬립 모드 제어부(130)의 신호(CLOCKFB)인 "0"에 따라 상기 제 3 논리 연산부(150)의 신호(CLKIX)를 부정 논리곱하여 "1"을 출력한다.That is, the third NAND gate 160a in the fourth logic calculator 160 negates the signal CLKIX of the third logic calculator 150 according to "0", which is the signal CLOCKFB of the sleep mode controller 130. Logically multiplies and outputs "1".
그러면 코어 클럭 발생부(180)는 상기 제 1 논리 연산부(160)에서 고정된 "1"에 따라 코어 클럭(CORECLK)을 고정한다.Then, the core clock generator 180 fixes the core clock CORECLK according to "1" fixed by the first logic calculator 160.
그리고 제 5 논리 연산부(170)는 세팅(Setting)된 신호인 "1"에 따라 상기 제 3 논리 연산부(150)의 신호(CLKIX)를 논리 연산하여 그 결과신호를 출력한다.In addition, the fifth logic calculator 170 performs a logic operation on the signal CLKIX of the third logic calculator 150 according to the set signal "1" and outputs the resultant signal.
즉 제 5 논리 연산부(170)는 상기 세팅(Setting)된 신호인 "1"에 따라 상기 제 3 논리 연산부(150)의 신호(CLKIX)를 부정 논리곱하여 상기 오실레이터의 클럭(CLKI)을 정상적으로 출력한다.That is, the fifth logic operation unit 170 negatively multiplies the signal CLKIX of the third logic operation unit 150 according to the set signal “1” to normally output the clock CLKI of the oscillator. .
그러면 주변 기기 구동 클럭 발생부(190)는 상기 제 5 논리 연산부(170)의 신호에 따라 주변 기기 구동 클럭(PERICLK)을 정상적으로 출력한다.Then, the peripheral device driving clock generator 190 normally outputs the peripheral device driving clock PERICLK according to the signal of the fifth logical operation unit 170.
이와 같은 상태에서 상기 슬립 모드 제어부(130)로 도 6g 에 도시된 바와 같이 인터럽트(Interrupt)가 발생하면 출력은 도 6c 에 도시된 바와 같이 "1"로 바뀌게 되고 제 1 논리 연산부(110)로 도 6b 에 도시된 바와 같은 STOPRELB신호가 입력되어 논리 연산되어 출력된다.In this state, when an interrupt occurs in the sleep mode controller 130 as shown in FIG. 6G, the output is changed to “1” as shown in FIG. 6C and is transferred to the first logic operation unit 110. A STOPRELB signal as shown in 6b is input, logically calculated, and output.
그러면 제 2 논리 연산부(140)는 상기 제 1 논리 연산부(110)의 신호가 "0"이므로 도 6f 에 도시된 바와 같은 주변 기기 구동 클럭(PERI CLK)에 상관없이 도 6e 에 도시된 바와 같이 출력신호(STOPB)로 "1"을 출력한다.Then, since the signal of the first logic operation unit 110 is "0", the second logic operation unit 140 outputs the output as shown in FIG. 6E regardless of the peripheral device driving clock PERI CLK as shown in FIG. 6F. Outputs "1" as the signal STOPB.
이에 따라 제 4 논리 연산부(160)는 상기 슬립 모드 제어부(130)의 신호(CLOCKFB)인 "1"에 따라 상기 제 3 논리 연산부(150)의 신호(CLKIX)를 논리 연산하여 그 결과신호를 출력한다.Accordingly, the fourth logic operation unit 160 performs a logic operation on the signal CLKIX of the third logic operation unit 150 according to the signal CLOCKFB of the sleep mode control unit 130, and outputs the resultant signal. do.
즉 제 4 논리 연산부(160)내 제 3 낸드 게이트(160a)는 상기 슬립 모드 제어부(130)의 신호(CLOCKFB)인 "1"에 따라 상기 제 3 논리 연산부(150)의 신호(CLKIX)를 부정 논리곱하여 상기 오실레이터의 클럭(CLKI)을 정상적으로 출력한다.That is, the third NAND gate 160a in the fourth logic calculator 160 negates the signal CLKIX of the third logic calculator 150 according to "1", which is the signal CLOCKFB of the sleep mode controller 130. Logically multiply and output the clock CLKI of the oscillator normally.
그러면 코어 클럭 발생부(180)는 상기 제 1 논리 연산부(160)에서 출력된 신호에 따라 정상적으로 코어 클럭(CORECLK)을 한다.Then, the core clock generator 180 normally performs a core clock CORECLK according to the signal output from the first logic calculator 160.
그리고 제 5 논리 연산부(170)는 세팅(Setting)된 신호인 "1"에 따라 상기 제 3 논리 연산부(150)의 신호(CLKIX)를 논리 연산하여 그 결과신호를 출력한다.In addition, the fifth logic calculator 170 performs a logic operation on the signal CLKIX of the third logic calculator 150 according to the set signal "1" and outputs the resultant signal.
즉 제 5 논리 연산부(170)는 상기 세팅(Setting)된 신호인 "1"에 따라 상기 제 3 논리 연산부(150)의 신호(CLKIX)를 부정 논리곱하여 상기 오실레이터의 클럭(CLKI)을 정상적으로 출력한다.That is, the fifth logic operation unit 170 negatively multiplies the signal CLKIX of the third logic operation unit 150 according to the set signal “1” to normally output the clock CLKI of the oscillator. .
그러면 주변 기기 구동 클럭 발생부(190)는 상기 제 5 논리 연산부(170)의 신호에 따라 주변 기기 구동 클럭(PERICLK)을 정상적으로 출력한다.Then, the peripheral device driving clock generator 190 normally outputs the peripheral device driving clock PERICLK according to the signal of the fifth logical operation unit 170.
상기와 같은 동작을 도 3 에 도시된 바와 같은 천이 상태도를 참조하여 설명하면 다음과 같다.The above operation will be described with reference to the transition state diagram as shown in FIG. 3.
먼저, 전원을 온(ON)시키면 CPU는 익셉션 상태(Exception state)에서 익셉션 처리 과정(Exception)을 거쳐 액티브 상태(Active state)로 진입하여 정상적인 동작을 수행하여 일련의 프로그램을 수행한다.First, when the power is turned on, the CPU enters an active state through an exception process in the exception state and performs a normal operation to execute a series of programs.
여기서 액티브 상태(Active state)는 상기 익셉션 상태(Exception state)에서 액티브 상태(Active state)로의 천이시 에러가 발생하게 되면 이에 따라 다시 액티브 상태(Active state)로 천이하기 위한 익셉션 소오스(Exception source)를 출력한다.Here, the active state is an exception source for transitioning back to the active state when an error occurs when the transition from the exception state to the active state occurs. Output
이후 CPU는 상기 액티브 상태(Active state)에서 소정 시간동안 인스트럭션(Instruction)이 없다면 전원 소모를 줄이기 위한 슬립 모드(Sleep mode)로 천이하기 위한 레지스터를 세팅(Register Setting)한 후 슬립 모드(Sleep mode)로 천이하여 동작을 멈추고 레지스터(Register)나 캐쉬(Cache)의 내용을 이전 상태로 유지한다.Thereafter, if there is no instruction for a predetermined time in the active state, the CPU sets a register for transitioning to a sleep mode to reduce power consumption, and then sleep mode. Transition to to stop the operation and keep the contents of the register or cache in the previous state.
그리고 CPU는 소정 시간이 경과하게 되면 자동으로 스톱 모드(Stop mode)로 천이하여 동작을 멈추고 주변 기기의 기능도 멈추게 된다.When the predetermined time elapses, the CPU automatically switches to the stop mode, stops the operation, and stops the peripheral device function.
또한, 익셉션 모드(Exception state)에서 슬립 모드(Sleep mode)로의 천이는 상기 액티브 상태(Active state)에서 슬립 모드(Sleep mode)로의 천이시와 마찬가지로 레지스터를 세팅(Setting)함으로로 슬립 모드(Sleep mode)로의 천이된다.In addition, the transition from the exception mode to the sleep mode is performed by setting a register as in the transition from the active state to the sleep mode. Will be a transition to).
아울러 위상 동기 루프(PLL)과 오실레이터(oscilliator) 등의 기능도 멈추게 된다.In addition, functions such as phase locked loops (PLL) and oscillators will stop.
상기 스톱 모드(Stop mode)에서 슬립 모드(Sleep mode)로의 해제는 CPU의 스톱-릴리스(Stop-release) 핀을 조정함으로써 가능하게 된다.The release from the stop mode to the sleep mode is made possible by adjusting the stop-release pin of the CPU.
이와 같은 상태에서 외부로부터 리셋(Reset)이 발생하면 스톱 모드(Stop mode)에서 익셉션 상태(Exception state)로 천이한 후 CPU는 익셉션 처리 과정(Exception state)을 수행하여 액티브 상태(Active state)로 천이한다.In this state, when a reset occurs from the outside, the CPU transitions to the exception state in the stop mode and the CPU transitions to the active state by performing an exception state. do.
이상에서 설명한 바와 같이 본 발명에 따른 전자기기에서의 전원 소모 방지장치 및 방법은 액티브 상태(Active state)에서 뿐만 아니라 익셉션 상태(Exception state)에서 슬립 모드(Sleep mode)로 천이할 수 있고, 슬립 모드(Sleep mode)에서 스톱 모드(Stop mode)로의 천이 및 스톱 모드(Stop mode)에서 슬립 모드(Sleep mode)로의 천이가 가능하도록 함으로써 슬립 모드(Sleep mode) 및 스톱 모드(Stop mode)로의 천이 및 스톱 모드(Stop mode)에서 액티브 상태(Active state)로 복귀의 과정을 다양화시킬 수 있는 효과가 있다.As described above, the apparatus and method for preventing power consumption in the electronic device according to the present invention may transition from the exception state to the sleep mode as well as in the active state, and in the sleep mode. Transition and Stop to Sleep Mode and Stop Mode by Enabling Transition from Sleep Mode to Stop Mode and Transition from Stop Mode to Sleep Mode There is an effect that can diversify the process of returning to the active state from the stop mode.
Claims (7)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019980021773A KR100272531B1 (en) | 1998-06-11 | 1998-06-11 | Method for prohibitting exhaust of power source in electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019980021773A KR100272531B1 (en) | 1998-06-11 | 1998-06-11 | Method for prohibitting exhaust of power source in electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20000001490A true KR20000001490A (en) | 2000-01-15 |
KR100272531B1 KR100272531B1 (en) | 2000-11-15 |
Family
ID=19539078
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1019980021773A KR100272531B1 (en) | 1998-06-11 | 1998-06-11 | Method for prohibitting exhaust of power source in electronic equipment |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR100272531B1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100849215B1 (en) * | 2007-01-17 | 2008-07-31 | 삼성전자주식회사 | Power control apparatus, method, and system thereof |
-
1998
- 1998-06-11 KR KR1019980021773A patent/KR100272531B1/en not_active IP Right Cessation
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100849215B1 (en) * | 2007-01-17 | 2008-07-31 | 삼성전자주식회사 | Power control apparatus, method, and system thereof |
Also Published As
Publication number | Publication date |
---|---|
KR100272531B1 (en) | 2000-11-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR920002754B1 (en) | Microcomputer w/power saving function | |
US5025387A (en) | Power saving arrangement for a clocked digital circuit | |
US5551044A (en) | Method and apparatus for interrupt/SMI# ordering | |
US5473767A (en) | Method and apparatus for asynchronously stopping the clock in a processor | |
US5502689A (en) | Clock generator capable of shut-down mode and clock generation method | |
JP3454866B2 (en) | Method of operating a processor of the type including a bus unit and an execution unit, a central processing unit, a computer system, and a clock controller circuit | |
EP0749060A1 (en) | A clock system | |
JPS62166419A (en) | Multifrequency clock generator | |
US5559458A (en) | Reset circuit for a pipelined signal processor | |
US5784598A (en) | Method and apparatus for changing processor clock rate | |
US20070220281A1 (en) | Entry into a low power mode upon application of power at a processing device | |
JPH07281782A (en) | Clock control circuit | |
US4897807A (en) | Switch data input device | |
KR100272531B1 (en) | Method for prohibitting exhaust of power source in electronic equipment | |
KR100616683B1 (en) | Power-down and wake-up circuit | |
EP0602422A1 (en) | Dynamic frequency shifting with divide by one clock generators | |
US10338665B2 (en) | Microcontroller power reduction system and method | |
JPH0756774A (en) | Watching timer | |
JPS61123916A (en) | Microcomputer | |
KR0148528B1 (en) | Microcontroller | |
JP2705311B2 (en) | Microcomputer | |
JPH0750420B2 (en) | Power control device for digital circuit | |
KR0150752B1 (en) | Power operating system | |
JPH0876876A (en) | Clock supply control circuit of microprocessor | |
JPH1165697A (en) | Clock-switching system for cpu |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant | ||
FPAY | Annual fee payment |
Payment date: 20050718 Year of fee payment: 6 |
|
LAPS | Lapse due to unpaid annual fee |