
Preliminary User’s Manual U16892EJ1V0UD
12
15.4.3
Continuous transfer mode............................................................................................................ 402
15.5
Output Pins ............................................................................................................................... 410
CHAPTER 16 I
2C BUS .......................................................................................................................... 411
16.1
Features .................................................................................................................................... 411
16.2
Configuration............................................................................................................................ 414
16.3
Registers ................................................................................................................................... 416
16.4
Functions .................................................................................................................................. 429
16.4.1
Pin configuration .......................................................................................................................... 429
16.5
I
2C Bus Definitions and Control Methods .............................................................................. 430
16.5.1
Start condition.............................................................................................................................. 430
16.5.2
Addresses.................................................................................................................................... 431
16.5.3
Transfer direction specification .................................................................................................... 431
16.5.4
Acknowledge signal (ACK) .......................................................................................................... 432
16.5.5
Stop condition .............................................................................................................................. 433
16.5.6
Wait signal (WAIT) ....................................................................................................................... 434
16.6
I
2C Interrupt Request Signals (INTIIC0) .................................................................................. 436
16.6.1
Master device operation............................................................................................................... 436
16.6.2
Slave device operation (when receiving slave address data (match with address)) .................... 439
16.6.3
Slave device operation (when receiving extension code) ............................................................ 443
16.6.4
Operation without communication................................................................................................ 447
16.6.5
Arbitration loss operation (operation as slave after arbitration loss) ............................................ 447
16.6.6
Operation when arbitration loss occurs (no communication after arbitration loss) ....................... 449
16.7
Interrupt Request Signal (INTIIC0) Generation Timing and Wait Control........................... 454
16.8
Address Match Detection Method .......................................................................................... 455
16.9
Error Detection ......................................................................................................................... 455
16.10 Extension Code ........................................................................................................................ 456
16.11 Arbitration ................................................................................................................................. 457
16.12 Wakeup Function ..................................................................................................................... 458
16.13 Communication Reservation .................................................................................................. 459
16.13.1 When communication reservation function is enabled (IICF0.IICRSV0 bit = 0) ........................... 459
16.13.2 When communication reservation function is disabled (IICF0.IICRSV0 bit = 1) .......................... 462
16.14 Cautions .................................................................................................................................... 463
16.15 Communication Operations .................................................................................................... 463
16.15.1 Master operation 1 ....................................................................................................................... 463
16.15.2 Master operation 2 ....................................................................................................................... 465
16.15.3 Slave operation............................................................................................................................ 466
16.16 Timing of Data Communication .............................................................................................. 469
CHAPTER 17 INTERRUPT/EXCEPTION PROCESSING FUNCTION............................................... 476
17.1
Overview ................................................................................................................................... 476
17.1.1
Features....................................................................................................................................... 476
17.2
Non-Maskable Interrupts ......................................................................................................... 479
17.2.1
Operation ..................................................................................................................................... 482
17.2.2
Restore ........................................................................................................................................ 483
17.2.3
NP flag ......................................................................................................................................... 484
17.3
Maskable Interrupts ................................................................................................................. 485
17.3.1
Operation ..................................................................................................................................... 485