vii
CONTENTS
CHAPTER 1
OVERVIEW ................................................................................................. 21
1.1
MB89980 Series Features ................................................................................................................... 22
1.2
MB89980 Series .................................................................................................................................. 24
1.3
Differences Between Products ............................................................................................................ 27
1.4
Block Diagram of MB89980 Series ..................................................................................................... 29
1.5
Pin Assignment .................................................................................................................................... 31
1.6
Package Dimensions ........................................................................................................................... 34
1.7
I/O Pins and Pin Functions .................................................................................................................. 38
CHAPTER 2
HANDLING DEVICES ................................................................................. 47
2.1
Notes on Handling Devices ................................................................................................................. 48
CHAPTER 3
CPU ............................................................................................................. 51
3.1
Memory Space ..................................................................................................................................... 52
3.1.1
Special Areas ................................................................................................................................. 54
3.1.2
Storing 16-bit Data in Memory ........................................................................................................ 56
3.2
Dedicated Registers ............................................................................................................................ 57
3.2.1
Condition Code Register (CCR) ..................................................................................................... 59
3.2.2
Register Bank Pointer (RP) ............................................................................................................ 62
3.3
General-purpose Registers .................................................................................................................. 63
3.4
Interrupts ............................................................................................................................................. 66
3.4.1
Interrupt Level Setting Registers (ILR1, ILR2, ILR3) ...................................................................... 67
3.4.2
Interrupt Processing ....................................................................................................................... 69
3.4.3
Multiple Interrupts ........................................................................................................................... 72
3.4.4
Interrupt Processing Time .............................................................................................................. 73
3.4.5
Stack Operation during Interrupt Processing .................................................................................. 75
3.4.6
Stack Area for Interrupt Processing ................................................................................................ 76
3.5
Resets ................................................................................................................................................. 77
3.5.1
External Reset Pin .......................................................................................................................... 79
3.5.2
Reset Operation ............................................................................................................................. 80
3.5.3
Pin States during Reset .................................................................................................................. 82
3.6
Clocks .................................................................................................................................................. 83
3.6.1
Clock Generator ............................................................................................................................. 85
3.6.2
Clock Controller .............................................................................................................................. 87
3.6.3
System Clock Control Register (SYCC) ......................................................................................... 90
3.6.4
Clock Modes ................................................................................................................................... 93
3.6.5
Oscillation Stabilization Delay Time ............................................................................................... 96
3.7
Standby Modes (Low-Power Consumption) ........................................................................................ 98
3.7.1
Operating States in Standby Modes ............................................................................................... 99
3.7.2
Sleep Mode .................................................................................................................................. 101
3.7.3
Stop Mode .................................................................................................................................... 102
3.7.4
Watch Mode ................................................................................................................................. 104
3.7.5
Standby Control Register (STBC) ................................................................................................ 105
3.7.6
State Transition Diagram 1 (Options: Power-on Reset, Two Clocks) ........................................... 107