Datasheet

Section 7 Data Transfer Controller (DTC)
Rev. 3.00 Sep. 28, 2009 Page 108 of 710
REJ09B0384-0300
The EVENTI interrupt request activates the DTC and transfers data from RAM to RAM in the
same address. Data is incremented in the DTC. The lower five bits of SAR and DAR are replaced
with address code that is generated by the ECS flag status.
When the DTC transfer is completed, the ECS flag for transfer is cleared.
Table 7.3 Flag Status/Address Code
ECS
7 6 5 4 3 2 1 0
Address Code
1 B'00000
1 0 B'00010
1 0 0 B'00100
1 0 0 0 B'00110
1 0 0 0 0 B'01000
1 0 0 0 0 0 B'01010
1 0 0 0 0 0 0 B'01100
1 0 0 0 0 0 0 0 B'01110
7.3.1 Event Counter Handling Priority
Counting of EVENT0 to EVENT7 is processed in the priority shown as below.
High Low
EVENT0 > EVENT1 EVENT6 > EVENT7