Index-14
15.9.1 Address field transmission ............................................................................................................ 994
15.9.2 Data transmission ....................................................................................................................... 1000
15.9.3 Data reception ............................................................................................................................ 1005
15.9.4 Stop condition generation ........................................................................................................... 1010
15.9.5 Calculating transfer rate ............................................................................................................. 1012
15.9.6 Procedure for processing errors that occurred during simplified I
2
C (IIC00, IIC01, IIC10, IIC11)
communication ........................................................................................................................... 1015
CHAPTER 16 SERIAL INTERFACE IICA ......................................................................................... 1016
16.1 Functions of Serial Interface IICA ......................................................................................... 1016
16.2 Configuration of Serial Interface IICA .................................................................................. 1019
16.3 Registers Controlling Serial Interface IICA .......................................................................... 1022
16.3.1 Peripheral enable register 0 (PER0) ........................................................................................... 1022
16.3.2 IICA control register 00 (IICCTL00) ............................................................................................ 1023
16.3.3 IICA status register 0 (IICS0) ...................................................................................................... 1028
16.3.4 IICA flag register 0 (IICF0) .......................................................................................................... 1030
16.3.5 IICA control register 01 (IICCTL01) ............................................................................................ 1032
16.3.6 IICA low-level width setting register 0 (IICWL0) ......................................................................... 1034
16.3.7 IICA high-level width setting register 0 (IICWH0) ....................................................................... 1034
16.3.8 Port mode register 6 (PM6) ........................................................................................................ 1035
16.3.9 Port output mode register (POM6) ............................................................................................. 1036
16.4 I
2
C Bus Mode Functions ........................................................................................................ 1037
16.4.1 Pin configuration ......................................................................................................................... 1037
16.4.2 Setting transfer clock by using IICWL0 and IICWH0 registers .................................................... 1038
16.5 I
2
C Bus Definitions and Control Methods ............................................................................ 1040
16.5.1 Start conditions ........................................................................................................................... 1040
16.5.2 Addresses .................................................................................................................................. 1041
16.5.3 Transfer direction specification ................................................................................................... 1041
16.5.4 Acknowledge (ACK) ................................................................................................................... 1042
16.5.5 Stop condition ............................................................................................................................. 1043
16.5.6 Wait ............................................................................................................................................ 1044
16.5.7 Canceling wait ............................................................................................................................ 1046
16.5.8 Interrupt request (INTIICA0) generation timing and wait control ................................................. 1047
16.5.9 Address match detection method ............................................................................................... 1048
16.5.10 Error detection .......................................................................................................................... 1048
16.5.11 Extension code ......................................................................................................................... 1048
16.5.12 Arbitration ................................................................................................................................. 1049
16.5.13 Wakeup function ....................................................................................................................... 1051
16.5.14 Communication reservation ...................................................................................................... 1054
16.5.15 Cautions ................................................................................................................................... 1058
16.5.16 Communication operations ....................................................................................................... 1059