14-14
Seiko Epson Corporation
S1C31D50 TECHNICAL MANUAL
(Rev. 1.00)
14.7.
DMA Transfer Requests
The SPIA has a function to generate DMA transfer requests from the causes shown in Table 14.7.1.
Table 14.7.1 DMA Transfer Request Causes of SPIA
Cause to
request
DMA transfer
DMA transfer request
flag
Set condition
Clear
condition
Receive buffer
full
Receive buffer full flag
(SPIA_
n
INTF.RBFIF)
When data of the specified bit length is received and
the received data is transferred from the shift register
to the received data buffer
Reading the
SPIA_
n
RXD
register
Transmit
buffer empty
Transmit buffer empty
flag (SPIA_
n
INTF.TBEIF)
When transmit data written to the transmit data
buffer is transferred to the shift register
Writing to
the
SPIA_
n
TXD
register
The SPIA provides DMA transfer request enable bits corresponding to each DMA transfer request
flag shown above for the number of DMA channels. A DMA transfer request is sent to the pertinent
channel of the DMA controller only when the DMA transfer request flag, of which DMA transfer has
been enabled by the DMA transfer request enable bit, is set. The DMA transfer request flag also serves
as an interrupt flag, therefore, both the DMA transfer request and the interrupt cannot be enabled at
the same time. After a DMA transfer has completed, disable the DMA transfer to prevent unintended
DMA transfer requests from being issued. For more information on the DMA control, refer to the
“DMA Controller” chapte
r.
Summary of Contents for S1C31D50
Page 461: ...25 1 Seiko Epson Corporation S1C31D50 TECHNICAL MANUAL Rev 1 00 25 Package TQFP12 48PIN ...
Page 462: ...25 2 Seiko Epson Corporation S1C31D50 TECHNICAL MANUAL Rev 1 00 QFP13 64PIN ...
Page 463: ...25 3 Seiko Epson Corporation S1C31D50 TECHNICAL MANUAL Rev 1 00 TQFP14 80PIN ...
Page 464: ...25 4 Seiko Epson Corporation S1C31D50 TECHNICAL MANUAL Rev 1 00 QFP15 100PIN ...