16-20
Seiko Epson Corporation
S1C31D50 TECHNICAL MANUAL
(Rev. 1.00)
16.6.
DMA Transfer Requests
The I2C has a function to generate DMA transfer requests from the causes shown in Table 16.6.1.
Table 16.6.1 DMA Transfer Request Causes of I2C
Cause to
request
DMA transfer
DMA transfer
request flag
Set condition
Clear condition
Receive
buffer
full
Receive buffer full flag
(I2C_
n
INTF.RBFIF)
When received data is loaded to the re-
ceive data bu
ff
er
Reading received data (to
empty the receive data bu
ff
er),
software reset
Transmit buffer
empty
Transmit buffer empty
flag (I2C_
n
INTF.TBEIF)
Master mode: When a START condition is
issued or when an ACK is received from the
slave
Slave mode: When transmit data written to
the transmit data bu
ff
er is transferred to
theshift register or when an address match
is detected with R/W bit set to 1
Writing transmit data
The I2C 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
reques
ts from being issued. For more information on the DMA control, refer to the “DMA Controller”
chapter.
Содержание S1C31D50
Страница 461: ...25 1 Seiko Epson Corporation S1C31D50 TECHNICAL MANUAL Rev 1 00 25 Package TQFP12 48PIN ...
Страница 462: ...25 2 Seiko Epson Corporation S1C31D50 TECHNICAL MANUAL Rev 1 00 QFP13 64PIN ...
Страница 463: ...25 3 Seiko Epson Corporation S1C31D50 TECHNICAL MANUAL Rev 1 00 TQFP14 80PIN ...
Страница 464: ...25 4 Seiko Epson Corporation S1C31D50 TECHNICAL MANUAL Rev 1 00 QFP15 100PIN ...