Rev.2.00 Oct 16, 2006 page 320 of 354
REJ09B0340-0200
M30245 Group
3. USB Applications
Figure 3.7.4. Setting routine (3) of DMA transfer from USB OUT FIFO to serial sound interface
b7
(b15)
b7
(b8)
b0
b0
0
0
1
Continued from the previous page
USB Endpoint 1 OUT Control and Status register
EP1OCS [Address 02B6
16
]
CLR_OUT_BUF_RDY bit
1 : Data set unloaded from the OUT FIFO
(updates OUT_BUF_STS1 and OUT_BUF_STS0)
●
To subsequently start DMA0 transfer:
Disable DMA0 once and set the DMA0 related registers again.
●
DMA request from the 2nd byte on is occurred
when DMA enable bit = “1” and the OUT_BUF_STS1 flag of endpoint 1 = “1”.
DMA0 transfer of the 1st word
DMA0 transfer from the 2nd word on
DMA enable bit is set to "0"
by underflow of the DMA0 transfer counter.
●
Completion of the DMA0 transfer and occurrence of the DMA0 interrupt request.
●
Setting CLR_OUT_BUF_RDY bit of endpoint 1 to “1” and completion of one receive
packet data fetch after confirming of the DMA0 interrupt request.
●
The DMA request of the serial sound interface 1 transmit is occurred
when DMA enable bit = “1” and the OUT_BUF_STS1 flag of endpoint 1 = “1”.
Содержание M16C FAMILY
Страница 12: ...Chapter 1 Hardware...
Страница 13: ...See M30245 group datasheet...
Страница 14: ...Chapter 2 Peripheral Functions Usage...
Страница 303: ...THIS PAGE IS BLANK FOR REASONS OF LAYOUT...
Страница 304: ...Chapter 3 Examples of Peripheral Functions Applications...
Страница 340: ...Chapter 4 External Buses...
Страница 361: ...THIS PAGE IS BLANK FOR REASONS OF LAYOUT...
Страница 362: ...Chapter 5 Standard Characteristics...
Страница 369: ...1753 Shimonumabe Nakahara ku Kawasaki shi Kanagawa 211 8668 Japan M30245 Group REJ09B0340 0200 User s Manual...