Renesas RL78 Series User Manual page 15

16-bit single-chip microcontrollers
Hide thumbs Also See for RL78 Series:
Table of Contents

Advertisement

13.7.2 Data transmission ......................................................................................................................... 506
13.7.3 Data reception .............................................................................................................................. 510
13.7.4 Stop condition generation ............................................................................................................. 516
13.7.5 Calculating transfer rate ............................................................................................................... 517
13.7.6 Procedure for processing errors that occurred during simplified I
communication ............................................................................................................................. 519
CHAPTER 14 SERIAL INTERFACE IICA ........................................................................................... 520
14.1 Functions of Serial Interface IICA ........................................................................................... 520
14.2 Configuration of Serial Interface IICA .................................................................................... 523
14.3 Registers Controlling Serial Interface IICA ............................................................................ 526
14.3.1 Peripheral enable register 0 (PER0) ............................................................................................. 527
14.3.2 IICA control register n0 (IICCTLn0) .............................................................................................. 527
14.3.3 IICA status register n (IICSn) ........................................................................................................ 532
14.3.4 IICA flag register n (IICFn) ............................................................................................................ 534
14.3.5 IICA control register n1 (IICCTLn1) .............................................................................................. 536
14.3.6 IICA low-level width setting register n (IICWLn) ........................................................................... 538
14.3.7 IICA high-level width setting register n (IICWHn) ......................................................................... 538
14.3.8 Port mode register 6 (PM6) .......................................................................................................... 539
2
14.4 I
C Bus Mode Functions .......................................................................................................... 540
14.4.1 Pin configuration ........................................................................................................................... 540
14.4.2 Setting transfer clock by using IICWLn and IICWHn registers ...................................................... 541
2
14.5 I
C Bus Definitions and Control Methods .............................................................................. 543
14.5.1 Start conditions ............................................................................................................................. 543
14.5.2 Addresses .................................................................................................................................... 544
14.5.3 Transfer direction specification ..................................................................................................... 544
14.5.4 Acknowledge (ACK) ..................................................................................................................... 545
14.5.5 Stop condition ............................................................................................................................... 546
14.5.6 Wait .............................................................................................................................................. 547
14.5.7 Canceling wait .............................................................................................................................. 549
14.5.8 Interrupt request (INTIICAn) generation timing and wait control ................................................... 550
14.5.9 Address match detection method ................................................................................................. 551
14.5.10 Error detection ............................................................................................................................ 551
14.5.11 Extension code ........................................................................................................................... 551
14.5.12 Arbitration ................................................................................................................................... 552
14.5.13 Wakeup function ......................................................................................................................... 554
14.5.14 Communication reservation ........................................................................................................ 557
14.5.15 Cautions ..................................................................................................................................... 561
14.5.16 Communication operations ......................................................................................................... 562
14.5.17 Timing of I
14.6 Timing Charts ........................................................................................................................... 590
2
C interrupt request (INTIICAn) occurrence ............................................................... 569
2
C (IIC00, IIC20)
9
Index-

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rl78/g1dR5f11aggR5f11aghR5f11agj

Table of Contents