| Motor de Búsqueda de Datasheet de Componentes Electrónicos |
|
H8S/2456 Datasheet(PDF) 1006 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
H8S/2456 Datasheet(HTML) 1006 Page - Renesas Technology Corp |
|
1006 / 1376 page ![]() Section 16 USB Function Module (USB) Rev. 1.00 Sep. 19, 2008 Page 976 of 1342 REJ09B0467-0100 16.8.4 DMA Transfer for Endpoints 2 When the transmit data at EP2 is transferred by the DMAC, the USB function module automatically performs the same processing as writing 1 to the PKTE bit in TRG1 if the currently selected FIFO (64 bytes) becomes full. Accordingly, to transfer data of a multiple of 64 bytes, the user need not write 1 to the PKTE bit in TRG1. To transfer data of less than 64 bytes, the user must write 1 to the PKTE bit using the DMA transfer end interrupt of the on-chip DMAC. If the user writes 1 to the PKTE bit in TRG1 when the maximum number of bytes (64 bytes) are transferred, correct operation cannot be guaranteed. Figure 16.22 shows an example for transmitting 150 bytes of data to the host. In this case, internal processing which is the same as writing 1 to the PKTE bit in TRG1 is automatically performed twice. This internal processing is performed when the currently selected data FIFO becomes full. Accordingly, this processing is automatically performed only when 64-byte data is sent. When the last 22 bytes are sent, the internal processing for writing 1 to the PKTE bit in TRG1 is not performed, and the user must write 1 to the PKTE bit by software. In this case, the application has no more data to transfer but the USB function module continues to output DMA requests for EP2 as long as the FIFO has an empty space. When all data has been transferred, write 0 to the EP2 DMAE bit in DMAR to cancel DMA requests for EP2. PKTE (Automatically performed) PKTE (Automatically performed) PKTE is not performed Execute by DMA transfer end interrupt (user) 64 bytes 64 bytes 22 bytes Figure 16.22 PKTE Bit Operation for EP2 |
|
Enlace URL |
| ¿ALLDATASHEET es útil para Ud.? [ DONATE ] |
Todo acerca de Alldatasheet | Publicidad | Contáctenos | Política de Privacidad | Enlace a la hoja de datos | Intercambio de Enlaces | Lista de Fabricantes 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 |