![](https://csdnimg.cn/release/download_crawler_static/78138328/bg13.jpg)
18.5 DTC Setting Procedure ...................................................................................................................... 546
18.6 Examples of DTC Usage ................................................................................................................... 547
18.6.1 Normal Transfer ....................................................................................................................... 547
18.6.2 Chain Transfer When the Counter is 0 ..................................................................................... 548
18.7 Interrupt Source ................................................................................................................................. 549
18.8 Event Link ......................................................................................................................................... 549
18.9 Low Power Consumption Function ................................................................................................... 550
18.10 Usage Notes ....................................................................................................................................... 551
18.10.1 Start Address of Transfer Information ...................................................................................... 551
18.10.2 Allocating Transfer Information ............................................................................................... 551
18.10.3 Setting the DTC Transfer Request Enable Register in the Interrupt Controller
(ICU.DTCERn) ......................................................................................................................... 552
19. Event Link Controller (ELC) ......................................................................................................... 553
19.1 Overview ........................................................................................................................................... 553
19.2 Register Descriptions ......................................................................................................................... 554
19.2.1 Event Link Control Register (ELCR) ....................................................................................... 554
19.2.2 Event Link Setting Register n (ELSRn)
(n = 0, 3, 4, 7, 10 to 13, 15, 16, 18 to 28, 30, 31, 45 to 58) ...................................................... 555
19.2.3 Event Link Option Setting Register A (ELOPA) ..................................................................... 562
19.2.4 Event Link Option Setting Register B (ELOPB) ...................................................................... 562
19.2.5 Event Link Option Setting Register C (ELOPC) ...................................................................... 563
19.2.6 Event Link Option Setting Register D (ELOPD) ..................................................................... 563
19.2.7 Event Link Option Setting Register E (ELOPE) ...................................................................... 564
19.2.8 Port Group Setting Register n (PGRn) (n = 1, 2) ..................................................................... 565
19.2.9 Port Group Control Register n (PGCn) (n = 1, 2) .................................................................... 566
19.2.10 Port Buffer Register n (PDBFn) (n = 1, 2) ............................................................................... 567
19.2.11 Event Link Port Setting Register m (PELm) (m = 0 to 3) ........................................................ 568
19.2.12 Event Link Software Event Generation Register (ELSEGR) ................................................... 569
19.3 Operation ........................................................................................................................................... 570
19.3.1 Relation between Interrupt Handling and Event Linking ......................................................... 570
19.3.2 Event Linkage ........................................................................................................................... 571
19.3.3 Operation of Peripheral Timer Modules When Event Signal is Input ..................................... 572
19.3.4 Operation of GPTW When Event Signal is Input .................................................................... 572
19.3.5 Operation of A/D and D/A Converters When Event Signal is
Input ........................................ 572
19
.3.6 I/O Port Operation When Event Signal is Input and Event Generation ................................... 573
19.3.7 Example of Procedure for Linking Events ............................................................................... 577
19.4 Usage Notes ....................................................................................................................................... 578
19.4.1 Setting ELSRn Register ............................................................................................................ 578
19.4.2 Setting Bit-Rotating Operation of Output Port Groups ............................................................ 578
19.4.3 Linking DMA/DTC Transfer End Signal as Event .................................................................. 578
19.4.4 Clock Settings ........................................................................................................................... 578
19.4.5 Module Stop Function Setting .................................................................................................. 578