A - 4
12.4
Address Match Interrupt ............................................................................98
12.5
Notes on Interrupts..................................................................................100
12.5.1
Reading Address 00000h .................................................................100
12.5.2
SP Setting.........................................................................................100
12.5.3
External Interrupt and Key Input Interrupt ........................................100
12.5.4
Watchdog Timer Interrupt.................................................................100
12.5.5
Changing Interrupt Sources..............................................................101
12.5.6
Changing Interrupt Control Register Contents .................................102
13. Watchdog Timer
103
13.1
Count Source Protection Mode Disabled ................................................106
13.2
Count Source Protection Mode Enabled .................................................107
14. Timers
108
14.1
Timer X....................................................................................................109
14.1.1
Timer Mode ......................................................................................112
14.1.2
Pulse Output Mode...........................................................................113
14.1.3
Event Counter Mode.........................................................................115
14.1.4
Pulse Width Measurement Mode .....................................................116
14.1.5
Pulse Period Measurement Mode ....................................................119
14.1.6
Notes on Timer X..............................................................................122
14.2
Timer Z ....................................................................................................123
14.2.1
Timer Mode ......................................................................................128
14.2.2
Programmable Waveform Generation Mode....................................130
14.2.3
Programmable One-shot Generation Mode .....................................133
14.2.4
Programmable Wait One-Shot Generation Mode.............................136
14.2.5
Notes on Timer Z..............................................................................140
14.3
Timer C....................................................................................................141
14.3.1
Input Capture Mode..........................................................................147
14.3.2
Output Compare Mode .....................................................................149
14.3.3
Notes on Timer C .............................................................................151
15. Serial Interface
152
15.1
Clock Synchronous Serial I/O Mode .......................................................158
15.1.1
Polarity Select Function....................................................................161
15.1.2
LSB First/MSB First Select Function ................................................161