TMP86FS49AFG Toshiba Semiconductor, TMP86FS49AFG Datasheet - Page 34

no-image

TMP86FS49AFG

Manufacturer Part Number
TMP86FS49AFG
Description
8-Bit Microcontroller
Manufacturer
Toshiba Semiconductor
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
TMP86FS49AFG
Manufacturer:
TOSHIBA/东芝
Quantity:
20 000
Company:
Part Number:
TMP86FS49AFG
Quantity:
3 200
Part Number:
TMP86FS49AFG(Z)
Manufacturer:
Toshiba
Quantity:
10 000
2.2 System Clock Controller
www.DataSheet4U.com
2.2.4 Operating Mode Control
2.2.4.1
Example 1 :Starting STOP mode from NORMAL mode by testing a port P20.
SSTOPH:
(STOP3 to STOP0) which is controlled by the STOP mode release control register (STOPCR).
The
started by setting SYSCR1<STOP> to “1”. During STOP mode, the following status is maintained.
selected with the SYSCR1<RELM>. Do not use any key-on wakeup input (STOP3 to STOP0) for releas-
ing STOP mode in edge-sensitive mode.
STOP mode
(1)
STOP mode is controlled by the system control register 1, the
STOP mode includes a level-sensitive mode and an edge-sensitive mode, either of which can be
Note 1: The STOP mode can be released by either the STOP or key-on wakeup pin (STOP3 to STOP0).
Note 2: During STOP period (from start of STOP mode to end of warm up), due to changes in the external
STOP
pin input which is enabled by STOPCR. This mode is used for capacitor backup when the main
power supply is cut off and long term battery backup.
to STOP0
ately. Thus, to start STOP mode in the level-sensitive release mode, it is necessary for the program to
first confirm that the
methods can be used for confirmation.
1. Oscillations are turned off, and all internal operations are halted.
2. The data memory, registers, the program status word and port output latches are all held in the
3. The prescaler and the divider of the timing generator are cleared to “0”.
4. The program counter holds the address 2 ahead of the instruction (e.g., [SET (SYSCR1).7])
Level-sensitive release mode (RELM = “1”)
In this mode, STOP mode is released by setting the
Even if an instruction for starting STOP mode is executed while
LD
TEST
JRS
DI
SET
status in effect before STOP mode was entered.
which started STOP mode.
However, because the STOP pin is different from the key-on wakeup and can not inhibit the release
input, the STOP pin must be used for releasing STOP mode.
interrupt pin signal, interrupt latches may be set to “1” and interrupts may be accepted immediately
after STOP mode is released. Before starting STOP mode, therefore, disable interrupts. Also, before
enabling interrupts after STOP mode is released, clear unnecessary interrupt latches.
pin is also used both as a port P20 and an
1. Testing a port.
2. Using an external interrupt input
input is low, STOP mode does not start but instead the warm-up sequence starts immedi-
(P2PRD). 0
(SYSCR1), 01010000B
F, SSTOPH
(SYSCR1). 7
STOP
pin input is low or STOP3 to STOP0 input is high. The following two
Page 18
; Sets up the level-sensitive release mode
; Wait until the
; IMF ← 0
; Starts STOP mode
INT5
(
INT5
INT5
STOP
pin input goes low level
(external interrupt input 5) pin. STOP mode is
STOP
is a falling edge-sensitive input).
STOP
pin high or setting the STOP3 to STOP0
pin input and key-on wakeup input
STOP
pin input is high or
TMP86FS49AFG
STOP3

Related parts for TMP86FS49AFG