CHAPTER 17 USB FUNCTION
❍ Writing of send data of the last packet
Figure 17.3-15 shows an example of controlling writing of send data of the last packet during
DMA transmission.
Figure 17.3-15 Example of Controlling Writing of Send Data of the Last Packet during DMA
Use total send byte counter
(TTSIZE)
End of writing of last packet
434
Transmission
Last packet
Is data to be written the
last data? *
YES
Write last data to FIFO
buffer for transmission
NO
Write data to FIFO
buffer for transmission
*: Judgment is made by the
system outside the macro
program.