English
Language : 

4554 Datasheet, PDF (56/138 Pages) Renesas Technology Corp – SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER
4554 Group
(6) Return signal
An external wakeup signal or timer 5 interrupt request flag (T5F) is
used to return from the clock operating mode.
An external wakeup signal is used to return from the RAM back-up
mode because the oscillation is stopped.
Table 16 shows the return condition for each return source.
(7) Control registers
• Key-on wakeup control register K0
Register K0 controls the port P0 key-on wakeup function. Set the
contents of this register through register A with the TK0A instruc-
tion. In addition, the TAK0 instruction can be used to transfer the
contents of register K0 to register A.
• Key-on wakeup control register K1
Register K1 controls the port P1 key-on wakeup function. Set the
contents of this register through register A with the TK1A instruc-
tion. In addition, the TAK1 instruction can be used to transfer the
contents of register K0 to register A.
• Key-on wakeup control register K2
Register K2 controls the INT0 and INT1 pin key-on wakeup func-
tion. Set the contents of this register through register A with the
TK2A instruction. In addition, the TAK2 instruction can be used to
transfer the contents of register K2 to register A.
• Pull-up control register PU0
Register PU0 controls the ON/OFF of the port P0 pull-up transis-
tor. Set the contents of this register through register A with the
TPU0A instruction. In addition, the TAPU0 instruction can be
used to transfer the contents of register PU0 to register A.
• Pull-up control register PU1
Register PU1 controls the ON/OFF of the port P1 pull-up transis-
tor. Set the contents of this register through register A with the
TPU1A instruction. In addition, the TAPU1 instruction can be
used to transfer the contents of register PU1 to register A.
• External interrupt control register I1
Register I1 controls the valid waveform of the external 0 inter-
rupt, the input control of INT0 pin and the return input level. Set
the contents of this register through register A with the TI1A in-
struction. In addition, the TAI1 instruction can be used to transfer
the contents of register I1 to register A.
• External interrupt control register I2
Register I2 controls the valid waveform of the external 1 inter-
rupt, the input control of INT1 pin and the return input level. Set
the contents of this register through register A with the TI2A in-
struction. In addition, the TAI2 instruction can be used to transfer
the contents of register I2 to register A.
Table 16 Return source and return condition
Return source
Return condition
Remarks
Ports P00–P03 Return by an external “L” level in- The key-on wakeup function can be selected by one port unit. Set the port
Ports P10–P13 put.
using the key-on wakeup function to “H” level before going into the power
down state.
INT0 pin
INT1 pin
Return by an external “H” level or Select the return level (“L” level or “H” level) with register I1 (I2) and return
“L” level input, or rising edge condition (return by level or edge) with register K2 according to the external
( “ L ” → “ H ” ) o r f a l l i n g e d g e state before going into the power down state.
(“H”→“L”).
When the return level is input, the
interrupt request flag (EXF0,
EXF1) is not set.
Timer 5 interrupt Return by timer 5 underflow or by Clear T5F with the SNZT5 instruction before system enters into the power
request flag (T5F) setting T5F to “1”.
down state.
It can be used in the clock operat- When system enters into the power down state while T5F is “1”, system re-
ing mode.
turns from the state immediately because it is recognized as return condition.
Rev.3.00 Aug 06, 2004 page 56 of 136
REJ03B0043-0300Z