– iii –
5.5
Timer/Event Counter .......................................................................................................
5.5.1
Configuration of timer/event counter .................................................................................
5.5.2
Operation in 8-bit timer/even counter mode .....................................................................
5.5.3
Operation in PWM pulse generator mode (PWM mode)..................................................
5.5.4
Operation in 16-bit timer/event counter mode ..................................................................
5.5.5
Operation in carrier generator mode (CG mode)..............................................................
5.5.6
Notes on using timer/event counter...................................................................................
Serial Interface.................................................................................................................
5.6.1
Function of serial interface.................................................................................................
5.6.2
Configuration of serial interface.........................................................................................
5.6.3
Register functions ...............................................................................................................
5.6.4
Operation stop mode ..........................................................................................................
5.6.5
Operation in 3-line serial I/O mode ...................................................................................
5.6.6
Operation in 2-line serial I/O mode ...................................................................................
5.6.7
Operation in SBI mode .......................................................................................................
5.6.8
Manipulating SCK pin output .............................................................................................
LCD Controller/Driver .....................................................................................................
5.7.1
Configuration of LCD controller/driver ...............................................................................
5.7.2
Function of LCD controller/driver.......................................................................................
5.7.3
Display mode register (LCDM)...........................................................................................
5.7.4
Display control register (LCDC) .........................................................................................
5.7.5
Display data memory..........................................................................................................
5.7.6
Common signal and segment signal .................................................................................
5.7.7
Supplying LCD drive voltages V
LC0
, V
LC1
, and V
LC2
..........................................................
5.7.8
Display mode ......................................................................................................................
Bit Sequential Buffer ......................................................................................................
118
118
128
140
146
159
171
178
178
179
183
192
194
204
211
246
247
247
249
250
252
254
256
260
263
276
5.6
5.7
5.8
CHAPTER 6 INTERRUPT AND TEST FUNCTIONS .....................................................................
277
6.1
6.2
6.3
6.4
6.5
6.6
6.7
6.8
6.9
6.10 Test Function ...................................................................................................................
6.10.1
Types of test sources .........................................................................................................
6.10.2
Hardware controlling test function .....................................................................................
Configuration of Interrupt Control Circuit ...................................................................
Types of Interrupt Sources and Vector Table .............................................................
Hardware Controlling Interrupt Function.....................................................................
Interrupt Sequence..........................................................................................................
Nesting Control of Interrupts ........................................................................................
Service of Interrupts Sharing Vector Address............................................................
Machine Cycles until Interrupt Service ........................................................................
Effective Usage of Interrupts.........................................................................................
Application of Interrupt ..................................................................................................
277
279
281
289
290
292
294
296
296
304
304
304
CHAPTER 7 STANDBY FUNCTION ..............................................................................................
307
7.1
7.2
7.3
7.4
Setting of and Operating Status in Standby Mode.....................................................
Releasing Standby Mode ...............................................................................................
Operation After Release of Standby Mode ..................................................................
Application of Standby Mode ........................................................................................
309
311
314
314