Datasheet
Index-9
12.6.2 UART reception ............................................................................................................................ 487
12.6.3 SNOOZE mode function ............................................................................................................... 494
12.6.4 Calculating baud rate ................................................................................................................... 502
12.6.5 Procedure for processing errors that occurred during UART (UART0) communication ............... 506
12.7 LIN Communication Operation ............................................................................................... 507
12.7.1 LIN transmission ........................................................................................................................... 507
12.7.2 LIN reception ................................................................................................................................ 510
CHAPTER 13 SERIAL INTERFACE IICA ........................................................................................... 516
13.1 Functions of Serial Interface IICA ........................................................................................... 516
13.2 Configuration of Serial Interface IICA .................................................................................... 519
13.3 Registers Controlling Serial Interface IICA ............................................................................ 522
13.3.1 Peripheral enable register 0 (PER0) ............................................................................................. 522
13.3.2 IICA control register 00 (IICCTL00) .............................................................................................. 523
13.3.3 IICA status register 0 (IICS0) ........................................................................................................ 528
13.3.4 IICA flag register 0 (IICF0) ............................................................................................................ 530
13.3.5 IICA control register 01 (IICCTL01) .............................................................................................. 532
13.3.6 IICA low-level width setting register 0 (IICWL0) ........................................................................... 534
13.3.7 IICA high-level width setting register 0 (IICWH0) ......................................................................... 534
13.3.8 Port mode register 6 (PM6) .......................................................................................................... 535
13.4 I
2
C Bus Mode Functions .......................................................................................................... 536
13.4.1 Pin configuration ........................................................................................................................... 536
13.4.2 Setting transfer clock by using IICWL0 and IICWH0 registers ...................................................... 537
13.5 I
2
C Bus Definitions and Control Methods .............................................................................. 539
13.5.1 Start conditions ............................................................................................................................. 539
13.5.2 Addresses .................................................................................................................................... 540
13.5.3 Transfer direction specification ..................................................................................................... 540
13.5.4 Acknowledge (ACK) ..................................................................................................................... 541
13.5.5 Stop condition ............................................................................................................................... 542
13.5.6 Wait .............................................................................................................................................. 543
13.5.7 Canceling wait .............................................................................................................................. 545
13.5.8 Interrupt request (INTIICA0) generation timing and wait control ................................................... 546
13.5.9 Address match detection method ................................................................................................. 547
13.5.10 Error detection ............................................................................................................................ 547
13.5.11 Extension code ........................................................................................................................... 547
13.5.12 Arbitration ................................................................................................................................... 548
13.5.13 Wakeup function ......................................................................................................................... 550
13.5.14 Communication reservation ........................................................................................................ 553
13.5.15 Cautions ..................................................................................................................................... 557
13.5.16 Communication operations ......................................................................................................... 558
13.5.17 Timing of I
2
C interrupt request (INTIICA0) occurrence ............................................................... 565