MG32F157 Standard Peripherals Firmware Library
|
DMAC Channel Init Structure definition. More...
#include <mg32f157_dmac.h>
Data Fields | |
uint32_t | DMAC_SourceBaseAddr |
uint32_t | DMAC_DestinationBaseAddr |
uint32_t | DMAC_Interrupt |
uint32_t | DMAC_SourceTransferWidth |
uint32_t | DMAC_DestinationTransferWidth |
uint32_t | DMAC_SourceAddrInc |
uint32_t | DMAC_DestinationAddrInc |
uint32_t | DMAC_SourceTransactionLength |
uint32_t | DMAC_DestinationTransactionLength |
uint32_t | DMAC_TransferTypeAndFlowControl |
uint32_t | DMAC_BlockTransferSize |
uint32_t | DMAC_SourceHandshakingInterfaceSelect |
uint32_t | DMAC_DestinationHandshakingInterfaceSelect |
uint32_t | DMAC_SourceHandshakingInterfacePolarity |
uint32_t | DMAC_DestinationHandshakingInterfacePolarity |
uint32_t | DMAC_AutomaticSourceReload |
uint32_t | DMAC_AutomaticDestinationReload |
uint32_t | DMAC_FlowControlMode |
uint32_t | DMAC_FIFOMode |
uint8_t | DMAC_ChannelPriority |
uint8_t | DMAC_ProtectionControl |
uint8_t | DMAC_SourceHardwareHandshakingInterfaceAssign |
uint8_t | DMAC_DestinationHardwareHandshakingInterfaceAssign |
uint16_t | DMAC_MaximumAMBABurstLength |
DMAC Channel Init Structure definition.
uint32_t DMAC_AutomaticDestinationReload |
Specifies the automatic destination reload feature enable or not. This parameter can be a value of DMAC_AutomaticDestinationReload
uint32_t DMAC_AutomaticSourceReload |
Specifies the automatic source reload feature enable or not. This parameter can be a value of DMAC_AutomaticSourceReload
uint32_t DMAC_BlockTransferSize |
Specifies the block transfer size when the DMAC is the flow controller, in data unit. The data unit is equal to the configuration set in DMAC_SourceTransferWidth.
uint8_t DMAC_ChannelPriority |
Specifies the channel priority. A priority of 6 is the highest priority, and 0 is the lowest.
uint32_t DMAC_DestinationAddrInc |
Specifies whether to increment or decrement the destination address on every destination transfer. This parameter can be a value of DMAC_DestinationAddrInc
uint32_t DMAC_DestinationBaseAddr |
Specifies the destination base address.
uint32_t DMAC_DestinationHandshakingInterfacePolarity |
Specifies the destination handshaking interface polarity. This parameter can be a value of DMAC_DestinationHandshakingInterfacePolarity
uint32_t DMAC_DestinationHandshakingInterfaceSelect |
Specifies which of the handshaking interfaces - hardware or software - is active for destination requests on this channel. This parameter can be a value of DMAC_DestinationHandshakingInterfaceSelect
uint8_t DMAC_DestinationHardwareHandshakingInterfaceAssign |
Specifies the hardware handshaking interface to the source of this channel if the configuration DMAC_DestinationHandshakingInterfaceSelect is DMAC_DestinationHandshakingInterfaceSelect_Hardware. This parameter can be a value of DMAC_HardwareHandshakingInterface
uint32_t DMAC_DestinationTransactionLength |
Specifies the destination burst transaction length. This parameter can be a value of DMAC_DestinationTransactionLength
uint32_t DMAC_DestinationTransferWidth |
Specifies the destination transfer width. This parameter can be a value of DMAC_DestinationTransferWidth
uint32_t DMAC_FIFOMode |
Specifies the FIFO mode. This parameter can be a value of DMAC_FIFOMode
uint32_t DMAC_FlowControlMode |
Specifies the flow control mode. This parameter can be a value of DMAC_FlowControlMode
uint32_t DMAC_Interrupt |
Specifies the global interrupt enable/disable for the channel. This parameter can be a value of DMAC_Interrupt
uint16_t DMAC_MaximumAMBABurstLength |
Specifies the Maximum AMBA burst length that is used for DMA transfers on this channel. A value of 0 indicates that software is not limiting the maximum AMBA burst length for DMA transfers on this channel.
uint8_t DMAC_ProtectionControl |
Specifies the protection control, used to drive the AHB HPROT[3:1] bus. The AMBA Specification recommends that the default value of HPROT indicates a non-cached, non-buffered, privileged data access.
uint32_t DMAC_SourceAddrInc |
Specifies whether to increment or decrement the source address on every source transfer. This parameter can be a value of DMAC_SourceAddrInc
uint32_t DMAC_SourceBaseAddr |
Specifies the source base address.
uint32_t DMAC_SourceHandshakingInterfacePolarity |
Specifies the source handshaking interface polarity. This parameter can be a value of DMAC_SourceHandshakingInterfacePolarity
uint32_t DMAC_SourceHandshakingInterfaceSelect |
Specifies which of the handshaking interfaces - hardware or software - is active for source requests on this channel. This parameter can be a value of DMAC_SourceHandshakingInterfaceSelect
uint8_t DMAC_SourceHardwareHandshakingInterfaceAssign |
Specifies the hardware handshaking interface to the source of this channel if the configuration DMAC_SourceHandshakingInterfaceSelect is DMAC_SourceHandshakingInterfaceSelect_Hardware. This parameter can be a value of DMAC_HardwareHandshakingInterface
uint32_t DMAC_SourceTransactionLength |
Specifies the source burst transaction length. This parameter can be a value of DMAC_SourceTransactionLength
uint32_t DMAC_SourceTransferWidth |
Specifies the source transfer width. This parameter can be a value of DMAC_SourceTransferWidth
uint32_t DMAC_TransferTypeAndFlowControl |
Specifies the transfer type and flow control. This parameter can be a value of DMAC_TransferTypeAndFlowControl