![Samsung S3C9454B User Manual Download Page 126](http://html1.mh-extra.com/html/samsung/s3c9454b/s3c9454b_user-manual_4006826126.webp)
S39454B/F9454B
RESET and POWER-DOWN
8-3
POWER-DOWN MODES
STOP MODE
Stop mode is invoked by the instruction STOP (opcode 7FH). In Stop mode, the operation of the CPU and all
peripherals is halted. That is, the on-chip main oscillator stops and the supply current is reduced to less than 5
µ
A
except that the LVR(Low Voltage Reset) is enable. All system functions are halted when the clock "freezes", but
data stored in the internal register file is retained. Stop mode can be released in one of two ways: by a nRESET
signal or by an external interrupt.
Using RESET to Release Stop Mode
Stop mode is released when the nRESET signal is released and returns to High level. All system and peripheral
control registers are then Reset to their default values and the contents of all data registers are retained. A Reset
operation automatically selects a slow clock (f
OSC
/16) because CLKCON.3 and CLKCON.4 are cleared to "00B".
After the oscillation stabilization interval has elapsed, the CPU executes the system initialization routine by fetching
the 16-bit address stored in ROM locations 0100H and 0101H.
Using an External Interrupt to Release Stop Mode
External interrupts with an RC-delay noise filter circuit can be used to release Stop mode (Clock-related external
interrupts cannot be used). External interrupts INT0-INT1 in the S3C9454B/F9454B interrupt structure meet this
criteria.
Note that when Stop mode is released by an external interrupt, the current values in system and peripheral control
registers are not changed. When you use an interrupt to release Stop mode, the CLKCON.3 and CLKCON.4
register values remain unchanged, and the currently selected clock value is used. If you use an external interrupt
for Stop mode release, you can also program the duration of the oscillation stabilization interval. To do this, you
must put the appropriate value to BTCON register
before
entering Stop mode.
The external interrupt is serviced when the Stop mode release occurs. Following the IRET from the service routine,
the instruction immediately following the one that initiated Stop mode is executed.
IDLE MODE
Idle mode is invoked by the instruction IDLE (opcode 6FH). In Idle mode, CPU operations are halted while select
peripherals remain active. During Idle mode, the internal clock signal is gated off to the CPU, but not to interrupt
logic and timer/counters. Port pins retain the mode (input or output) they had at the time Idle mode was entered.
There are two ways to release Idle mode:
1.
Execute a Reset. All system and peripheral control registers are Reset to their default values and the contents
of all data registers are retained. The Reset automatically selects a slow clock (f
OSC
/16) because CLKCON.3
and CLKCON.4 are cleared to "00B". If interrupts are masked, a Reset is the only way to release Idle mode.
2.
Activate any enabled interrupt, causing Idle mode to be released. When you use an interrupt to release Idle
mode, the CLKCON.3 and CLKCON.4 register values remain unchanged, and the currently selected clock
value is used. The interrupt is then serviced. Following the IRET from the service routine, the instruction
immediately following the one that initiated Idle mode is executed.
NOTES
1. Only external interrupts that are not clock-related can be used to release stop mode. To release Idle
mode, however, any type of interrupt (that is, internal or external) can be used.
2. Before enter the STOP or IDLE mode, the ADC must be disabled. Otherwise, the STOP or IDLE
current will be increased significantly.
Summary of Contents for S3C9454B
Page 1: ...S3C9454B F9454B 8 BIT CMOS MICROCONTROLLER USER S MANUAL Revision 1 ...
Page 25: ...PRODUCT OVERVIEW S3C9454B F9454B 1 10 NOTES ...
Page 35: ...ADDRESS SPACES S3C9454B F9454B 2 10 NOTES ...
Page 65: ...CONTROL REGISTERS S3C9454B F9454B 4 18 NOTES ...
Page 123: ...CLOCK CIRCUIT S3C9454B F9454B 7 4 NOTES ...
Page 133: ...RESET and POWER DOWN S39454B F9454B 8 10 NOTES ...
Page 145: ...I O PORTS S3C9454B F9454B 9 12 NOTES ...
Page 173: ...A D CONVERTER S3C9454B F9454B 12 8 NOTES ...
Page 183: ...ELECTRICAL DATA S3C9454B F9454B 13 10 NOTES ...