6. When 128 bytes have been transferred (DTCR = 0), the DTC generates a CPU interrupt. The
interrupt type is RXI.
7. The user-coded RXI interrupt-handling routine processes the received data and disables further
data transfer (by clearing the RIE bit, for example).
Figure 6-6 shows the DTC vector table and data in RAM for this example.
Address
H'00AA
H'00AB
H'FB
H'80
DTC vector table RAM
Address
H'FB80
H'FB81
H'20
H'00
H'FF
H'DD
H'FC
H'00
H'00
H'80
H'FB87
H'FC00
H'FC7F
SCI
Receive data 1
Receive data 2
Receive data 128
RDR
Transferred
by DTC
Mode
Source address
Destination address
Counter
Figure 6-6 Use of DTC to Receive Data via Serial Communication Interface
126
Downloaded from Elcodis.com electronic components distributor