
13
User’s Manual U15017EJ2V0UD
12.4.2
Functions of Serial Interface 2 (SIO2) ........................................................................... 198
Cautions on Using Serial Interface 2 (SIO2) ................................................................ 199
3-wire serial I/O mode ........................................................................................................... 195
12.5
12.6
CHAPTER 13 ASYNCHRONOUS SERIAL INTERFACE................................................................... 200
13.1
Functions of Asynchronous Serial Interface ............................................................... 200
13.2
Configuration of Asynchronous Serial Interface......................................................... 202
13.3
Asynchronous Serial Interface Control Registers ...................................................... 203
13.4
Operation of Asynchronous Serial Interface................................................................ 208
13.4.1
Operation stop mode............................................................................................................. 208
13.4.2
Asynchronous serial interface (UART) mode....................................................................... 209
CHAPTER 14 VFD CONTROLLER/DRIVER...................................................................................... 220
14.1
Function of VFD Controller/Driver ................................................................................. 220
14.2
Configuration of VFD Controller/Driver ........................................................................ 221
14.3
VFD Controller/Driver Control Registers ...................................................................... 222
14.3.1
Control registers .................................................................................................................... 222
14.3.2
One display period and blanking width ................................................................................ 225
14.4
Display Data Memory....................................................................................................... 226
14.5
Key Scan Flag and Key Scan Data ................................................................................ 227
14.5.1
Key scan flag ......................................................................................................................... 227
14.5.2
Key scan data ........................................................................................................................ 227
14.6
Leakage Emission of Fluorescent Indicator Panel...................................................... 228
14.7
Calculation of Total Power Dissipation......................................................................... 231
CHAPTER 15 EDGE DETECTION FUNCTION.................................................................................. 234
15.1
Control Registers ............................................................................................................. 234
15.2
Edge Detection of P64, P65, and P67 Pins ................................................................... 235
CHAPTER 16 INTERRUPT FUNCTION ............................................................................................. 236
16.1
Interrupt Request Sources.............................................................................................. 237
16.1.1
Software interrupts ................................................................................................................ 239
16.1.2
Operand error interrupts........................................................................................................ 239
16.1.3
Non-maskable interrupts ....................................................................................................... 239
16.1.4
Maskable interrupts ............................................................................................................... 239
16.2
Interrupt Service Modes .................................................................................................. 240
16.2.1
Vectored interrupt service ..................................................................................................... 240
16.2.2
Macro service ........................................................................................................................ 240
16.2.3
Context switching .................................................................................................................. 240
16.3
Interrupt Servicing Control Registers ........................................................................... 241
16.3.1
Interrupt control registers ...................................................................................................... 243
16.3.2
Interrupt mask registers (MK0, MK1L) ................................................................................. 246
16.3.3
In-service priority register (ISPR) ......................................................................................... 248
16.3.4
Interrupt mode control register (IMC) ................................................................................... 249
16.3.5
Watchdog timer mode register (WDM) ................................................................................. 250
16.3.6
Interrupt select control register (SNMI) ................................................................................ 251
16.3.7
Program status word (PSW) ................................................................................................. 252
16.4
Software Interrupt Acknowledgment Operations ........................................................ 253