– iii –
6.4
8-Bit Timer/Event Counters 5 and 6 Operations ............................................................
6.4.1
Interval timer operations ......................................................................................................
6.4.2
External event counter operation.........................................................................................
6.4.3
Square-wave output ............................................................................................................
6.4.4
PWM output operations .......................................................................................................
Cautions on 8-Bit Timer/Event Counters 5 and 6 ..........................................................
90
90
93
94
96
100
6.5
CHAPTER 7
7.1
7.2
7.3
7.4
WATCHDOG TIMER ...................................................................................................
Watchdog Timer Functions..............................................................................................
Watchdog Timer Configuration .......................................................................................
Watchdog Timer Control Registers.................................................................................
Watchdog Timer Operations ............................................................................................
7.4.1
Watchdog timer operation....................................................................................................
7.4.2
Interval timer operation ........................................................................................................
103
103
105
106
109
109
110
CHAPTER 8
8.1
8.2
8.3
CLOCK OUTPUT CONTROL CIRCUIT .....................................................................
Clock Output Control Circuit Functions .........................................................................
Clock Output Control Circuit Configuration...................................................................
Clock Output Function Control Registers ......................................................................
111
111
112
113
CHAPTER 9
9.1
9.2
9.3
BUZZER OUTPUT CONTROL CIRCUIT....................................................................
Buzzer Output Control Circuit Functions .......................................................................
Buzzer Output Control Circuit Configuration.................................................................
Buzzer Output Function Control Registers ....................................................................
115
115
115
116
CHAPTER 10 A/D CONVERTER.......................................................................................................
10.1 A/D Converter Functions..................................................................................................
10.2 A/D Converter Configuration ...........................................................................................
10.3 A/D Converter Control Registers.....................................................................................
10.4 A/D Converter Operations................................................................................................
10.4.1
Basic operations of A/D converter .......................................................................................
10.4.2
Input voltage and conversion results ...................................................................................
10.4.3
A/D converter operating mode.............................................................................................
10.5 A/D Converter Cautions ...................................................................................................
119
119
119
122
126
126
128
129
131
CHAPTER 11 SERIAL INTERFACE CHANNEL 2 ............................................................................
11.1 Serial Interface Channel 2 Functions..............................................................................
11.2 Serial Interface Channel 2 Configuration .......................................................................
11.3 Serial Interface Channel 2 Control Registers.................................................................
11.4 Serial Interface Channel 2 Operation ..............................................................................
11.4.1
Operation stop mode ...........................................................................................................
11.4.2
Asynchronous serial interface (UART) mode ......................................................................
11.4.3
3-wire serial I/O mode .........................................................................................................
135
135
136
140
148
148
150
163
CHAPTER 12 INTERRUPT FUNCTION ............................................................................................
12.1 Interrupt Function Types ..................................................................................................
12.2 Interrupt Sources and Configuration ..............................................................................
12.3 Interrupt Function Control Registers..............................................................................
171
171
172
175