
ix
CHAPTER 15 I2C INTERFACE ....................................................................................... 439
15.1 Overview of the I2C Interface .......................................................................................................... 440
15.2 I2C Interface Registers ................................................................................................................... 444
15.2.1 Bus Status Register (IBSR) ....................................................................................................... 445
15.2.2 Bus Control Register (IBCR) ..................................................................................................... 448
15.2.3 Clock Control Register (ICCR) .................................................................................................. 455
15.2.4 10-bit Slave Address Register (ITBA) ........................................................................................ 457
15.2.5 10-bit Slave Address Mask Register (ITMK) ............................................................................. 458
15.2.6 7-bit Slave Address Register (ISBA) ......................................................................................... 460
15.2.7 7-bit Slave Address Mask Register (ISMK) ............................................................................... 461
15.2.8 Data Register (IDAR) ................................................................................................................. 462
15.2.9 Clock Disable Register (IDBL) ................................................................................................... 463
15.3 Explanation of I2C Interface Operation ........................................................................................... 464
15.4 Operation Flowcharts ...................................................................................................................... 468
CHAPTER 16 DMA CONTROLLER (DMAC) .................................................................. 471
16.1 Overview ......................................................................................................................................... 472
16.2 Detailed Explanation of Registers ................................................................................................... 475
16.2.1 DMAC ch0 to ch4 Control/Status Registers A ........................................................................... 476
16.2.2 DMAC ch0 to ch4 Control/Status Registers B ........................................................................... 482
16.2.3 DMAC ch0 to ch4 Transfer Source/Transfer Destination Address Setting Registers ................ 488
16.2.4 DMAC ch0 to ch4 DMAC All-Channel Control Register ............................................................ 490
16.3 Explanation of Operation ................................................................................................................ 492
16.3.1 Overview of Operation ............................................................................................................... 493
16.3.2 Setting a Transfer Request ........................................................................................................ 496
16.3.3 Transfer Sequence .................................................................................................................... 497
16.3.4 General Aspects of DMA Transfer ............................................................................................. 501
16.3.5 Addressing Mode ....................................................................................................................... 503
16.3.6 Data Types ................................................................................................................................ 504
16.3.7 Transfer Count Control .............................................................................................................. 505
16.3.8 CPU Control .............................................................................................................................. 506
16.3.9 Hold Arbitration .......................................................................................................................... 507
16.3.10 Operation from Starting to End/Stopping ................................................................................... 508
16.3.11 Transfer Request Acceptance and Transfer .............................................................................. 509
16.3.12 Clearing Peripheral Interrupts by DMA ...................................................................................... 510
16.3.13 Temporary Stopping .................................................................................................................. 511
16.3.14 Operation End/Stopping ............................................................................................................ 512
16.3.15 Stopping Due To an Error .......................................................................................................... 513
16.3.16 DMAC Interrupt Control ............................................................................................................. 514
16.3.17 DMA Transfer during Sleep ....................................................................................................... 515
16.3.18 Channel Selection and Control .................................................................................................. 516
16.3.19 Supplement on External Pin and Internal Operation Timing ..................................................... 518
16.4 Operation Flowcharts ...................................................................................................................... 522
16.5 Data Path ........................................................................................................................................ 525
16.6 DMA External Interface ................................................................................................................... 529