iv
MB90560 series
CHAPTER 4
4.1
4.2
4.3
4.4
4.5
4.6
CLOCKS ......................................................................................................81
Clocks .................................................................................................................................................. 82
Block Diagram of the Clock Generator ................................................................................................ 84
Clock Selection Register (CKSCR) ...................................................................................................... 86
Clock Mode .......................................................................................................................................... 88
Oscillation Stabilization Wait Interval ................................................................................................... 90
Connection of an Oscillator or an External Clock ................................................................................ 91
CHAPTER 5
5.1
5.2
5.3
5.4
5.5
5.5.1
5.5.2
5.5.3
5.6
5.7
5.8
LOW POWER CONSUMPTION MODE ......................................................93
Low Power Consumption Mode ........................................................................................................... 94
Block Diagram of the Low Power Consumption Control Circuit ........................................................... 96
Low Power Mode Control Register (LPMCR) ...................................................................................... 98
CPU Intermittent Operation Mode ...................................................................................................... 102
Standby Mode .................................................................................................................................... 103
Sleep mode ................................................................................................................................... 104
Timebase timer mode ................................................................................................................... 108
Stop mode .................................................................................................................................... 110
Status Change Diagram ..................................................................................................................... 112
Status of Pins in Standby Mode and Reset ....................................................................................... 115
Notes on Using Low Power Consumption Mode ............................................................................... 116
CHAPTER 6
6.1
6.2
6.3
6.3.1
6.3.2
6.4
6.4.1
6.4.2
6.4.3
6.4.4
6.4.5
6.5
6.6
6.6.1
6.6.2
6.7
6.7.1
6.7.2
6.8
6.9
6.10
INTERRUPTS ............................................................................................119
Interrupts ............................................................................................................................................ 120
Interrupt Causes and Interrupt Vectors .............................................................................................. 122
Interrupt Control Registers and Peripheral Functions ........................................................................ 124
Interrupt control registers (ICR00 to ICR15) ................................................................................ 126
Interrupt control register functions ................................................................................................ 128
Hardware Interrupts ........................................................................................................................... 132
Operation of hardware interrupts .................................................................................................. 136
Processing for interrupt operation ................................................................................................. 138
Procedure for using hardware interrupts ...................................................................................... 139
Multiple interrupts ......................................................................................................................... 140
Hardware interrupt processing time .............................................................................................. 142
Software Interrupts ............................................................................................................................. 144
Interrupt of Extended Intelligent I/O Service (EI2OS) ......................................................................... 146
Extended intelligent I/O service (EI2OS) descriptor (ISD) ............................................................. 148
Registers of the extended intelligent I/O service (EI2OS) descriptor (ISD) ................................... 150
Operation of the extended intelligent I/O service (EI2OS) .................................................................. 154
Procedure for using the extended intelligent I/O service (EI2OS) ................................................. 155
Processing time of the extended intelligent I/O service (EI2OS) ................................................... 156
Exception Processing Interrupt .......................................................................................................... 158
Stack Operations for Interrupt Processing ......................................................................................... 160
Sample Programs for Interrupt Processing ........................................................................................ 162
CHAPTER 7
7.1
7.2
SETTING A MODE ....................................................................................167
Setting a Mode ................................................................................................................................... 168
Mode Pins (MD2 to MD0) .................................................................................................................. 169