Clock generator with power savings capability

Abstract: A clock generator and interrupt bypass circuit for use in reducing the power consumption of the electrical system in which they are implemented. The clock generator provides module clock signals for sequencing modules within the same electrical system, and is capable of generating those module clock signals when in an active mode, and of not generating those module clock signals when in a standby mode. The clock generator is further capable of providing a delay of a predetermined length from a request to enter shut-down mode to actual entry into shut-down mode, allowing time to prepare the electrical system for shut-down mode. The interrupt bypass circuit provides a means of leaving shut-down mode in the event that the relevant interrupt requests have been masked.

Description: The present invention relates to clock driven electrical systems and, more particularly, to electrical circuits for use in reducing power consumption of clock driven electrical systems. The minimization of power consumption is an important objective of many electrical circuit designs. Reduced power consumption is generally desired for a number of reasons, one of which in the case of battery powered circuits, is to extend the life of the battery. In battery powered circuits, a reduction in power consumption of an electrical device is generally expected to extend the life of the battery powering that circuit. An extended battery life is useful in many applications. In the case of a battery powered circuit in a cordless telephone, for example, an extended battery life allows for longer idle time, that is, the period of time between uses. As is generally known in the electrical art, the power consumption of an electrical system composed of a number of functional blocks may be controlled by use of a number of different power modes, some modes allowing certain functional blocks in the system to be disabled. These power modes may include a fully active mode wherein all functional blocks are active, partly active modes wherein only the functional blocks that are necessary for minimal operation are enabled, and a power-down mode wherein all functional blocks are disabled except those required to recognize key events that will force the system back into an active mode. It is the power-down mode that consumes the least power. A known method of conserving power in an electrical system is by effectuating a power-down mode during which the internal clock signals that sequence the functional blocks within the electrical system are disabled. Also well known to those skilled in the art is the method of disabling, during the power-down mode, the oscillator or clock generator circuit from which the internal clock signals are derived. Without an active clock signal, the function blocks are disabled and power consumption is minimized. Entry into power-down mode may be under software control. Selection of the power-down mode by a software program causes a system controller to begin an internal countdown of a predetermined number of system clock cycles after which the oscillator or clock generator circuit is disabled. This countdown period may be used by the microprocessor to prepare for power-down mode before the clock is stopped. The countdown is generally accomplished by activating an internal counter. For example, a countdown of 256 clock cycles may be performed by an eight-bit counter. This countdown may be cancelled if an interrupt occurs during the countdown period. The power-down mode may be exited by the effectuation of a number of conditions such as, for example, a hardware reset or other type of interrupt. US-A-4,758,945 discloses a method for reducing the power consumption, in response to an instruction, of a system by inhibiting the clock pulses generated. US-A-4,293,927 also discloses a power consumption control system in which the clock generation is stopped when a counter finishes to count a given time. A clock generator having a delayed shut down mode is known per se from EP-A-O,229,692. As entry into power-down mode may be software controlled, there has been encountered a problem heretofore in the above-described prior art power-down methods where software error or noise results in the accidental entry of the device into the power-down mode resulting in the inadvertent disabling of most functional blocks. The present invention provides a solution to this problem. According to the present invention there is provided a clock generator for an electrical system, said clock generator capable of providing at least one output clock signal, said clock generator comprising: means for producing said at least one output clock signal; and means for disabling said means for producing upon reception of a disable activation signal; characterized in that said clock generator further comprises: means for receiving a shut-down entry request signal initiating a shut down mode; and means for verifying that said received shut-down entry request signal meets a predetermined protocol requirement, said means for verifying comprising at least two shut down control registers accessed in response to said shut down entry request signal, said means for verifying generating said disable activation signal upon verification that a said received shut-down entry request signal does meet said predetermined protocol requirement, which disable activation signal is conducted to said means for disabling; wherein said means for verifying further comprises an interlock mechanism capable of detecting writes to said at least two shut-down control registers, wherein one of said at least two shut-down control registers is a dummy register, wherein said interlock mechanism prevents write access to one of said at least two shut-down control registers unless said predetermined protocol requirement is met, and wherein said predetermined protocol requirement comprises a predetermined number of writes in a predetermined order to said at least two shut-down control registers. According to the present invention there is also provided a method for controlling at least one output clock signal as defined in independent claim 2. Providing for the step of stopping occurring only after a predetermined length of time as in the method just defined avoids the possibility of a premature entry into the power-down mode which results in insufficient time to complete necessary housekeeping operations. As a preferred optional feature of the method of the present invention, said step of starting said at least one output clock signal comprises the steps of: starting a first clock signal; and starting said at least one output clock signal after a delay following said step of starting said first clock signal, said at least one output clock signal being derived from said first clock signal. This feature avoids the possibility of errors caused by unstable clock pulses generated when the first clock signal is started. As a further preferred optional feature of the method of the present invention, said step of stopping said at least one output clock signal comprises the step of not stopping said at least one output clock signal if said enable request signal is received after receiving said disable activation signal and before the expiration of said predetermined length of time. This feature avoids another problem encountered with prior art power-down methods, which is the possibility of entering the power-down mode without any means to exit the power-down mode and return to an active power mode. As a further preferred optional feature of the method of the present invention, the step of stopping said at least one output clock signal comprises the step of stopping said at least one output clock signal after said predetermined length of time following the most recent assertion of said disable activation signal. This feature avoids another problem encountered with prior art power-down methods, which is that premature entry into power-down may be caused by a previous request to enter power-down mode from a different software routine. The method of the present invention may further comprise the step of generating said enable request signal in response to at least one interrupt request signal, said enable request signal being generated even if said at least one interrupt request signal has been masked. This avoids another possible problem with prior art power-down methods, which is that the program, prior to entry into power-down mode, may fail to enable the interrupts that would signal the processor to exit the power-down mode. In the accompanying drawings, by way of example only: FIG. 1 is a block diagram of an electrical system employing one embodiment of a clock generator according to the teachings of the present invention; FIG. 2 shows the timing of the clock generator shown in FIG. 1; FIG. 3 is a state diagram of the entry into shut-down mode by the clock generator shown in FIG. 1; FIG. 4 is a detailed block diagram of an interrupt enable bypass circuit according to the teachings of the present invention; FIG. 5 is a block diagram of an electrical system in which a clock generator and interrupt bypass circuit according to the teachings of the present invention has been implemented, along with a microcontroller; FIG. 6 (which consists of FIG. 6a and FIG. 6b) is a block diagram of a single integrated circuit in which a clock generator and interrupt bypass circuit according to the teachings of the present invention has been implemented along with a microcontroller; FIG. 7 is a block diagram of a handset unit of a cordless telephone in which an integrated circuit including a clock generator and interrupt bypass circuit according to the teachings of the present invention has been implemented; and FIG. 8 is a block diagram of a base unit of a cordless telephone in which an integrated circuit including a clock generator and interrupt bypass circuit according to the teachings of the present invention has been implemented. DETAILED DESCRIPTION Referring now to the drawings, there is shown in FIG. 1 an electrical system 2 employing a clock generator 4 capable of shutdown mode according to the teachings of the present invention. The electrical system 2 may include one or more modules 6, each of which may be sequenced by one of the module clock signals 8 generated by the clock generator 4. The clock generator 4 may operate in an active mode or may be software programmed into a shut-down mode. The capability of programming the clock generator 4 into a shut-down mode allows for the minimization of power consumption for the electrical system 2 in which the clock generator 4 operates. In its active mode, the clock generator 4 outputs a number of module clock signals 8 for use in sequencing modules 6 within the electrical system 2. In its shut-down mode, the clock generator 4 disables all module clock signals 8, which effectively disables all modules 6 sequenced by those module clock signals, and thereby reduces the power consumed by those modules. Further power reduction during shutdown mode is accomplished by stopping the oscillator 10 from which the module clock signals 8 are derived. In its preferred embodiment, the clock generator 4 includes the six functional blocks shown in FIG. 1: an oscillator 10, shut-down control circuit 12, a shut-down entry delay timer 14, a clock divider 16, a clock valid delay timer 18, and register access circuit 20. The oscillator 10 provides an outgoing clock signal CLK on line 22 that is conducted to the clock divider 16 and to the clock valid delay timer 18. The generation of CLK by the oscillator 10 may be accomplished by means typical of oscillator circuits in the semiconductor art. For example, the oscillator 10 may be connected to an external parallel resonant crystal 40 via external lines XTAL1 and XTAL2 as shown in FIG. 1, or the oscillator 10 may be connected to an external clock source (not shown) via external line XTAL2. In one embodiment of the present invention, the oscillator 10 is enabled and generates the CLK signal while in its active mode, and is disabled and does not generate the CLK signal while in its shut-down mode. In the shut-down mode, the operation of the oscillator may be disabled in response to the activation of the STOP OSCILLATOR signal conducted on line 24 from the shutdown entry delay timer 14. Once in shut-down mode, the oscillator may be restarted upon the assertion of the RESTART OSCILLATOR signal conducted on line 26 from the shut-down control circuit 12. As previously mentioned, the placement of the oscillator 10 into an active or shut-down mode is effected by control signals received from the shut-down control circuit 12 and the shut-down entry delay timer 14. The shut-down control circuit 12 may be responsive to signals SDEXIT received on line 28, the assertion of which indicates a request to exit shutdown, and SDENTR received on line 30, the assertion of which indicates a request to enter shut-down mode. In response to these signals, the shut-down control circuit 12 generates control signals including the outgoing START TIMER signal conducted on line 32 which is received by the shut-down entry delay timer 14, and the RESTART OSCILLATOR signal conducted on line 26 which is received by the oscillator 10 and the clock valid delay timer 18. Another such control signal is the ABORT SEQUENCE signal conducted on line 34 which is received by the shutdown entry delay timer 14. The shut-down entry delay timer 14 provides a time delay between a request to enter shut-down mode and the disablement of the oscillator 10. This time delay may be used to allow one or more of the modules 6 in the electrical system 2 to be programmed to its idle state, or to complete any necessary housekeeping operations. In one embodiment of the present invention, the shut-down entry delay timer 14 receives an incoming clock signal on line 36. It also receives from the shut-down control circuit the START TIMER signal and the ABORT SEQUENCE signal via lines 32 and 34, respectively. In response to these signals, the shut-down entry delay timer 14 provides a STOP OSCILLATOR signal on line 24 conducted to the oscillator 10 and the clock valid delay timer 18. The shut-down entry delay timer 14 may provide a 3.56 msec to 7.12 msec delay after the assertion of the START TIMER signal before asserting the STOP OSCILLATOR signal. In order to provide this delay, the shut-dawn entry delay timer 14 receives a 280.9Hz clock signal on line 36 and generates an internal pulse in response to each rising edge of the 280.9Hz clock signal. Thus, an internal pulse is generated every 3.56 msecs. This pulse signal (not shown) is hereinafter referred to as the 3.56 msec carry out signal. After the assertion of the START TIMER signal, the shut-down entry delay timer 14 asserts the STOP OSCILLATOR signal only after the second of such pulses is generated following the assertion of the START TIMER signal. Therefore, a user will have at least 3.56 msecs from the time entry into shut-down mode is requested until the system enters shutdown mode to program modules into an idle state and to perform any other necessary housekeeping routines. It should be noted that the use of a slow clock already existing within the system, such as the 280.9Hz clock shown in FIG. 1, is an efficient and cost-savings means by which to provide a delay before entry into shut-down mode. The use of an existing slow clock eliminates the need to incorporate a more expensive multiple-bit counter in order to divide a faster system clock. The clock divider 16 receives the clock signal CLK on line 22 from the oscillator 10 and may divide it into a number of module clock signals 8 of different frequencies which may be used to sequence a number of modules 6 within the same electrical system 2. The clock divider 16 disables the module clock signals 8 when CLK is stopped, and enables the module clock signals when CLK is restarted and the clock valid signal CLKVLD received on line 38 is asserted. It should be noted that even if the oscillator 10 is running, the clock divider will not generate the module clock signals until the CLKVLD signal on line 38 has been asserted. The clock valid delay timer 18 provides a delay from the time the oscillator 10 is enabled until the module clock outputs are enabled. This delay provides time for the CLK signal to stabilize before its use by the clock divider 16 in the generation of the module clock signals. This delay prevents errors caused by unstable clock pulses. In one embodiment, a counter (not shown) internal to the clock valid delay timer 18 is cleared in response to the assertion of the STOP OSCILLATOR signal generated by shut-down entry delay timer 14. Further, the counter begins its countdown in response to the assertion of the RESTART OSCILLATOR signal generated by the shut-down control circuit 12. Upon completion of the countdown, the clock valid delay timer 18 asserts the CLKVLD signal on line 38 which is received by the clock divider 16. If CLKVLD is asserted and the oscillator 10 is enabled, the clock divider generates the module clock signals 8 used to sequence modules 6 within the electrical system 2. Entry into the shut-down mode is under software control and may be initiated by writing the appropriate data via data bus 48 to a shut-down control register, such as the UCCCR register 42 shown in FIG. 1. For example, entry into shut-down mode may be initiated by setting the most significant bit of the shut-down control register, hereinafter referred to as UCCCR[7]. Write access to the UCCCR register may be protected by an access control mechanism to avoid placing the clock generator 4 in shut-down mode inadvertently. Such an access control mechanism may include an interlock mechanism 44 along with a dummy register such as the shut-down protection register UCCCP 46, both of which are shown in the register access control circuit 20 in FIG. 1. The interlock mechanism 44 recognizes writes to the UCCCP register 46 and the UCCCR register 42, and will allow data to be written to the UCCCR register only upon completion of a particular shut-down register access sequence. This sequence may include a predetermined number of writes to the UCCCP and UCCCR registers in a predetermined sequence. Upon the successful writing of the appropriate data to the UCCCR register, the SDENTR signal may be asserted on line 30 signaling a request to enter the shut-down mode. This access protection scheme avoids the inadvertent placement of the clock generator into shut-down mode, and thus reduces the risk of accidental clock stoppage due to possible software problems. The operation of the clock generator 4 of FIG. 1 during entry into shut-down mode and exit from shut-down mode will now be explained with reference to the waveforms shown in FIG. 2. Before time t0, the clock generator 4 is in its active mode, the oscillator 10 is enabled, and the module clock signals 8 are enabled. It is assumed that at time t0, UCCCR[ 7] is set by software. The setting of UCCCR[7] causes the register access circuit 20 to assert the SDENTR signal on line 30. In response to the assertion of SDENTR, the shutdown control circuit 12 asserts the START TIMER signal on line 32 which is conducted to the shut-down entry delay timer 14. The assertion of the START TIMER signal will cause the shut-down entry delay timer 14 to assert the STOP OSCILLATOR signal upon the second internal 3. 56 msec carry out pulse following the shut-down entry request. Time t1 marks the first of such pulses, and time t2 marks the second. Accordingly, time t2 will occur between 3.56 to 7.12 msecs after t0. At time t2, the shut-down entry delay timer asserts the STOP OSCILLATOR signal on line 24 which results in the disabling of the oscillator 10. Further, at time t2 all module clock outputs are disabled, and the clock valid signal is cleared. Exit from shut-down mode may be initiated by the assertion of SDEXIT on line 28, shown in FIG. 2 as occurring at time t3. If the clock generator 4 is in shut-down mode, the assertion of SDEXIT will cause the shut-down control circuit 12 to assert the RESTART OSCILLATOR signal on line 26, which will enable the oscillator 10 and activate the counter internal to the clock valid delay timer 18. Further, the assertion of SDEXIT may also clear UCCCR[7]. At time t4, the counter internal to the clock valid delay timer 18 completes a countdown. This causes the assertion of CLKVLD on line 38 which, in turn, causes the clock divider 16 to enable the module clock outputs 8. Further aspects of clock generator 4 of FIG. 1 are explained with reference to the state diagram in FIG. 3. State S0 of the state diagram represents the active mode of the clock generator. While in state S0, the oscillator 10 is enabled and all module clock signals 8 generated therefrom are enabled. The shut-down sequence may be initiated by a successful setting of UCCCR[7] which causes the assertion of SDENTR on line 30. The initiation of the shut-down sequence is shown as state S1 in FIG. 3. Following the initiation of the shut-down sequence, the shut-down entry delay timer transitions to state S2 upon the first subsequent 3.56 msec carry out pulse. The second 3.56 msec pulse causes the transition from state S2 to state S3 where state S3 represents the placement of the clock generator into shut-down mode. Upon entry into shut-down mode, the shut-down entry delay timer 14 generates a STOP OSCILLATOR signal to the oscillator 10, the CLKVLD signal is cleared, and UCCCR[7] is cleared. This shut-down sequence may be restarted or aborted by a number of conditions occurring after the initiation of the shut-down sequence and before the clock generator 4 actually enters the shut-down mode. For example, the shut-down sequence may be aborted and the clock generator placed in state S0 if SDEXIT is asserted or if UCCCR[7] is cleared by software while the clock generator is in state S1, that is, at any time after SDENTR has been asserted and before the first subsequent 3.56 msec carry out pulse. These conditions, that is the assertion of SDEXIT or the clearing of UCCCR[7], may also cause the shut-down sequence to be aborted if they occur during state S2, that is, after the first but before the second 3.56 msec carry out pulse following the assertion of SDENTR. Furthermore, the shut-down sequence may be re-initiated if the UCCCR[7] is reset by software while the clock generator 4 is in state S2, that is, after the first 3.56 msec carry out pulse but before the second such pulse. Thus, a particular software routine will have at least 3.56 msecs to prepare for entry into shut-down mode, even though its shutdown entry request was made while the clock generator was preparing to enter shut-down mode pursuant to a previous shut-down entry request. This re-initiation capability is important because, due to the complexity of some software programs, it is possible that more than one software routine may independently request that the system enter the shutdown mode. Without the re-initiation capability, the routine requesting entry into shut-down mode will not have sufficient time to prepare for shut-down if the request is made while the clock generator is processing a previous request for entry into shut-down mode made by another software routine. From the foregoing detailed description, it can thus be seen that the clock generator 4 of FIG. 1 is capable of generating mode clock signals used to sequence modules within the same electrical system while in an active mode, and of not generating those module clock signals when in a shut-down mode. Further, the clock generator 4 provides a predetermined time delay from a request to enter shut-down mode to the disabling of the module clock signals, providing time to prepare the modules for shut-down and to complete any necessary housekeeping routines. A time delay may be provided from the enabling of the oscillator to the starting of the module clock signals for allowing time for the oscillator output to stabilize. Also, a shut-down access protection means may be provided for preventing the inadvertent placement of the electrical system into a shut-down mode. Furthermore, means may be provided for aborting the shut-down entry sequence and returning to an active mode after entry into shut-down mode has been requested and before the oscillator has been disabled. Still furthermore, means may be provided for delaying the disabling of the oscillator until a predetermined time after the most recent request to enter shut-down mode has been made. A further aspect of the present invention is the interrupt enable bypass circuit. An embodiment of an interrupt enable bypass circuit, which provides a means of leaving shut-down mode even if all interrupts have been disabled, is shown in FIG. 4 operating in an interrupt controller circuit 50 typical of those in the digital logic design art. The interrupt controller circuit is capable of receiving a number of interrupt requests from internal or external sources, such as the REAL TIME CLOCK interrupt request conducted on line 52 or the KEYPAD ANY KEY DOWN interrupt request conducted on line 54. Further, in response to the incoming interrupt requests, the interrupt controller circuit 50 is capable of generating an interrupt signal such as INT1 on line 55. Incoming interrupt request signals are typically ANDed with corresponding mask signals from the Main Mask Register 56. Thus, an interrupt request signal will be recognized only if its corresponding bit in the Main Mask Register 56 has been set. If the corresponding bit has not been set, the interrupt request signal will not be forwarded past the Main Interrupt Mask Register and thus will not cause the assertion of the INT1 signal. The outputs of the Main Interrupt Mask Register 56 are conducted through the Main Interrupt Source Register 58, and then ORed together to generate the INT1 signal on line 55. The Main Interrupt Source Register 58 may be read to determine which unmasked interrupt request has been asserted. The INT1 signal on line 55 is conducted to an OR gate 60, the output of which is the SDEXIT signal on line 28 which is conducted to the shut-down control circuit 12 shown in FIG. 1. As previously explained, the assertion of SDEXIT signals the clock generator 4 to exit shut-down mode. The interrupt enable bypass circuit 62 provides a means of generating the SDEXIT signal even though all interrupt request signals have been masked. Interrupt request signals, such as the REAL TIME CLOCK signal conducted on line 52 and the KEYPAD ANY KEY DOWN signal conducted on line 54, are further conducted to an OR gate 64, the output of which is ANDed to a shut-down status signal on line 66. The shutdown status signal is high if the clock generator is in shut-down mode, and is low otherwise. The output of the AND gate 68 will be high if the clock generator is in shut-down mode and either the REAL TIME CLOCK signal or the KEYPAD ANY KEY DOWN signal has been asserted. The zero to one transition of the AND gate output on line 70 will cause the assertion of the output of the SR-latch 72 which is ORed with the outputs of the Main Interrupt Source Register 58 to generate the INT1 interrupt signal. As previously explained, the assertion of INT1 causes the assertion of the SDEXIT signal on line 28. Thus, SDEXIT may still be asserted in response to certain interrupt requests, such as the REAL TIME CLOCK or KEYPAD ANY KEY DOWN interrupt requests, even though the request signals have been masked. Based on the foregoing, it may be seen that the interrupt bypass circuit 62 provides a means for the exit from shut-down mode even though all interrupt request signals have been masked. This is important because of the danger that the software program in use may not prevent the possibility that all interrupts have been masked before the program requests an entry into shut-down mode, thus leaving no means by which to exit shut-down mode. Furthermore, it should be understood that the clock generator and interrupt bypass circuit described above may be implemented in a variety of systems. For example, the clock generator and interrupt bypass circuit may be used in an electrical system which also includes a microcontroller, such as the Advanced Micro Devices 80C51 80 as shown in FIG. 5. In this configuration, the clock generator 4 may provide a clock signal on line 82 for sequencing the microcontroller 80. Further, the microcontroller 80 may run software program that controls the placement of the system into shut-down mode. The interrupt bypass circuit may be included in the interrupt controller module 84 used for generating interrupts to the microcontroller 80. Another possible variation of the system shown in FIG. 1 is the implementation of the clock generator and modules on a single integrated circuit (IC). One such embodiment of such a system is shown in FIG. 6. In this particular embodiment, the clock generator 4 may be used to place all modules on the IC 90 into shut-down mode, with the exception of the Real-Time Clock module 92. Furthermore, the IC 90 shown in FIG. 6 may operate in a cordless telephone. The implementation of the IC 90 into the handset unit 96 of a cordless telephone is shown in FIG. 7. The implementation of the IC into the base unit of a cordless telephone 98 is shown in FIG. 8. The clock generator in the IC 90 may be used to place the handset unit 96 or base unit 98 into stand-by mode during idle time, that is the time between uses. When the handset unit or base unit is placed into stand-by mode, it consumes less power than when in the active mode. The conservation of power is important in such a system because the duration of idle time is limited by the life of the battery used to power the handset or base unit. Thus, the capability of the clock generator to place the handset unit or base unit of a cordless telephone into a stand-by mode serves to extend the idle time of the cordless telephone.

Claims: A clock generator (4) for an electrical system (2) said clock generator capable of providing at least one output clock signal (8), said clock generator comprising: means (16) for producing said at least one output clock signal; and means (12, 14, 18) for disabling said means for producing upon reception of a disable activation signal (30); characterized in that said clock generator further comprises: means for receiving a shut-down entry request signal (48) initiating a shut-down mode; and means (20) for verifying that said received shut-down entry request signal meets a predetermined protocol requirement, said means for verifying comprising at least two shut-down control registers (42, 46) accessed in response to said shut-down entry request signal, said means for verifying generating said disable activation signal (30) upon verification that a said received shut-down entry request signal (48) does meet said predetermined protocol requirement, which disable activation signal is conducted to said means for disabling; wherein said means for verifying (20) further comprises a interlock mechanism (44) capable of detecting writes to said at least two shut-down control registers, wherein one of said at least two shut-down control registers is a dummy register (46), said interlock mechanism (44) prevents write access to one of said at least two shut-down control registers unless said predetermined protocol requirement is met, and wherein said predetermined protocol requirement comprises a predetermined number of writes in a predetermined order to said at least shut-down control two registers. A method for controlling at least one output clock signal (8) comprising the steps of: providing a disable activation signal (30); and stopping (S3) said at least one output clock signal after receiving said disable activation signal; said method being characterized by receiving a shut-down entry request signal (48) initiating a shut-down mode; accessing at least two shut-down control register (42,46) upon receipt of said shut-down entry request signal (48) wherein one of said at least two registers is a dummy register (46); and verifying (UCCR[7]←1) that said shutdown entry request signal (48) satisfies a predetermined protocol requirement; wherein an interlock mechanism (44) is provided for detecting writes to said at least two shut-down control registers, wherein said interlock mechanism (44) prevents write access to one of said at least two shut-down control registers unless said predetermined protocol requirement is met, and wherein said predetermined protocol requirement comprises a predetermined number of writes in a predetermined order to said at least two shut-down control registers; and processing said shut-down entry request signal (SO→S1) by providing said disable activation signal (30) only if said shut-down entry request signal satisfies said predetermined protocol requirement; by said step of stopping (S3) said at least one output clock signal occurring only after a predetermined length of time (t o -t 2 ) after receiving said disable activation signal (30); and by the further steps of: receiving an enable request signal (28, t 3 ); and starting (t 3 ) said at least one output clock signal (8) after receiving said enable request signal. A method as recited in claim 2 wherein said step of starting said at least one output clock signal comprises the steps of: starting a first clock signal (22); and starting said at least one output clock signal after a delay (t 3 - t 4 ) following said step of starting said first clock signal, said at least one output clock signal being derived from said first clock signal. A method as recited in claim 2 or claim 3 wherein said step of stopping said at least one output clock signal comprises the step of not stopping said at least one output clock signal if said enable request signal is received after receiving said disable request signal and before the expiration of said predetermined length of time S1→S0, S2→S0). A method as recited in any one of claims 2 to 4 wherein the step of stopping said at least one output clock signal comprises the step of stopping said at least one output clock signal after said predetermined length of time following the most recent assertion of said disable activation signal (S2→S1). A method as recited in any one of claims 2 to 5 further comprising the step of generating said enable request signal in response to at least one interrupt request signal (54, 52) said enable request signal being generated even if said at least one interrupt request signal has been masked (56).

Inventors: GRUMLOSE DEAN, GULICK DALE E, HENDRICKSON ALAN F, PETERSON JOSEPH WILLIAM, GULICK, DALE E., HENDRICKSON, ALAN F., PETERSON, JOSEPH WILLIAM
Applicants: ADVANCED MICRO DEVICES INC, ADVANCED MICRO DEVICES, INC.
Application year: 1993
Main classification: G06F1
IPC codes: G06F1, H04B7, H04B1