| 数据搜索系统,热门电子元器件搜索 |
|
H8S/2218 数据表(PDF) 569 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
H8S/2218 数据表(HTML) 569 Page - Renesas Technology Corp |
|
569 / 750 page ![]() Section 14 Universal Serial Bus (USB) Rev.6.00 Jun. 03, 2008 Page 521 of 698 REJ09B0074-0600 Accordingly, this processing is automatically performed only when 64-byte data is sent. This processing is not performed automatically when data less than 64 bytes is sent. (b) EP1 DMA transfer procedure 1. Set the bits EP1T1 and EP1T0 in UDMAR. 2. Set DMAC (specifies the number of transfers in DMAC to transmit 150 bytes of data). 3. Activate DMAC. 4. Perform DMA transfer. 5. Write 1 to the EP1PKTE bit in UTRG0 by a DMA transfer end interrupt. 64 bytes 64 bytes 22 bytes EP1PKTE (Automatically performed) EP1PKTE (Automatically performed) EP1PKTE is not performed Executed by DMA transfer end interrupt (user) Figure 14.22 EP1PKTE Operation in UTRG0 (4) EP2 DMA Transfer The EP2T1 bit in UDMAR enables the DMA transfer. The EP2T0 bit in the UDMAR specifies the DREQ signal to be used by the DMA transfer. When 1 is written to the EP2T1 bit, the DREQ signal is driven low if at least one of EP2 data FIFOs is full (ready state); the DREQ signal is driven high if both EP2 data FIFOs are empty when all receive data items are read. (a) EP2RDFN in UTRG0 When DMA transfer is performed on EP2 receive data, do not write 1 to EP2RDFN after one data FIFO (64 bytes) has been read. In data transfer other than DMA transfer, the next data cannot be read after one data FIFO (64 bytes) has been read unless 1 is written to EP2RDFN. While in DMA transfer, the USB module automatically performs the same processing as writing 1 to EP2RDFN if the currently selected data FIFO becomes empty. Accordingly, in DMA transfer, the user needs not to write 1 to EP2RDFN. If the user writes 1 to EP2RDFN in DMA transfer, excess transfer occurs and correct operation cannot be guaranteed. Figure 14.23 shows an example of EP2 receiving 150 bytes of data from the host. In this case, internal processing as the same as writing 1 to EP2RDFN is automatically performed three times. This kind of internal processing is performed when the currently selected data FIFO becomes empty. Accordingly, this processing is automatically performed both when 64-byte data is sent and when data less than 64 bytes is sent. |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |