16
User’s Manual U12697EJ4V1UD
18.5.6
Wait signal (WAIT) .................................................................................................................... 312
18.5.7
I2C interrupt request (INTIIC0) .................................................................................................. 314
18.5.8
Interrupt request (INTIIC0) generation timing and wait control ................................................. 332
18.5.9
Address match detection .......................................................................................................... 333
18.5.10 Error detection .......................................................................................................................... 333
18.5.11 Extended codes ........................................................................................................................ 334
18.5.12 Arbitration .................................................................................................................................. 334
18.5.13 Wake-up function ...................................................................................................................... 336
18.5.14 Communication reservation ...................................................................................................... 337
18.5.15 Additional cautions .................................................................................................................... 340
18.5.16 Communication operation ......................................................................................................... 341
18.6 Timing Charts ........................................................................................................................ 343
CHAPTER 19 CLOCK OUTPUT FUNCTION .................................................................................... 350
19.1 Functions ............................................................................................................................... 350
19.2 Configuration ........................................................................................................................ 351
19.3 Control Registers .................................................................................................................. 351
CHAPTER 20 BUZZER OUTPUT FUNCTIONS ............................................................................... 354
20.1 Function ................................................................................................................................. 354
20.2 Configuration ........................................................................................................................ 354
20.3 Control Registers .................................................................................................................. 355
CHAPTER 21 EDGE DETECTION FUNCTION ................................................................................ 357
21.1 Control Registers .................................................................................................................. 357
21.2 Edge Detection of P00 to P05 Pins ..................................................................................... 358
CHAPTER 22 INTERRUPT FUNCTIONS .......................................................................................... 359
22.1 Interrupt Request Sources ................................................................................................... 360
22.1.1
Software interrupts .................................................................................................................... 362
22.1.2
Operand error interrupts ........................................................................................................... 362
22.1.3
Non-maskable interrupts ........................................................................................................... 362
22.1.4
Maskable interrupts ................................................................................................................... 362
22.2 Interrupt Servicing Modes ................................................................................................... 363
22.2.1
Vectored interrupt servicing ...................................................................................................... 363
22.2.2
Macro servicing ......................................................................................................................... 363
22.2.3
Context switching ...................................................................................................................... 363
22.3 Interrupt Servicing Control Registers ................................................................................. 364
22.3.1
Interrupt control registers .......................................................................................................... 366
22.3.2
Interrupt mask registers (MK0, MK1) ........................................................................................ 370
22.3.3
In-service priority register (ISPR) .............................................................................................. 372
22.3.4
Interrupt mode control register (IMC) ........................................................................................ 373
22.3.5
Watchdog timer mode register (WDM) ..................................................................................... 374
22.3.6
Interrupt selection control register (SNMI) ................................................................................ 375
22.3.7
Program status word (PSW) ..................................................................................................... 376
22.4 Software Interrupt Acknowledgment Operations .............................................................. 377
22.4.1
BRK instruction software interrupt acknowledgment operation ................................................ 377
22.4.2
BRKCS instruction software interrupt (software context switching) acknowledgment
operation ................................................................................................................................... 377