contents
iii
2-3-1
Bus Controller ...................................................................................... II - 15
2-3-2
Control Registers .................................................................................. II - 16
2-4
Standby Function ................................................................................................... II - 17
2-4-1
Outline .................................................................................................. II - 17
2-4-2
CPU Mode Control Register ................................................................ II - 19
2-4-3
Transition Between SLOW and NORMAL ......................................... II - 20
2-4-4
Transition to STANDBY Modes .......................................................... II - 21
2-5
Clock Switching .................................................................................................... II - 23
2-6
Reset ...................................................................................................................... II - 25
2-6-1
Reset Operation .................................................................................... II - 25
2-6-2
Oscillation Stabilization Wait Time ..................................................... II - 27
Chapter 3
Interrupts
3-1
Overview ................................................................................................................. III - 2
3-1-1
Functions ............................................................................................... III - 3
3-1-2
Block Diagram ...................................................................................... III - 4
3-1-3
Operation ............................................................................................... III - 5
3-1-4
Interrupt Flag Setup ............................................................................... III - 14
3-2
Control Registers .................................................................................................. III - 15
3-2-1
Registers List ....................................................................................... III - 15
3-2-2
Interrupt Control Registers .................................................................. III - 16
3-3
External Interrupts ................................................................................................ III - 36
3-3-1
Overview .............................................................................................. III - 36
3-3-2
Block Diagram .................................................................................... III - 37
3-3-3
Control Registers ................................................................................. III - 40
3-3-4
Programmable Active Edge Interrupt ................................................. III - 44
3-3-5
Both Edges Interrupt ........................................................................... III - 45
3-3-6
Key Input Interrupt .............................................................................. III - 46
3-3-7
Noise Filter .......................................................................................... III - 48
3-3-8
AC Zero-Cross Detector ...................................................................... III - 51
Chapter 4
I/O Ports
4-1
Overview ................................................................................................................. IV - 2
4-1-1
I/O Port Diagram ................................................................................... IV - 2
4-1-2
I/O Port Status at Reset ......................................................................... IV - 3
4-1-3
Control Registers ................................................................................... IV - 4
4-2
Port 0 ....................................................................................................................... IV - 6
4-2-1
Description ............................................................................................ IV - 6
4-2-2
Registers ................................................................................................. IV - 7
4-2-3
Block Diagram ........................................................................................ IV - 9
4-3
Port 1 ..................................................................................................................... IV - 13