Download MCF5208RM, MCF5208
Transcript
Enhanced Direct Memory Access (eDMA) 16.6.13 eDMA Interrupt Request Register (EDMA_INT) The EDMA_INT provide a bit map for the16 channels signaling the presence of an interrupt request for each channel. Depending on the appropriate bit setting in the transfer-control descriptions, the eDMA engine generates an interrupt a data transfer completion. The outputs of this register are directly routed to the interrupt controller (INTC). During the interrupt-service routine associated with any given channel, it is the software’s responsibility to clear the appropriate bit, negating the interrupt request. Typically, a write to the EDMA_CINT in the interrupt service routine is used for this purpose. The state of any given channel’s interrupt request is directly affected by writes to this register; it is also affected by writes to the EDMA_CINT. On writes to the EDMA_INT, a 1 in any bit position clears the corresponding channel’s interrupt request. A zero in any bit position has no affect on the corresponding channel’s current interrupt status. The EDMA_CINT is provided so the interrupt request for a single channel can easily be cleared without the need to perform a read-modify-write sequence to the EDMA_INT. Address: 0xFC04_4026 (EDMA_INT) 15 8 7 6 5 4 3 2 1 0 R INT15 INT14 INT13 INT12 INT11 INT10 INT9 INT8 INT7 INT6 INT5 INT4 INT3 INT2 INT1 INT0 W w1c Reset 0 14 13 12 Access: User read/write 11 10 9 w1c w1c w1c w1c w1c w1c w1c w1c w1c w1c w1c w1c w1c w1c w1c 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Figure 16-15. eDMA Interrupt Request Register (EDMA_INT) Table 16-16. EDMA_INT Field Descriptions Field 15–0 INTn Description eDMA interrupt request n 0 The interrupt request for channel n is cleared. 1 The interrupt request for channel n is active. 16.6.14 eDMA Error Register (EDMA_ERR) The EDMA_ERR provide a bit map for the16 channels, signaling the presence of an error for each channel. The eDMA engine signals the occurrence of a error condition by setting the appropriate bit in this register. The outputs of this register are enabled by the contents of the EDMA_EEI,and then routed to the interrupt controller. During the execution of the interrupt-service routine associated with any DMA errors, it is software’s responsibility to clear the appropriate bit, negating the error-interrupt request. Typically, a write to the EDMA_CERR in the interrupt-service routine is used for this purpose. The normal DMA channel completion indicators (setting the transfer control descriptor DONE flag and the possible assertion of an interrupt request) are not affected when an error is detected. The contents of this register can also be polled because a non-zero value indicates the presence of a channel error regardless of the state of the EDMA_EEI. The state of any given channel’s error indicators is affected by writes to this register; it is also affected by writes to the EDMA_CERR. On writes to the EDMA_ERR, a one in any bit position clears the corresponding channel’s error status. A zero in any bit position has no affect on the corresponding channel’s current error status. The EDMA_CERR is provided so the error indicator for a single channel can easily be cleared. MCF5208 Reference Manual, Rev 2 Freescale Semiconductor 16-15
Related documents
MCF5329 - Reference Manual
MCF5373 Reference Manual
User`s Manual TQM5329 - TQ
MCF5485 Reference Manual - Freescale Semiconductor
MCF5235RM, MCF5235
Clock Modules
Final Report - [Almost] Daily Photos
Tools for Digital Circuit Design using FPGAs - ETH E
NetBurner User`s Manual - Bluewater Designworks, LLC
Belson PR1045 User's Manual