| Electronic Components Datasheet Search |
|
TUSB5052 Datasheet(PDF) 46 Page - Texas Instruments |
|
|
|||||||||||||||||||||||||||||
TUSB5052 Datasheet(HTML) 46 Page - Texas Instruments |
|
46 / 84 page ![]() 6–6 6.1.5 DMACDR5: DMA-5 Channel Definition Register (P-Port Channel) This register is used to define the EDB number that the DMA used for data transfer to/from the P-port. In addition, this register defines the data transfer mode and selects X or Y as the transaction buffer. Note: the transfer direction is defined by the DIR bit in the PPMCR register. EN INE CNT XYI XYO E2 E1 E0 7 6 5 4 32 10 R/W R/W R/W R/W R/W R/W R/W R/W BIT NAME RESET FUNCTION 2–0 E[2:0] 0 End-point descriptor pointer. This field points to a set of EDB registers that is to be used for a given transfer. 3 XYO 0 X/Y- Output buffer select bit XYO = 0 Next output-buffer to transmit/receive is X. XYO = 1 Next output-buffer to transmit/receive is Y. 4 XYI 0 X/Y- Input buffer sselect bit XYI = 0 Next input-buffer to transmit/receive is X. XYI = 1 Next input-buffer to transmit/receive is Y. 5 CNT 0 DMA Continuous transfer control bit. This bit defines the mode of the DMA transfer. CNT = 0 Burst Mode: DMA stops the transfer when the byte-count is zero or when a transfer error occurs. At the end of transfer, the high to low transition of EN interrupts the MCU (if enabled). In this mode, the XY bit is set by the MCU to define the current buffer (X or Y). CNT = 1 Continuous Mode: In this mode, the DMA and UBM alternate between the X and Y buffers. The UBM sets the XY bit and the DMA uses it for the transfer. DMA alternates between X/Y-buffers and continues receiving (to X/Y buffer) without MCU intervention. DMA updates the byte-count and sets the NAK-bit in EDB at the end of packet transfer. When the DMA is stopped by a transaction-timeout (or error condition), the DMA updates the byte-count and NAK-bit in EDB, and interrupts the MCU (via EN = 0). The UBM transfers the partial packet to host. 6 INE 0 DMA Interrupt enable/disable bit. This bit is used to enable/disable the interrupt on transfer completion. INE = 0 Interrupt is disabled. INE = 1 Enables the EN interrupt. When this bit is set, the DMA interrupts the MCU on a 1 to 0 transition of EN-bit. (When transfer is completed, EN =0) 7 EN 0 DMA channel enable. The MCU sets this bit to start the DMA transfer. When transfer completes, or when terminated due to error, this bit is cleared. The 1 to 0 transition of this bit generates an interrupt (if interrupt is enabled) . EN = 0 DMA is halted. 1 to 0 transition interrupts the MCU (if INE = 1). EN = 1 Setting this bit starts the DMA transfer. |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List 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 |