
xi
15.2 UART Block Diagram ......................................................................................................................... 306
15.3 UART Pins ......................................................................................................................................... 308
15.4 UART Registers ................................................................................................................................. 311
15.4.1 Control register (SCR0-3) ............................................................................................................. 312
15.4.2 Mode register (SMR0-3) ............................................................................................................... 314
15.4.3 Status register (SSR0-3) .............................................................................................................. 316
15.4.4 Input-data register (SIDR0-3), output-data register (SODR0-3) ................................................... 318
15.4.5 Communication prescaler control register (CDCR) ...................................................................... 320
15.5 Interrupts ........................................................................................................................................... 322
15.6 Receive-Interrupt Generation and Flag Set Timing ........................................................................... 324
15.7 Send-Interrupt Generation and Flag Set Timing ................................................................................ 325
15.8 Baud Rate .......................................................................................................................................... 326
15.8.1 Baud Rate Based on the Dedicated Baud-Rate Generator .......................................................... 328
15.8.2 Baud Rate Based on the Internal Timer (16-bit Reload Timer 0) ................................................. 331
15.8.3 Baud Rate Based on the External clock ....................................................................................... 333
15.9 UART Operations .............................................................................................................................. 334
15.9.1 Operation in asynchronous mode (operation modes 0 to 1) ........................................................ 336
15.9.2 Operation in synchronous mode (operation mode 2) ................................................................... 339
15.9.3 Bidirectional communication function (normal mode) ................................................................... 341
15.9.4 Master/slave-type communication function (multiprocessor mode) .............................................. 343
15.10 Notes on Using UART ....................................................................................................................... 345
CHAPTER 16 I2C INTERFACE ........................................................................................ 347
16.1 Overview of I2C Interface ................................................................................................................... 348
16.2 Block Diagram of I2C Interface .......................................................................................................... 349
16.3 Registers of I2C Interface .................................................................................................................. 350
16.3.1 Bus Control Register (IBCR) ........................................................................................................ 351
16.3.2 Bus Status Register (IBSR) .......................................................................................................... 354
16.3.3 Address Register (IADR)/Data Register (IDAR) ........................................................................... 356
16.3.4 Clock Control Register (ICCR) ..................................................................................................... 357
16.4 Operation of I2C Interface .................................................................................................................. 359
CHAPTER 17 DMA CONTROLLER ................................................................................. 361
17.1 Overview of the DMA Controller Overview ........................................................................................ 362
17.2 Block Diagram of the DMA Controller ................................................................................................ 363
17.3 Registers of the DMA Controller ........................................................................................................ 364
17.3.1 DMAC parameter descriptor pointer (DPDP) ............................................................................... 365
17.3.2 MAC control status register (DACSR) .......................................................................................... 366
17.3.3 DMAC pin control register (DATCR) ............................................................................................. 368
17.3.4 Register of the descriptor in RAM ................................................................................................. 370
17.4 Transfer Modes Supported by the DMA Controller ............................................................................ 373
17.4.1 Step Transfer (Single/Block Transfer) .......................................................................................... 376
17.4.2 Continuos Transfer ....................................................................................................................... 377
17.4.3 Burst Transfer ............................................................................................................................... 378
17.4.4 Differences Because of DREQ Sense Mode ................................................................................ 379
17.5 Transfer-Acceptance Signal Output and Transfer-End Signal Output ............................................... 381
17.6 Notes on the DMA Controller ............................................................................................................. 382
17.7 Timing Charts for the DMA Controller ................................................................................................ 384