750
22.11
Direct Transitions
22.11.1
Overview of Direct Transitions
There are three modes, high-speed, medium-speed, and sub-active, in which the CPU executes
programs. When a direct transition is made, there is no interruption of program execution when
shifting between high-speed and sub-active modes. Direct transitions are enabled by setting the
LPWRCR DTON bit to 1, then executing the SLEEP instruction. After a transition, direct
transition interrupt exception processing starts.
Direct Transitions from High-Speed Mode to Sub-Active Mode: Execute the SLEEP
instruction in high-speed mode when the SBYCR SSBY bit = 1, LPWRCR LSON bit = 1, and
DTON bit = 1, and TSCR (WDT1) PSS bit = 1 to make a transition to sub-active mode.
Direct Transitions from Sub-Active Mode to High-Speed Mode: Execute the SLEEP
instruction in sub-active mode when the SBYCR SSBY bit = 1, LPWRCR LSON bit = 0, and
DTON bit = 1, and TSCR (WDT1) PSS bit = 1 to make a direct transition to high-speed mode
after the time set in SBYCR STS2 to STS0 has elapsed.
22.12
ø Clock Output Disabling Function
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-6 shows the state of the ø pin in each processing state.
Table 22-6 ø Pin State in Each Processing State
DDR0
1
1
PSTOP
—
0
1
Hardware standby mode
High impedance
High impedance
High impedance
Software standby mode, watch
mode, and direct transition
High impedance
Fixed high
Fixed high
Sleep mode and sub-sleep mode
High impedance
ø output
Fixed high
High-speed mode, medium-speed
mode
High impedance
ø output
Fixed high
Sub-active mode
High impedance
ø
SUB
output
Fixed high
Summary of Contents for H8S/2645
Page 4: ......
Page 16: ......
Page 58: ...26 ...
Page 110: ...78 ...
Page 120: ...88 ...
Page 132: ...100 ...
Page 160: ...128 ...
Page 172: ...140 ...
Page 418: ...386 ...
Page 444: ...412 ...
Page 530: ...498 ...
Page 562: ...530 ...
Page 642: ...610 ...
Page 662: ...630 ...
Page 688: ...656 ...
Page 756: ...724 ...
Page 784: ...752 ...
Page 812: ...780 ...
Page 837: ...805 A 2 Instruction Codes Table A 2 shows the instruction codes ...
Page 1152: ...1120 ...