EasyManua.ls Logo

Renesas RL78/G10 - Page 13

Renesas RL78/G10
637 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Index-8
12.5.5 Slave reception ............................................................................................................................. 345
12.5.6 Slave transmission/reception ........................................................................................................ 352
12.5.7 Calculating transfer clock frequency ............................................................................................. 362
12.5.8 Procedure for processing errors that occurred during 3-wire serial I/O (CSI00, CSI01)
communication ............................................................................................................................. 364
12.6 Operation of UART (UART0) Communication ....................................................................... 365
12.6.1 UART transmission ...................................................................................................................... 366
12.6.2 UART reception ............................................................................................................................ 376
12.6.3 Calculating baud rate ................................................................................................................... 383
12.6.4 Procedure for processing errors that occurred during UART (UART0) communication ............... 387
12.7 Operation of Simplified I
2
C (IIC00) Communication ............................................................. 388
12.7.1 Address field transmission............................................................................................................ 389
12.7.2 Data transmission ......................................................................................................................... 395
12.7.3 Data reception .............................................................................................................................. 399
12.7.4 Stop condition generation ............................................................................................................. 404
12.7.5 Calculating transfer rate ............................................................................................................... 405
12.7.6 Procedure for processing errors that occurred during simplified I
2
C (IIC00) communication ........ 407
CHAPTER 13 SERIAL INTERFACE IICA ........................................................................................... 408
13.1 Functions of Serial Interface IICA ........................................................................................... 408
13.2 Configuration of Serial Interface IICA .................................................................................... 411
13.3 Registers Controlling Serial Interface IICA ............................................................................ 414
13.3.1 Peripheral enable register 0 (PER0) ............................................................................................. 415
13.3.2 IICA control register 00 (IICCTL00) .............................................................................................. 415
13.3.3 IICA status register 0 (IICS0) ........................................................................................................ 420
13.3.4 IICA flag register 0 (IICF0)............................................................................................................ 422
13.3.5 IICA control register 01 (IICCTL01) .............................................................................................. 424
13.3.6 IICA low-level width setting register 0 (IICWL0) ........................................................................... 426
13.3.7 IICA high-level width setting register 0 (IICWH0) ......................................................................... 426
13.3.8 Registers controlling port functions of IICA serial input/output pins .............................................. 427
13.4 I
2
C Bus Mode Functions .......................................................................................................... 428
13.4.1 Pin configuration ........................................................................................................................... 428
13.4.2 Setting transfer clock by using IICWL0 and IICWH0 registers...................................................... 429
13.5 I
2
C Bus Definitions and Control Methods .............................................................................. 430
13.5.1 Start conditions ............................................................................................................................. 430
13.5.2 Addresses .................................................................................................................................... 431
13.5.3 Transfer direction specification ..................................................................................................... 431
13.5.4 Acknowledge (ACK) ..................................................................................................................... 432
13.5.5 Stop condition ............................................................................................................................... 433
13.5.6 Wait .............................................................................................................................................. 434
13.5.7 Canceling wait .............................................................................................................................. 436

Table of Contents

Related product manuals