All-Module-Clocks-Stop Mode; Clock Output Control; Table 22.3 Φ Pin State In Each Processing State - Renesas H8S/2368 Series Hardware Manual

16-bit single-chip microcomputer
Table of Contents

Advertisement

After reset clearance, all modules other than the DMAC*, and DTC are in module stop mode.
The module registers which are set in module stop mode cannot be read or written to.
Note: * Not supported by the H8S/2366.
22.2.6

All-Module-Clocks-Stop Mode

When the ACSE bit in MSTPCRH is set to 1 and module stop mode is set for all the on-chip
peripheral functions controlled by MSTPCR or EXMSTPCR (MSTPCR = H'FFFF, EXMSTPCR
= H'FFFF), or for all the on-chip peripheral functions except the 8-bit timer (MSTPCR = H'FFFE,
EXMSTPCR = H'FFFF), executing a SLEEP instruction while the SSBY bit in SBYCR is cleared
to 0 will cause all the on-chip peripheral functions (except the 8-bit timer and watchdog timer), the
bus controller, and the I/O ports to stop operating, and a transition to be made to all-module-
clocks-stop mode, at the end of the bus cycle.
Operation or halting of the 8-bit timer can be selected by means of the MSTP0 bit.
All-module-clocks-stop mode is cleared by an external interrupt (NMI, IRQ0 to IRQ7 pins), RES
pin input, or an internal interrupt (8-bit timer, watchdog timer), and the CPU returns to the normal
program execution state via the exception handling state. All-module-clocks-stop mode is not
cleared if interrupts are disabled, if interrupts other than NMI are masked by the CPU, or if the
relevant interrupt is designated as a DTC activation source.
When the STBY pin is driven low, a transition is made to hardware standby mode.
φ φ φ φ Clock Output Control
22.3
Output of the φ clock can be controlled by means of the PSTOP bit in SCKCR, and DDR for the
corresponding port. When the PSTOP bit is set to 1, the φ clock stops at the end of the bus cycle,
and φ output goes high. φ clock output is enabled when the PSTOP bit is cleared to 0. When DDR
for the corresponding port is cleared to 0, φ clock output is disabled and input port mode is set.
Table 22.3 shows the state of the φ pin in each processing state.
Table 22.3 φ φ φ φ Pin State in Each Processing State
Register Setting
DDR
PSTOP
Normal
operating state
0
X
High impedance
φ
1
0
output
1
1
Fixed high
Software
Sleep mode
standby mode
High impedance
High impedance
φ
output
Fixed high
Fixed high
Fixed high
Hardware
standby mode
High impedance
High impedance
High impedance
Rev. 2.00, 05/03, page 695 of 820
All-module-
clocks-stop
mode
High impedance
φ
output
Fixed high

Advertisement

Table of Contents
loading

This manual is also suitable for:

H8s seriesH8s/2300 series

Table of Contents