MG32F10x Standard Peripherals Firmware Library
|
DMAC Channel Init Structure definition. More...
#include <mg32f10x_dmac.h>
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.
This parameter can be a number between 0 and 511.
uint8_t DMAC_ChannelPriority |
Specifies the channel priority from 0 to the maximum channel number.
A low priority number means low priority. 0 is the lowest priority.
This parameter can be a number between 0 and 2.
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_DestinationMasterInterface |
Specifies the Master Interface layer where the destination device (peripheral or memory) resides.
This parameter can be a value of DMAC_DestinationMasterInterface.
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.
This parameter is recommended to be 0.
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.
Therefore, this parameter is recommended to be 0x01.
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_SourceMasterInterface |
Specifies the Master Interface layer from which the source device (peripheral or memory) is accessed.
This parameter can be a value of DMAC_SourceMasterInterface.
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.