English
Language : 

UPD17145 Datasheet, PDF (57/102 Pages) NEC – SMALL, GENERAL-PURPOSE 4-BIT SINGLE-CHIP MICROCONTROLLERS
µPD17145(A1), 17147(A1), 17149(A1)
Table 17-1. Status in Standby Mode
Setting
instruction
Clock
oscillation
circuit
CPU
RAM
Port
TM0
TM1
BTM
SIO
A/D
INT
STOP Mode
STOP instruction
Stops oscillation
• Stops operation
• Retains previous status
• Retains previous statusNote
• Can operate only when INT input is selected
as count clock
• Stops when system clock is selected
(count value is retained)
• Stops operation
(count value is reset to “0”)
(count up is disabled)
• Stops operation (count value is retained)
• Can operate only when external clock is
selected as serial clockNote
• Stops operationNote (ADCR <- 00H)
• Can operate
HALT Mode
HALT instruction
Continues oscillation
• Operable
• Operable
• Operable
• Operable
• Operable
• Operable
Note As soon as the STOP 0000B instruction is executed, the pins of these peripherals are set in the input
port mode, even when the control signal functions of the pins are used.
Cautions 1.
2.
Be sure to execute the NOP instruction immediately before the STOP and HALT
instructions.
If both the interrupt request flag and interrupt enable flag corresponding to an interrupt
are set, and if the interrupt is specified to release the standby mode, the standby mode
is not set even if the STOP or HALT instruction is executed.
57