
20
User’s Manual U14046EJ3V0UD
CHAPTER 18 SERIAL INTERFACE IIC0 (
PD780024AY, 780034AY SUBSERIES ONLY) ..... 340
18.1 Functions of Serial Interface IIC0 ........................................................................................ 340
18.2 Configuration of Serial Interface IIC0 .................................................................................. 343
18.3 Registers to Control Serial Interface IIC0 ........................................................................... 345
18.4 I2C Bus Mode Functions ....................................................................................................... 355
18.4.1 Pin configuration ........................................................................................................................ 355
18.5 I2C Bus Definitions and Control Methods ........................................................................... 356
18.5.1 Start conditions .......................................................................................................................... 356
18.5.2 Addresses .................................................................................................................................. 357
18.5.3 Transfer direction specification .................................................................................................. 357
18.5.4 Acknowledge (ACK) signal ........................................................................................................ 358
18.5.5 Stop condition ............................................................................................................................ 359
18.5.6 Wait signal (WAIT) ..................................................................................................................... 360
18.5.7 Interrupt request (INTIIC0) generation timing and wait control .................................................. 362
18.5.8 Address match detection method .............................................................................................. 363
18.5.9 Error detection ........................................................................................................................... 363
18.5.10 Extension code .......................................................................................................................... 363
18.5.11 Arbitration ................................................................................................................................... 364
18.5.12 Wake-up function ....................................................................................................................... 365
18.5.13 Communication reservation ....................................................................................................... 366
18.5.14 Other cautions ............................................................................................................................ 368
18.5.15 Communication operations ........................................................................................................ 369
18.5.16 Timing of I2C interrupt request (INTIIC0) occurrence ................................................................. 377
18.6 Timing Charts ........................................................................................................................ 395
CHAPTER 19 INTERRUPT FUNCTIONS ......................................................................................... 402
19.1 Interrupt Function Types ...................................................................................................... 402
19.2 Interrupt Sources and Configuration .................................................................................. 402
19.3 Interrupt Function Control Registers .................................................................................. 406
19.4 Interrupt Servicing Operations ............................................................................................ 412
19.4.1 Non-maskable interrupt request acknowledgment operation ..................................................... 412
19.4.2 Maskable interrupt request acknowledgment operation ............................................................ 415
19.4.3 Software interrupt request acknowledgment operation .............................................................. 417
19.4.4 Nesting interrupt servicing ......................................................................................................... 418
19.4.5 Interrupt request hold ................................................................................................................. 421
CHAPTER 20 EXTERNAL DEVICE EXPANSION FUNCTION ...................................................... 422
20.1 External Device Expansion Function .................................................................................. 422
20.2 External Device Expansion Function Control Registers ................................................... 425
20.3 External Device Expansion Function Timing ..................................................................... 427
20.4 Example of Connection with Memory ................................................................................. 432
CHAPTER 21 STANDBY FUNCTION ............................................................................................... 433
21.1 Standby Function and Configuration .................................................................................. 433
21.1.1 Standby function ........................................................................................................................ 433
21.1.2 Standby function control register ............................................................................................... 434
21.2 Standby Function Operations .............................................................................................. 435
21.2.1 HALT mode ................................................................................................................................ 435
21.2.2 STOP mode ............................................................................................................................... 438