PAN1080 Peripheral API
Data Fields
DMAC_ChannelConfigTypeDef Struct Reference

Structure with dma channel detail config. More...

#include <pan_dmac.h>

Data Fields

uint32_t IntEnable: 1
 
uint32_t DataWidthDst: 3
 
uint32_t DataWidthSrc: 3
 
uint32_t AddrChangeDst: 2
 
uint32_t AddrChangeSrc: 2
 
uint32_t BurstLenDst: 3
 
uint32_t BurstLenSrc: 3
 
uint32_t GatherEnSrc: 1
 
uint32_t ScatterEnDst: 1
 
uint32_t __Rev0: 1
 
uint32_t TransferType: 2
 
uint32_t FlowControl: 1
 
uint32_t __Rev1: 9
 
uint32_t BlockSize: 12
 
uint32_t Done: 1
 
uint32_t __Rev2: 19
 
uint32_t __Rev3: 5
 
uint32_t ChannelPriority: 3
 
uint32_t ChannelSuspend: 1
 
uint32_t FifoEmpty: 1
 
uint32_t HandshakeDst: 1
 
uint32_t HandshakeSrc: 1
 
uint32_t LockBus: 1
 
uint32_t LockChannel: 1
 
uint32_t LockBusLevel: 2
 
uint32_t LockChannelLevel: 2
 
uint32_t HandshakePolarityDst: 1
 
uint32_t HandshakePolaritySrc: 1
 
uint32_t __Rev4: 10
 
uint32_t AutoReloadSrc: 1
 
uint32_t AutoReloadDst: 1
 
uint32_t FlowControlMode: 1
 
uint32_t FifoMode: 1
 
uint32_t ProtectControl: 3
 
uint32_t __Rev5: 2
 
uint32_t PeripheralSrc: 4
 
uint32_t PeripheralDst: 4
 
uint32_t __Rev6: 17
 

Detailed Description

Structure with dma channel detail config.

Parameters
IntEnableInterrupt enable bit.
DataWidthDstDestination data width. Dma data width select
DataWidthSrcSource data width. Dma data width select
AddrChangeDstDestination address change. Dma memory address state
AddrChangeSrcSource address change. Dma memory address state
BurstLenDstDestination burst transaction length. Dma burst lenth
BurstLenSrcSource burst transaction length. Dma burst lenth
GatherEnSrcSource gather enable bit.
ScatterEnDstDestination scatter enable bit.
__Rev0reversed bit.
TransferTypeTransfer Type. Dma transfer type
FlowControlFlow Control DMAC_FlowControl_Peripheral, DMAC_FlowControl_DMA
__Rev1reversed bit.
BlockSizeBlock size number ,block_size = data_len / DataWidth.
DoneDone flag.
__Rev2reversed bit.
__Rev3reversed bit.
ChannelPriorityChannel priority,it can be 0~7,the priority 7 is the highest.
ChannelSuspendChannel Suspend,transfer is not complete ,set this bit can stop transmit.
FifoEmptyIndicates if there is data left in the channel FIFO
HandshakeDstDestination Handshake select:software or hardware
HandshakeSrcSource Handshake select:software or hardware
LockBusWhen active, the AHB bus master signal hlock is asserted for the duration specified in CFGx.LOCK_B_L.
LockChannelWhen the channel is granted control of the master bus interface and if the CFGx.LOCK_CH bit is asserted,then no other channels are granted control of the master bus interface for the duration specified in CFGx.LOCK_CH_L
LockBusLevelIndicates the duration over which CFGx.LOCK_B bit applies.
LockChannelLevelIndicates the duration over which CFGx.LOCK_CH bit applies.
HandshakePolarityDstDestination Handshaking Interface Polarity:0-high, 1-low.
HandshakePolaritySrcSource Handshaking Interface Polarity:0-high, 1-low.
__Rev4reversed bit.
AutoReloadSrcAutomatic Source Reload.
AutoReloadDstAutomatic Destination Reload.
FlowControlModeDetermines when source transaction requests are serviced when the Destination Peripheral is the flow controller.
FifoModeDetermines how much space or data needs to be available in the FIFO.
ProtectControlUsed to drive the AHB HPROT[3:1] bus.
__Rev5reversed bit.
PeripheralSrcAssigns a hardware handshaking interface to the source of channel x if the CFGx.HS_SEL_SRC field is 0
PeripheralDstAssigns a hardware handshaking interface to the destination of channel x if the CFGx.HS_SEL_DST field is 0
__Rev6reversed bit.

Field Documentation

◆ __Rev0

uint32_t __Rev0

◆ __Rev1

uint32_t __Rev1

◆ __Rev2

uint32_t __Rev2

◆ __Rev3

uint32_t __Rev3

◆ __Rev4

uint32_t __Rev4

◆ __Rev5

uint32_t __Rev5

◆ __Rev6

uint32_t __Rev6

◆ AddrChangeDst

uint32_t AddrChangeDst

◆ AddrChangeSrc

uint32_t AddrChangeSrc

◆ AutoReloadDst

uint32_t AutoReloadDst

◆ AutoReloadSrc

uint32_t AutoReloadSrc

◆ BlockSize

uint32_t BlockSize

◆ BurstLenDst

uint32_t BurstLenDst

◆ BurstLenSrc

uint32_t BurstLenSrc

◆ ChannelPriority

uint32_t ChannelPriority

◆ ChannelSuspend

uint32_t ChannelSuspend

◆ DataWidthDst

uint32_t DataWidthDst

◆ DataWidthSrc

uint32_t DataWidthSrc

◆ Done

uint32_t Done

◆ FifoEmpty

uint32_t FifoEmpty

◆ FifoMode

uint32_t FifoMode

◆ FlowControl

uint32_t FlowControl

◆ FlowControlMode

uint32_t FlowControlMode

◆ GatherEnSrc

uint32_t GatherEnSrc

◆ HandshakeDst

uint32_t HandshakeDst

◆ HandshakePolarityDst

uint32_t HandshakePolarityDst

◆ HandshakePolaritySrc

uint32_t HandshakePolaritySrc

◆ HandshakeSrc

uint32_t HandshakeSrc

◆ IntEnable

uint32_t IntEnable

◆ LockBus

uint32_t LockBus

◆ LockBusLevel

uint32_t LockBusLevel

◆ LockChannel

uint32_t LockChannel

◆ LockChannelLevel

uint32_t LockChannelLevel

◆ PeripheralDst

uint32_t PeripheralDst

◆ PeripheralSrc

uint32_t PeripheralSrc

◆ ProtectControl

uint32_t ProtectControl

◆ ScatterEnDst

uint32_t ScatterEnDst

◆ TransferType

uint32_t TransferType

The documentation for this struct was generated from the following file: