LL DMA Functions

Configuration

group DMA_LL_EF_Configuration

Functions

void LL_DMA_EnableChannel ( DMA_Channel_TypeDef * channel )

Enable channel.

Reference Manual to LL API cross reference (Register Field Functions)

CCR EN LL_DMA_EnableChannel

Parameters :

channel – This parameter can be one of the following values:

void LL_DMA_DisableChannel ( DMA_Channel_TypeDef * channel )

Disable channel.

Reference Manual to LL API cross reference (Register Field Functions)

CCR EN LL_DMA_DisableChannel

Parameters :

channel – This parameter can be one of the following values:

uint32_t LL_DMA_IsEnabledChannel ( const DMA_Channel_TypeDef * channel )

Check if channel is enabled or disabled.

Reference Manual to LL API cross reference (Register Field Functions)

CCR EN LL_DMA_IsEnabledChannel

Parameters :

channel – This parameter can be one of the following values:

Return values :

State – of bit (1 or 0).

void LL_DMA_ResetChannel ( DMA_Channel_TypeDef * channel )

Reset channel.

Reference Manual to LL API cross reference (Register Field Functions)

CCR RESET LL_DMA_ResetChannel

Parameters :

channel – This parameter can be one of the following values:

void LL_DMA_SuspendChannel ( DMA_Channel_TypeDef * channel )

Suspend channel.

Reference Manual to LL API cross reference (Register Field Functions)

CCR SUSP LL_DMA_SuspendChannel

Parameters :

channel – This parameter can be one of the following values:

void LL_DMA_ResumeChannel ( DMA_Channel_TypeDef * channel )

Resume channel.

Reference Manual to LL API cross reference (Register Field Functions)

CCR SUSP LL_DMA_ResumeChannel

Parameters :

channel – This parameter can be one of the following values:

uint32_t LL_DMA_IsSuspendedChannel ( const DMA_Channel_TypeDef * channel )

Check if channel is suspended.

Reference Manual to LL API cross reference (Register Field Functions)

CCR SUSP LL_DMA_IsSuspendedChannel

Parameters :

channel – This parameter can be one of the following values:

Return values :

State – of bit (1 or 0).

void LL_DMA_SetLinkedListBaseAddr ( DMA_Channel_TypeDef * channel , uint32_t linked_list_base_addr )

Set linked-list base address.

Reference Manual to LL API cross reference (Register Field Functions)

CLBAR LBA LL_DMA_SetLinkedListBaseAddr

Parameters :
uint32_t LL_DMA_GetLinkedListBaseAddr ( const DMA_Channel_TypeDef * channel )

Get linked-list base address.

Reference Manual to LL API cross reference (Register Field Functions)

CLBAR LBA LL_DMA_GetLinkedListBaseAddr

Parameters :

channel – This parameter can be one of the following values:

Return values :

Value – between 0 and 0xFFFF0000 (where the 4 LSB bytes are always 0)

void LL_DMA_ConfigControl ( DMA_Channel_TypeDef * channel , uint32_t configuration )

Configure all parameters linked to channel control.

Reference Manual to LL API cross reference (Register Field Functions)

CCR PRIO LL_DMA_ConfigControl

CCR LAP LL_DMA_ConfigControl

CCR LSM LL_DMA_ConfigControl

Parameters :
void LL_DMA_SetChannelPriorityLevel ( DMA_Channel_TypeDef * channel , uint32_t priority )

Set priority level.

Reference Manual to LL API cross reference (Register Field Functions)

CCR PRIO LL_DMA_SetChannelPriorityLevel

Parameters :
uint32_t LL_DMA_GetChannelPriorityLevel ( const DMA_Channel_TypeDef * channel )

Get channel priority level.

Reference Manual to LL API cross reference (Register Field Functions)

CCR PRIO LL_DMA_GetChannelPriorityLevel

Parameters :

channel – This parameter can be one of the following values:

Return values :

Returned – value can be one of the following values:

void LL_DMA_SetLinkAllocatedPort ( DMA_Channel_TypeDef * channel , uint32_t link_allocated_port )

Set linked-list allocated port.

Reference Manual to LL API cross reference (Register Field Functions)

CCR LAP LL_DMA_SetLinkAllocatedPort

Parameters :
uint32_t LL_DMA_GetLinkAllocatedPort ( const DMA_Channel_TypeDef * channel )

Get linked-list allocated port.

Reference Manual to LL API cross reference (Register Field Functions)

CCR LAP LL_DMA_GetLinkAllocatedPort

Parameters :

channel – This parameter can be one of the following values:

Return values :

Returned – value can be one of the following values:

void LL_DMA_SetLinkStepMode ( DMA_Channel_TypeDef * channel , uint32_t link_step_mode )

Set link step mode.

Reference Manual to LL API cross reference (Register Field Functions)

CCR LSM LL_DMA_SetLinkStepMode

Parameters :
uint32_t LL_DMA_GetLinkStepMode ( const DMA_Channel_TypeDef * channel )

Get Link step mode.

Reference Manual to LL API cross reference (Register Field Functions)

CCR LSM LL_DMA_GetLinkStepMode

Parameters :

channel – This parameter can be one of the following values:

Return values :

Returned – value can be one of the following values:

void LL_DMA_ConfigTransfer ( DMA_Channel_TypeDef * channel , uint32_t configuration )

Configure transfer.

Reference Manual to LL API cross reference (Register Field Functions)

CTR1 DINC LL_DMA_ConfigTransfer

CTR1 SINC LL_DMA_ConfigTransfer

CTR1 DHX LL_DMA_ConfigTransfer

CTR1 DBX LL_DMA_ConfigTransfer

CTR1 SBX LL_DMA_ConfigTransfer

CTR1 DAP LL_DMA_ConfigTransfer

CTR1 SAP LL_DMA_ConfigTransfer

CTR1 PAM LL_DMA_ConfigTransfer

Parameters :
void LL_DMA_ConfigDataTransfer ( DMA_Channel_TypeDef * channel , uint32_t configuration )

Configure data transfer.

Reference Manual to LL API cross reference (Register Field Functions)

CTR1 DINC LL_DMA_ConfigDataTransfer

CTR1 SINC LL_DMA_ConfigDataTransfer

CTR1 SDW_LOG2 LL_DMA_ConfigDataTransfer

CTR1 DDW_LOG2 LL_DMA_ConfigDataTransfer

Parameters :
void LL_DMA_ConfigDataHandling ( DMA_Channel_TypeDef * channel , uint32_t configuration )

Configure data handling.

Reference Manual to LL API cross reference (Register Field Functions)

CTR1 DHX LL_DMA_ConfigDataHandling

CTR1 DBX LL_DMA_ConfigDataHandling

CTR1 SBX LL_DMA_ConfigDataHandling

CTR1 PAM LL_DMA_ConfigDataHandling

Parameters :
void LL_DMA_ConfigAccessPorts ( DMA_Channel_TypeDef * channel , uint32_t access_ports )

Configure access ports.

Reference Manual to LL API cross reference (Register Field Functions)

CTR1 DAP LL_DMA_ConfigAccessPorts

CTR1 SAP LL_DMA_ConfigAccessPorts

Parameters :
void LL_DMA_ConfigBurstLength ( DMA_Channel_TypeDef * channel , uint32_t src_burst_length , uint32_t dest_burst_length )

Configure source and destination burst length.

Reference Manual to LL API cross reference (Register Field Functions)

CTR1 DBL_1 LL_DMA_ConfigBurstLength

CTR1 SBL_1 LL_DMA_ConfigBurstLength

Parameters :
void LL_DMA_SetDestAllocatedPort ( DMA_Channel_TypeDef * channel , uint32_t dest_allocated_port )

Set destination allocated port.

Reference Manual to LL API cross reference (Register Field Functions)

CTR1 DAP LL_DMA_SetDestAllocatedPort

Parameters :
uint32_t LL_DMA_GetDestAllocatedPort ( const DMA_Channel_TypeDef * channel )

Get destination allocated port.

Reference Manual to LL API cross reference (Register Field Functions)

CTR1 DAP LL_DMA_GetDestAllocatedPort

Parameters :

channel – This parameter can be one of the following values:

Return values :

Returned – value can be one of the following values:

void LL_DMA_SetDestHWordExchange ( DMA_Channel_TypeDef * channel , uint32_t dest_halfword_exchange )

Set destination half-word exchange.

Reference Manual to LL API cross reference (Register Field Functions)

CTR1 DHX LL_DMA_SetDestHWordExchange

Parameters :
uint32_t LL_DMA_GetDestHWordExchange ( const DMA_Channel_TypeDef * channel )

Get destination half-word exchange.

Reference Manual to LL API cross reference (Register Field Functions)

CTR1 DHX LL_DMA_GetDestHWordExchange

Parameters :

channel – This parameter can be one of the following values:

Return values :

Returned – value can be one of the following values:

void LL_DMA_SetDestByteExchange ( DMA_Channel_TypeDef * channel , uint32_t dest_byte_exchange )

Set destination byte exchange.

Reference Manual to LL API cross reference (Register Field Functions)

CTR1 DBX LL_DMA_SetDestByteExchange

Parameters :
uint32_t LL_DMA_GetDestByteExchange ( const DMA_Channel_TypeDef * channel )

Get destination byte exchange.

Reference Manual to LL API cross reference (Register Field Functions)

CTR1 DBX LL_DMA_GetDestByteExchange

Parameters :

channel – This parameter can be one of the following values:

Return values :

Returned – value can be one of the following values:

void LL_DMA_SetSrcByteExchange ( DMA_Channel_TypeDef * channel , uint32_t src_byte_exchange )

Set source byte exchange.

Reference Manual to LL API cross reference (Register Field Functions)

CTR1 SBX LL_DMA_SetSrcByteExchange

Parameters :
uint32_t LL_DMA_GetSrcByteExchange ( const DMA_Channel_TypeDef * channel )

Get source byte exchange.

Reference Manual to LL API cross reference (Register Field Functions)

CTR1 SBX LL_DMA_GetSrcByteExchange

Parameters :

channel – This parameter can be one of the following values:

Return values :

Returned – value can be one of the following values:

void LL_DMA_SetDestBurstLength ( DMA_Channel_TypeDef * channel , uint32_t dest_burst_length )

Set destination burst length.

Reference Manual to LL API cross reference (Register Field Functions)

CTR1 DBL_1 LL_DMA_SetDestBurstLength

Parameters :
uint32_t LL_DMA_GetDestBurstLength ( const DMA_Channel_TypeDef * channel )

Get destination burst length.

Reference Manual to LL API cross reference (Register Field Functions)

CTR1 DBL_1 LL_DMA_GetDestBurstLength

Parameters :

channel – This parameter can be one of the following values:

Return values :

Between – 1 and 64.

void LL_DMA_SetDestIncMode ( DMA_Channel_TypeDef * channel , uint32_t dest_inc )

Set destination increment mode.

Reference Manual to LL API cross reference (Register Field Functions)

CTR1 DINC LL_DMA_SetDestIncMode

Parameters :
uint32_t LL_DMA_GetDestIncMode ( const DMA_Channel_TypeDef * channel )

Get destination increment mode.

Reference Manual to LL API cross reference (Register Field Functions)

CTR1 DINC LL_DMA_GetDestIncMode

Parameters :

channel – This parameter can be one of the following values:

Return values :

Returned – value can be one of the following values:

void LL_DMA_SetDestDataWidth ( DMA_Channel_TypeDef * channel , uint32_t dest_data_width )

Set destination data width.

Reference Manual to LL API cross reference (Register Field Functions)

CTR1 DDW_LOG2 LL_DMA_SetDestDataWidth

Parameters :
uint32_t LL_DMA_GetDestDataWidth ( const DMA_Channel_TypeDef * channel )

Get destination data width.

Reference Manual to LL API cross reference (Register Field Functions)

CTR1 DDW_LOG2 LL_DMA_GetDestDataWidth

Parameters :

channel – This parameter can be one of the following values:

Return values :

Returned – value can be one of the following values:

void LL_DMA_SetSrcAllocatedPort ( DMA_Channel_TypeDef * channel , uint32_t src_allocated_port )

Set source allocated port.

Reference Manual to LL API cross reference (Register Field Functions)

CTR1 SAP LL_DMA_SetSrcAllocatedPort

Parameters :
uint32_t LL_DMA_GetSrcAllocatedPort ( const DMA_Channel_TypeDef * channel )

Get source allocated port.

Reference Manual to LL API cross reference (Register Field Functions)

CTR1 SAP LL_DMA_GetSrcAllocatedPort

Parameters :

channel – This parameter can be one of the following values:

Return values :

Returned – value can be one of the following values:

void LL_DMA_SetDataPacking ( DMA_Channel_TypeDef * channel , uint32_t data_pack )

Set DMA channel destination data packing.

Reference Manual to LL API cross reference (Register Field Functions)

CTR1 PAM LL_DMA_SetDataPacking

Parameters :
uint32_t LL_DMA_GetDataPacking ( const DMA_Channel_TypeDef * channel )

Get DMA channel destination data packing.

Reference Manual to LL API cross reference (Register Field Functions)

CTR1 PAM LL_DMA_GetDataPacking

Parameters :

channel – This parameter can be one of the following values:

Return values :

Returned – value can be one of the following values:

void LL_DMA_SetDataTruncPadd ( DMA_Channel_TypeDef * channel , uint32_t data_trunc_padd )

Set DMA channel destination data truncation and passing.

Reference Manual to LL API cross reference (Register Field Functions)

CTR1 PAM LL_DMA_SetDataTruncPadd

Parameters :
uint32_t LL_DMA_GetDataTruncPadd ( const DMA_Channel_TypeDef * channel )

Get DMA channel destination data truncation and passing.

Reference Manual to LL API cross reference (Register Field Functions)

CTR1 PAM LL_DMA_GetDataTruncPadd

Parameters :

channel – This parameter can be one of the following values:

Return values :

Returned – value can be one of the following values:

void LL_DMA_SetDataAlignment ( DMA_Channel_TypeDef * channel , uint32_t data_alignment )

Set data alignment mode.

Reference Manual to LL API cross reference (Register Field Functions)

CTR1 PAM LL_DMA_SetDataAlignment

Parameters :
uint32_t LL_DMA_GetDataAlignment ( const DMA_Channel_TypeDef * channel )

Get data alignment mode.

Reference Manual to LL API cross reference (Register Field Functions)

CTR1 PAM LL_DMA_GetDataAlignment

Parameters :

channel – This parameter can be one of the following values:

Return values :

Returned – value can be one of the following values:

void LL_DMA_SetSrcBurstLength ( DMA_Channel_TypeDef * channel , uint32_t src_burst_length )

Set source burst length.

Reference Manual to LL API cross reference (Register Field Functions)

CTR1 SBL_1 LL_DMA_SetSrcBurstLength

Parameters :
uint32_t LL_DMA_GetSrcBurstLength ( const DMA_Channel_TypeDef * channel )

Get source burst length.

Reference Manual to LL API cross reference (Register Field Functions)

CTR1 SBL_1 LL_DMA_GetSrcBurstLength

Parameters :

channel – This parameter can be one of the following values:

Return values :

Between – 1 and 64

void LL_DMA_SetSrcIncMode ( DMA_Channel_TypeDef * channel , uint32_t src_inc )

Set source increment mode.

Reference Manual to LL API cross reference (Register Field Functions)

CTR1 SINC LL_DMA_SetSrcIncMode

Parameters :
uint32_t LL_DMA_GetSrcIncMode ( const DMA_Channel_TypeDef * channel )

Get source increment mode.

Reference Manual to LL API cross reference (Register Field Functions)

CTR1 SINC LL_DMA_GetSrcIncMode

Parameters :

channel – This parameter can be one of the following values:

Return values :

Returned – value can be one of the following values:

void LL_DMA_SetSrcDataWidth ( DMA_Channel_TypeDef * channel , uint32_t src_data_width )

Set source data width.

Reference Manual to LL API cross reference (Register Field Functions)

CTR1 SDW_LOG2 LL_DMA_SetSrcDataWidth

Parameters :
uint32_t LL_DMA_GetSrcDataWidth ( const DMA_Channel_TypeDef * channel )

Get Source Data width.

Reference Manual to LL API cross reference (Register Field Functions)

CTR1 SDW_LOG2 LL_DMA_GetSrcDataWidth

Parameters :

channel – This parameter can be one of the following values:

Return values :

Returned – value can be one of the following values:

void LL_DMA_ConfigChannelTransfer ( DMA_Channel_TypeDef * channel , uint32_t configuration )

Configure channel transfer.

Reference Manual to LL API cross reference (Register Field Functions)

CTR2 TCEM LL_DMA_ConfigChannelTransfer

CTR2 TRIGPOL LL_DMA_ConfigChannelTransfer

CTR2 TRIGM LL_DMA_ConfigChannelTransfer

CTR2 BREQ LL_DMA_ConfigChannelTransfer

CTR2 DREQ LL_DMA_ConfigChannelTransfer

CTR2 SWREQ LL_DMA_ConfigChannelTransfer

Parameters :
void LL_DMA_SetTransferEventMode ( DMA_Channel_TypeDef * channel , uint32_t transfer_event_mode )

Set transfer event mode.

Reference Manual to LL API cross reference (Register Field Functions)

CTR2 TCEM LL_DMA_SetTransferEventMode

Parameters :
uint32_t LL_DMA_GetTransferEventMode ( const DMA_Channel_TypeDef * channel )

Get transfer event mode.

Reference Manual to LL API cross reference (Register Field Functions)

CTR2 TCEM LL_DMA_GetTransferEventMode

Parameters :

channel – This parameter can be one of the following values:

Return values :

Returned – value can be one of the following values:

void LL_DMA_ConfigChannelTrigger ( DMA_Channel_TypeDef * channel , uint32_t trigger_selection , uint32_t trigger_config )

Set trigger polarity.

Reference Manual to LL API cross reference (Register Field Functions)

CTR2 TRIGPOL/TRIGM/TRIGSEL LL_DMA_ConfigChannelTrigger

Parameters :
void LL_DMA_SetTriggerPolarity ( DMA_Channel_TypeDef * channel , uint32_t trigger_polarity )

Set trigger polarity.

Reference Manual to LL API cross reference (Register Field Functions)

CTR2 TRIGPOL LL_DMA_SetTriggerPolarity

Parameters :
uint32_t LL_DMA_GetTriggerPolarity ( const DMA_Channel_TypeDef * channel )

Get trigger polarity.

Reference Manual to LL API cross reference (Register Field Functions)

CTR2 TRIGPOL LL_DMA_GetTriggerPolarity

Parameters :

channel – This parameter can be one of the following values:

Return values :

Returned – value can be one of the following values:

void LL_DMA_SetTriggerMode ( DMA_Channel_TypeDef * channel , uint32_t trigger_mode )

Set trigger Mode.

Reference Manual to LL API cross reference (Register Field Functions)

CTR2 TRIGM LL_DMA_SetTriggerMode

Parameters :
uint32_t LL_DMA_GetTriggerMode ( const DMA_Channel_TypeDef * channel )

Get trigger Mode.

Reference Manual to LL API cross reference (Register Field Functions)

CTR2 TRIGM LL_DMA_GetTriggerMode

Parameters :

channel – This parameter can be one of the following values:

Return values :

Returned – value can be one of the following values:

void LL_DMA_SetDataTransferDirection ( DMA_Channel_TypeDef * channel , uint32_t direction )

Set destination hardware and software transfer request.

Reference Manual to LL API cross reference (Register Field Functions)

CTR2 DREQ LL_DMA_SetDataTransferDirection

CTR2 SWREQ LL_DMA_SetDataTransferDirection

Parameters :
uint32_t LL_DMA_GetDataTransferDirection ( const DMA_Channel_TypeDef * channel )

Get destination hardware and software transfer request.

Reference Manual to LL API cross reference (Register Field Functions)

CTR2 DREQ LL_DMA_GetDataTransferDirection

CTR2 SWREQ LL_DMA_GetDataTransferDirection

Parameters :

channel – This parameter can be one of the following values:

Return values :

Returned – value can be one of the following values:

void LL_DMA_SetHWRequestMode ( DMA_Channel_TypeDef * channel , uint32_t blk_hw_request )

Set block hardware request.

Reference Manual to LL API cross reference (Register Field Functions)

CTR2 BREQ LL_DMA_SetHWRequestMode

Parameters :
uint32_t LL_DMA_GetHWRequestType ( const DMA_Channel_TypeDef * channel )

Get block hardware request.

Reference Manual to LL API cross reference (Register Field Functions)

CTR2 BREQ LL_DMA_GetHWRequestType

Parameters :

channel – This parameter can be one of the following values:

Return values :

Returned – value can be one of the following values:

void LL_DMA_SetPeriphRequest ( DMA_Channel_TypeDef * channel , uint32_t request )

Set hardware request.

Reference Manual to LL API cross reference (Register Field Functions)

CTR2 REQSEL LL_DMA_SetPeriphRequest

Parameters :
uint32_t LL_DMA_GetPeriphRequest ( const DMA_Channel_TypeDef * channel )

Get hardware request.

Reference Manual to LL API cross reference (Register Field Functions)

CTR2 REQSEL LL_DMA_GetPeriphRequest

Parameters :

channel – This parameter can be one of the following values:

Return values :

Returned – value can be one of the following values:

void LL_DMA_SetHWTrigger ( DMA_Channel_TypeDef * channel , uint32_t trigger )

Set hardware trigger.

Reference Manual to LL API cross reference (Register Field Functions)

CTR2 TRIGSEL LL_DMA_SetHWTrigger

Parameters :
uint32_t LL_DMA_GetHWTrigger ( const DMA_Channel_TypeDef * channel )

Get hardware triggers.

Reference Manual to LL API cross reference (Register Field Functions)

CTR2 TRIGSEL LL_DMA_GetHWTrigger

Parameters :

channel – This parameter can be one of the following values:

Return values :

Returned – value can be one of the following values:

void LL_DMA_ConfigBlkRpt ( DMA_Channel_TypeDef * channel , uint32_t blk_rpt_count , uint32_t configuration )

Configure addresses update.

Reference Manual to LL API cross reference (Register Field Functions)

CBR1 BRDDEC LL_DMA_ConfigBlkRpt

CBR1 BRSDEC LL_DMA_ConfigBlkRpt

CBR1 DDEC LL_DMA_ConfigBlkRpt

CBR1 SDEC LL_DMA_ConfigBlkRpt

CBR1 BRC LL_DMA_ConfigBlkRpt

Parameters :
void LL_DMA_ConfigBlkRptAddrUpdate ( DMA_Channel_TypeDef * channel , uint32_t configuration )

Configure addresses update.

Reference Manual to LL API cross reference (Register Field Functions)

CBR1 BRDDEC LL_DMA_ConfigBlkRptAddrUpdate

CBR1 BRSDEC LL_DMA_ConfigBlkRptAddrUpdate

CBR1 DDEC LL_DMA_ConfigBlkRptAddrUpdate

CBR1 SDEC LL_DMA_ConfigBlkRptAddrUpdate

Parameters :
void LL_DMA_ConfigBlkCounters ( DMA_Channel_TypeDef * channel , uint32_t blk_data_length , uint32_t blk_rpt_count )

Configure DMA Block number of data and repeat Count.

Reference Manual to LL API cross reference (Register Field Functions)

CBR1 BNDT LL_DMA_ConfigBlkCounters

CBR1 BRC LL_DMA_ConfigBlkCounters

Parameters :
void LL_DMA_SetBlkRptDestAddrUpdate ( DMA_Channel_TypeDef * channel , uint32_t blk_rpt_dest_addr_update )

Set block repeat destination address update.

Reference Manual to LL API cross reference (Register Field Functions)

CBR1 BRDDEC LL_DMA_SetBlkRptDestAddrUpdate

Parameters :
uint32_t LL_DMA_GetBlkRptDestAddrUpdate ( const DMA_Channel_TypeDef * channel )

Get block repeat destination address update.

Reference Manual to LL API cross reference (Register Field Functions)

CBR1 BRDDEC LL_DMA_GetBlkRptDestAddrUpdate

Parameters :

channel – This parameter can be one of the following values:

Return values :

Returned – value can be one of the following values:

void LL_DMA_SetBlkRptSrcAddrUpdate ( DMA_Channel_TypeDef * channel , uint32_t blk_rpt_src_addr_update )

Set block repeat source address update.

Reference Manual to LL API cross reference (Register Field Functions)

CBR1 BRSDEC LL_DMA_SetBlkRptSrcAddrUpdate

Parameters :
uint32_t LL_DMA_GetBlkRptSrcAddrUpdate ( const DMA_Channel_TypeDef * channel )

Get block repeat source address update.

Reference Manual to LL API cross reference (Register Field Functions)

CBR1 BRSDEC LL_DMA_GetBlkRptSrcAddrUpdate

Parameters :

channel – This parameter can be one of the following values:

Return values :

Returned – value can be one of the following values:

void LL_DMA_SetDestAddrUpdate ( DMA_Channel_TypeDef * channel , uint32_t dest_addr_update )

Set destination address update.

Reference Manual to LL API cross reference (Register Field Functions)

CBR1 DDEC LL_DMA_SetDestAddrUpdate

Parameters :
uint32_t LL_DMA_GetDestAddrUpdate ( const DMA_Channel_TypeDef * channel )

Get destination address update.

Reference Manual to LL API cross reference (Register Field Functions)

CBR1 DDEC LL_DMA_GetDestAddrUpdate

Parameters :

channel – This parameter can be one of the following values:

Return values :

Returned – value can be one of the following values:

void LL_DMA_SetSrcAddrUpdate ( DMA_Channel_TypeDef * channel , uint32_t src_addr_update )

Set source address update.

Reference Manual to LL API cross reference (Register Field Functions)

CBR1 SDEC LL_DMA_SetSrcAddrUpdate

Parameters :
uint32_t LL_DMA_GetSrcAddrUpdate ( const DMA_Channel_TypeDef * channel )

Get source address update.

Reference Manual to LL API cross reference (Register Field Functions)

CBR1 SDEC LL_DMA_GetSrcAddrUpdate

Parameters :

channel – This parameter can be one of the following values:

Return values :

Returned – value can be one of the following values:

void LL_DMA_SetBlkRptCount ( DMA_Channel_TypeDef * channel , uint32_t blk_rpt_count )

Set block repeat count.

Reference Manual to LL API cross reference (Register Field Functions)

CBR1 BRC LL_DMA_SetBlkRptCount

Parameters :
uint32_t LL_DMA_GetBlkRptCount ( const DMA_Channel_TypeDef * channel )

Get block repeat count.

Reference Manual to LL API cross reference (Register Field Functions)

CBR1 BRC LL_DMA_GetBlkRptCount

Parameters :

channel – This parameter can be one of the following values:

Return values :

Between – 0 and 0x000007FF

void LL_DMA_SetBlkDataLength ( DMA_Channel_TypeDef * channel , uint32_t blk_data_length )

Set block data length in bytes to transfer.

Reference Manual to LL API cross reference (Register Field Functions)

CBR1 BNDT LL_DMA_SetBlkDataLength

Parameters :
uint32_t LL_DMA_GetBlkDataLength ( const DMA_Channel_TypeDef * channel )

Get block data length in bytes to transfer.

Reference Manual to LL API cross reference (Register Field Functions)

CBR1 BNDT LL_DMA_GetBlkDataLength

Parameters :

channel – This parameter can be one of the following values:

Return values :

Between – 0 and 0x0000FFFF

void LL_DMA_ConfigAddresses ( DMA_Channel_TypeDef * channel , uint32_t src_address , uint32_t dest_address )

Configure the source and destination addresses.

Reference Manual to LL API cross reference (Register Field Functions)

CSAR SA LL_DMA_ConfigAddresses

CDAR DA LL_DMA_ConfigAddresses

Warning

This API must not be called when the DMA channel is enabled.

Parameters :
void LL_DMA_SetSrcAddress ( DMA_Channel_TypeDef * channel , uint32_t src_address )

Set source address.

Reference Manual to LL API cross reference (Register Field Functions)

CSAR SA LL_DMA_SetSrcAddress

Parameters :
uint32_t LL_DMA_GetSrcAddress ( const DMA_Channel_TypeDef * channel )

Get source address.

Reference Manual to LL API cross reference (Register Field Functions)

CSAR SA LL_DMA_GetSrcAddress

Parameters :

channel – This parameter can be one of the following values:

Return values :

Between – 0 and 0xFFFFFFFF

void LL_DMA_SetDestAddress ( DMA_Channel_TypeDef * channel , uint32_t dest_address )

Set destination address.

Reference Manual to LL API cross reference (Register Field Functions)

CDAR DA LL_DMA_SetDestAddress

Parameters :
uint32_t LL_DMA_GetDestAddress ( const DMA_Channel_TypeDef * channel )

Get destination address.

Reference Manual to LL API cross reference (Register Field Functions)

CDAR DA LL_DMA_GetDestAddress

Parameters :

channel – This parameter can be one of the following values:

Return values :

Between – 0 and 0xFFFFFFFF

void LL_DMA_ConfigAddrUpdateValue ( DMA_Channel_TypeDef * channel , uint32_t src_addr_offset , uint32_t dest_addr_offset )

Configure source and destination addresses offset.

Reference Manual to LL API cross reference (Register Field Functions)

CTR3 DAO LL_DMA_ConfigAddrUpdateValue

CTR3 SAO LL_DMA_ConfigAddrUpdateValue

Warning

This API must not be called when the DMA channel is enabled.

Parameters :
void LL_DMA_SetDestAddrUpdateValue ( DMA_Channel_TypeDef * channel , uint32_t dest_addr_offset )

Set destination address offset.

Reference Manual to LL API cross reference (Register Field Functions)

CTR3 DAO LL_DMA_SetDestAddrUpdateValue

Parameters :
uint32_t LL_DMA_GetDestAddrUpdateValue ( const DMA_Channel_TypeDef * channel )

Get destination address offset.

Reference Manual to LL API cross reference (Register Field Functions)

CDAR DAO LL_DMA_GetDestAddrUpdateValue

Parameters :

channel – This parameter can be one of the following values:

Return values :

Between – 0 and 0x00001FFF

void LL_DMA_SetSrcAddrUpdateValue ( DMA_Channel_TypeDef * channel , uint32_t src_addr_offset )

Set source address offset.

Reference Manual to LL API cross reference (Register Field Functions)

CTR3 SAO LL_DMA_SetSrcAddrUpdateValue

Parameters :
uint32_t LL_DMA_GetSrcAddrUpdateValue ( const DMA_Channel_TypeDef * channel )

Get source address offset.

Reference Manual to LL API cross reference (Register Field Functions)

CTR3 SAO LL_DMA_GetSrcAddrUpdateValue

Parameters :

channel – This parameter can be one of the following values:

Return values :

Between – 0 and 0x00001FFF

void LL_DMA_ConfigBlkRptAddrUpdateValue ( DMA_Channel_TypeDef * channel , uint32_t blk_rpt_src_addr_offset , uint32_t blk_rpt_dest_addr_offset )

Configure the block repeated source and destination addresses offset.

Reference Manual to LL API cross reference (Register Field Functions)

CBR2 BRDAO LL_DMA_ConfigBlkRptAddrUpdateValue

CBR2 BRSAO LL_DMA_ConfigBlkRptAddrUpdateValue

Warning

This API must not be called when the DMA channel is enabled.

Parameters :
void LL_DMA_SetBlkRptDestAddrUpdateValue ( DMA_Channel_TypeDef * channel , uint32_t blk_rpt_dest_addr_offset )

Set block repeated destination address offset.

Reference Manual to LL API cross reference (Register Field Functions)

CBR2 BRDAO LL_DMA_SetBlkRptDestAddrUpdateValue

Parameters :
uint32_t LL_DMA_GetBlkRptDestAddrUpdateValue ( const DMA_Channel_TypeDef * channel )

Get block repeated destination address offset.

Reference Manual to LL API cross reference (Register Field Functions)

CBR2 BRDAO LL_DMA_GetBlkRptDestAddrUpdateValue

Parameters :

channel – This parameter can be one of the following values:

Return values :

Between – 0 and 0x0000FFFF.

void LL_DMA_SetBlkRptSrcAddrUpdateValue ( DMA_Channel_TypeDef * channel , uint32_t blk_rpt_src_addr_offset )

Set block repeated source address offset.

Reference Manual to LL API cross reference (Register Field Functions)

CBR2 BRSAO LL_DMA_SetBlkRptSrcAddrUpdateValue

Parameters :
uint32_t LL_DMA_GetBlkRptSrcAddrUpdateValue ( const DMA_Channel_TypeDef * channel )

Get block repeated source address offset.

Reference Manual to LL API cross reference (Register Field Functions)

CBR2 BRSAO LL_DMA_GetBlkRptSrcAddrUpdateValue

Parameters :

channel – This parameter can be one of the following values:

Return values :

Between – 0 and 0x0000FFFF

void LL_DMA_ConfigLinkUpdate ( DMA_Channel_TypeDef * channel , uint32_t registers_update , uint32_t linked_list_addr_offset )

Configure registers update and node address offset during the link transfer.

Reference Manual to LL API cross reference (Register Field Functions)

CLLR UT1 LL_DMA_ConfigLinkUpdate

CLLR UT2 LL_DMA_ConfigLinkUpdate

CLLR UB1 LL_DMA_ConfigLinkUpdate

CLLR USA LL_DMA_ConfigLinkUpdate

CLLR UDA LL_DMA_ConfigLinkUpdate

CLLR UT3 LL_DMA_ConfigLinkUpdate

CLLR UB2 LL_DMA_ConfigLinkUpdate

CLLR ULL LL_DMA_ConfigLinkUpdate

Parameters :
void LL_DMA_EnableCTR1Update ( DMA_Channel_TypeDef * channel )

Enable CTR1 update during the link transfer.

Reference Manual to LL API cross reference (Register Field Functions)

CLLR UT1 LL_DMA_EnableCTR1Update

Parameters :

channel – This parameter can be one of the following values:

void LL_DMA_DisableCTR1Update ( DMA_Channel_TypeDef * channel )

Disable CTR1 update during the link transfer.

Reference Manual to LL API cross reference (Register Field Functions)

CLLR UT1 LL_DMA_DisableCTR1Update

Parameters :

channel – This parameter can be one of the following values:

uint32_t LL_DMA_IsEnabledCTR1Update ( const DMA_Channel_TypeDef * channel )

Check if CTR1 update during the link transfer is enabled.

Reference Manual to LL API cross reference (Register Field Functions)

CLLR UT1 LL_DMA_IsEnabledCTR1Update

Parameters :

channel – This parameter can be one of the following values:

Return values :

State – of bit (1 or 0).

void LL_DMA_EnableCTR2Update ( DMA_Channel_TypeDef * channel )

Enable CTR2 update during the link transfer.

Reference Manual to LL API cross reference (Register Field Functions)

CLLR UT2 LL_DMA_EnableCTR2Update

Parameters :

channel – This parameter can be one of the following values:

void LL_DMA_DisableCTR2Update ( DMA_Channel_TypeDef * channel )

Disable CTR2 update during the link transfer.

Reference Manual to LL API cross reference (Register Field Functions)

CLLR UT2 LL_DMA_DisableCTR2Update

Parameters :

channel – This parameter can be one of the following values:

uint32_t LL_DMA_IsEnabledCTR2Update ( const DMA_Channel_TypeDef * channel )

Check if CTR2 update during the link transfer is enabled.

Reference Manual to LL API cross reference (Register Field Functions)

CLLR UT2 LL_DMA_IsEnabledCTR2Update

Parameters :

channel – This parameter can be one of the following values:

Return values :

State – of bit (1 or 0).

void LL_DMA_EnableCBR1Update ( DMA_Channel_TypeDef * channel )

Enable CBR1 update during the link transfer.

Reference Manual to LL API cross reference (Register Field Functions)

CLLR UB1 LL_DMA_EnableCBR1Update

Parameters :

channel – This parameter can be one of the following values:

void LL_DMA_DisableCBR1Update ( DMA_Channel_TypeDef * channel )

Disable CBR1 update during the link transfer.

Reference Manual to LL API cross reference (Register Field Functions)

CLLR UB1 LL_DMA_DisableCBR1Update

Parameters :

channel – This parameter can be one of the following values:

uint32_t LL_DMA_IsEnabledCBR1Update ( const DMA_Channel_TypeDef * channel )

Check if CBR1 update during the link transfer is enabled.

Reference Manual to LL API cross reference (Register Field Functions)

CLLR UB1 LL_DMA_IsEnabledCBR1Update

Parameters :

channel – This parameter can be one of the following values:

Return values :

State – of bit (1 or 0).

void LL_DMA_EnableCSARUpdate ( DMA_Channel_TypeDef * channel )

Enable CSAR update during the link transfer.

Reference Manual to LL API cross reference (Register Field Functions)

CLLR USA LL_DMA_EnableCSARUpdate

Parameters :

channel – This parameter can be one of the following values:

void LL_DMA_DisableCSARUpdate ( DMA_Channel_TypeDef * channel )

Disable CSAR update during the link transfer.

Reference Manual to LL API cross reference (Register Field Functions)

CLLR USA LL_DMA_DisableCSARUpdate

Parameters :

channel – This parameter can be one of the following values:

uint32_t LL_DMA_IsEnabledCSARUpdate ( const DMA_Channel_TypeDef * channel )

Check if CSAR update during the link transfer is enabled.

Reference Manual to LL API cross reference (Register Field Functions)

CLLR USA LL_DMA_IsEnabledCSARUpdate

Parameters :

channel – This parameter can be one of the following values:

Return values :

State – of bit (1 or 0).

void LL_DMA_EnableCDARUpdate ( DMA_Channel_TypeDef * channel )

Enable CDAR update during the link transfer.

Reference Manual to LL API cross reference (Register Field Functions)

CLLR UDA LL_DMA_EnableCDARUpdate

Parameters :

channel – This parameter can be one of the following values:

void LL_DMA_DisableCDARUpdate ( DMA_Channel_TypeDef * channel )

Disable CDAR update during the link transfer.

Reference Manual to LL API cross reference (Register Field Functions)

CLLR UDA LL_DMA_DisableCDARUpdate

Parameters :

channel – This parameter can be one of the following values:

uint32_t LL_DMA_IsEnabledCDARUpdate ( const DMA_Channel_TypeDef * channel )

Check if CDAR update during the link transfer is enabled.

Reference Manual to LL API cross reference (Register Field Functions)

CLLR UDA LL_DMA_IsEnabledCDARUpdate

Parameters :

channel – This parameter can be one of the following values:

Return values :

State – of bit (1 or 0).

void LL_DMA_EnableCTR3Update ( DMA_Channel_TypeDef * channel )

Enable CTR3 update during the link transfer.

Reference Manual to LL API cross reference (Register Field Functions)

CLLR UT3 LL_DMA_EnableCTR3Update

Parameters :

channel – This parameter can be one of the following values:

void LL_DMA_DisableCTR3Update ( DMA_Channel_TypeDef * channel )

Disable CTR3 update during the link transfer.

Reference Manual to LL API cross reference (Register Field Functions)

CLLR UT3 LL_DMA_DisableCTR3Update

Parameters :

channel – This parameter can be one of the following values:

uint32_t LL_DMA_IsEnabledCTR3Update ( const DMA_Channel_TypeDef * channel )

Check if CTR3 update during the link transfer is enabled.

Reference Manual to LL API cross reference (Register Field Functions)

CLLR UT3 LL_DMA_IsEnabledCTR3Update

Parameters :

channel – This parameter can be one of the following values:

Return values :

State – of bit (1 or 0).

void LL_DMA_EnableCBR2Update ( DMA_Channel_TypeDef * channel )

Enable CBR2 update during the link transfer.

Reference Manual to LL API cross reference (Register Field Functions)

CLLR UB2 LL_DMA_EnableCBR2Update

Parameters :

channel – This parameter can be one of the following values:

void LL_DMA_DisableCBR2Update ( DMA_Channel_TypeDef * channel )

Disable CBR2 update during the link transfer.

Reference Manual to LL API cross reference (Register Field Functions)

CLLR UB2 LL_DMA_DisableCBR2Update

Parameters :

channel – This parameter can be one of the following values:

uint32_t LL_DMA_IsEnabledCBR2Update ( const DMA_Channel_TypeDef * channel )

Check if CBR2 update during the link transfer is enabled.

Reference Manual to LL API cross reference (Register Field Functions)

CLLR UB2 LL_DMA_IsEnabledCBR2Update

Parameters :

channel – This parameter can be one of the following values:

Return values :

State – of bit (1 or 0).

void LL_DMA_EnableCLLRUpdate ( DMA_Channel_TypeDef * channel )

Enable CLLR update during the link transfer.

Reference Manual to LL API cross reference (Register Field Functions)

CLLR ULL LL_DMA_EnableCLLRUpdate

Parameters :

channel – This parameter can be one of the following values:

void LL_DMA_DisableCLLRUpdate ( DMA_Channel_TypeDef * channel )

Disable CLLR update during the link transfer.

Reference Manual to LL API cross reference (Register Field Functions)

CLLR ULL LL_DMA_DisableCLLRUpdate

Parameters :

channel – This parameter can be one of the following values:

uint32_t LL_DMA_IsEnabledCLLRUpdate ( const DMA_Channel_TypeDef * channel )

Check if CLLR update during the link transfer is enabled.

Reference Manual to LL API cross reference (Register Field Functions)

CLLR ULL LL_DMA_IsEnabledCLLRUpdate

Parameters :

channel – This parameter can be one of the following values:

Return values :

State – of bit (1 or 0).

void LL_DMA_SetLinkedListAddrOffset ( DMA_Channel_TypeDef * channel , uint32_t linked_list_addr_offset )

Set linked list address offset.

Reference Manual to LL API cross reference (Register Field Functions)

CLLR LA LL_DMA_SetLinkedListAddrOffset

Parameters :
uint32_t LL_DMA_GetLinkedListAddrOffset ( const DMA_Channel_TypeDef * channel )

Get linked list address offset.

Reference Manual to LL API cross reference (Register Field Functions)

CLLR LA LL_DMA_GetLinkedListAddrOffset

Parameters :

channel – This parameter can be one of the following values:

Return values :

Between – 0 and 0x0000FFFC.

uint32_t LL_DMA_GetFIFOLevel ( const DMA_Channel_TypeDef * channel )

Get FIFO level.

Reference Manual to LL API cross reference (Register Field Functions)

CSR FIFOL LL_DMA_GetFIFOLevel

Parameters :

channel – This parameter can be one of the following values:

Return values :

Between – 0 and 0x000000FF.

void LL_DMA_ConfigChannelAccessSecurity ( DMA_Channel_TypeDef * channel , uint32_t src_sec_attr , uint32_t dest_sec_attr )

Configure DMA channel access security attribute.

Reference Manual to LL API cross reference (Register Field Functions)

CTR1 SSEC LL_DMA_ConfigChannelAccessSecurity

CTR1 DSEC LL_DMA_ConfigChannelAccessSecurity

Parameters :
void LL_DMA_SetChannelDestSecurity ( DMA_Channel_TypeDef * channel , uint32_t dest_sec_attr )

Set DMA channel destination security attribute.

Reference Manual to LL API cross reference (Register Field Functions)

CTR1 DSEC LL_DMA_SetChannelDestSecurity

Parameters :
uint32_t LL_DMA_GetChannelDestSecurity ( const DMA_Channel_TypeDef * channel )

Get DMA channel destination security attribute.

Reference Manual to LL API cross reference (Register Field Functions)

CTR1 DSEC LL_DMA_GetChannelDestSecurity

Parameters :

channel – This parameter can be one of the following values:

void LL_DMA_SetChannelSrcSecurity ( DMA_Channel_TypeDef * channel , uint32_t src_sec_attr )

Set DMA channel source security attribute.

Reference Manual to LL API cross reference (Register Field Functions)

CTR1 SSEC LL_DMA_SetChannelSrcSecurity

Parameters :
uint32_t LL_DMA_GetChannelSrcSecurity ( const DMA_Channel_TypeDef * channel )

Get DMA channel source security attribute.

Reference Manual to LL API cross reference (Register Field Functions)

CTR1 SSEC LL_DMA_GetChannelSrcSecurity

Parameters :

channel – This parameter can be one of the following values:

void LL_DMA_SetChannelSecurity ( DMA_TypeDef * dmax , uint32_t channel , uint32_t sec_attr )

Set the DMA channel security attribute.

Reference Manual to LL API cross reference (Register Field Functions)

SECCFGR SECx LL_DMA_SetChannelSecurity

Parameters :
uint32_t LL_DMA_GetChannelSecurity ( const DMA_TypeDef * dmax , uint32_t channel )

Get the DMA channel security attribute.

Reference Manual to LL API cross reference (Register Field Functions)

SECCFGR SECx LL_DMA_GetChannelSecurity

Parameters :
void LL_DMA_SetChannelPrivilege ( DMA_TypeDef * dmax , uint32_t channel , uint32_t priv_attr )

Set the DMA channel privilege attribute.

Reference Manual to LL API cross reference (Register Field Functions)

PRIVCFGR PRIVx LL_DMA_SetChannelPrivilege

Parameters :
uint32_t LL_DMA_GetChannelPrivilege ( const DMA_TypeDef * dmax , uint32_t channel )

Get the DMA channel privilege attribute.

Reference Manual to LL API cross reference (Register Field Functions)

PRIVCFGR PRIVx LL_DMA_GetChannelPrivilege

Parameters :
void LL_DMA_LockChannelAttribute ( DMA_TypeDef * dmax , uint32_t channel )

Lock the DMA channel security and privilege attributes.

Reference Manual to LL API cross reference (Register Field Functions)

RCFGLOCKR LOCKx LL_DMA_LockChannelAttribute

Parameters :
uint32_t LL_DMA_IsLockedChannelAttribute ( const DMA_TypeDef * dmax , uint32_t channel )

Check if the DMA channel privilege and security attributes are locked.

Reference Manual to LL API cross reference (Register Field Functions)

SECCFGR LOCKx LL_DMA_IsLockedChannelAttribute

Parameters :
Return values :

State – of bit (1 or 0).

Flag Management

group DMA_LL_EF_FLAG_Management

Functions

void LL_DMA_ClearFlag ( DMA_Channel_TypeDef * channel , uint32_t flag )

Clear flag.

Reference Manual to LL API cross reference (Register Field Functions)

CFCR TOF/SUSPF/USEF/ULEF/DTEF/HTF/TCF LL_DMA_ClearFlag

Parameters :
void LL_DMA_ClearFlag_TO ( DMA_Channel_TypeDef * channel )

Clear trigger overrun flag.

Reference Manual to LL API cross reference (Register Field Functions)

CFCR TOF LL_DMA_ClearFlag_TO

Parameters :

channel – This parameter can be one of the following values:

void LL_DMA_ClearFlag_SUSP ( DMA_Channel_TypeDef * channel )

Clear suspension flag.

Reference Manual to LL API cross reference (Register Field Functions)

CFCR SUSPF LL_DMA_ClearFlag_SUSP

Parameters :

channel – This parameter can be one of the following values:

void LL_DMA_ClearFlag_USE ( DMA_Channel_TypeDef * channel )

Clear user setting error flag.

Reference Manual to LL API cross reference (Register Field Functions)

CFCR USEF LL_DMA_ClearFlag_USE

Parameters :

channel – This parameter can be one of the following values:

void LL_DMA_ClearFlag_ULE ( DMA_Channel_TypeDef * channel )

Clear link transfer error flag.

Reference Manual to LL API cross reference (Register Field Functions)

CFCR ULEF LL_DMA_ClearFlag_ULE

Parameters :

channel – This parameter can be one of the following values:

void LL_DMA_ClearFlag_DTE ( DMA_Channel_TypeDef * channel )

Clear data transfer error flag.

Reference Manual to LL API cross reference (Register Field Functions)

CFCR DTEF LL_DMA_ClearFlag_DTE

Parameters :

channel – This parameter can be one of the following values:

void LL_DMA_ClearFlag_HT ( DMA_Channel_TypeDef * channel )

Clear half transfer flag.

Reference Manual to LL API cross reference (Register Field Functions)

CFCR HTF LL_DMA_ClearFlag_HT

Parameters :

channel – This parameter can be one of the following values:

void LL_DMA_ClearFlag_TC ( DMA_Channel_TypeDef * channel )

Clear transfer complete flag.

Reference Manual to LL API cross reference (Register Field Functions)

CFCR TCF LL_DMA_ClearFlag_TC

Parameters :

channel – This parameter can be one of the following values:

uint32_t LL_DMA_IsActiveFlag_TO ( const DMA_Channel_TypeDef * channel )

Get trigger overrun flag.

Reference Manual to LL API cross reference (Register Field Functions)

CSR TOF LL_DMA_IsActiveFlag_TO

Parameters :

channel – This parameter can be one of the following values:

Return values :

State – of bit (1 or 0).

uint32_t LL_DMA_IsActiveFlag_SUSP ( const DMA_Channel_TypeDef * channel )

Get suspension flag.

Reference Manual to LL API cross reference (Register Field Functions)

CSR SUSPF LL_DMA_IsActiveFlag_SUSP

Parameters :

channel – This parameter can be one of the following values:

Return values :

State – of bit (1 or 0).

uint32_t LL_DMA_IsActiveFlag_USE ( const DMA_Channel_TypeDef * channel )

Get user setting error flag.

Reference Manual to LL API cross reference (Register Field Functions)

CSR USEF LL_DMA_IsActiveFlag_USE

Parameters :

channel – This parameter can be one of the following values:

Return values :

State – of bit (1 or 0).

uint32_t LL_DMA_IsActiveFlag_ULE ( const DMA_Channel_TypeDef * channel )

Get update link transfer error flag.

Reference Manual to LL API cross reference (Register Field Functions)

CSR ULEF LL_DMA_IsActiveFlag_ULE

Parameters :

channel – This parameter can be one of the following values:

Return values :

State – of bit (1 or 0).

uint32_t LL_DMA_IsActiveFlag_DTE ( const DMA_Channel_TypeDef * channel )

Get data transfer error flag.

Reference Manual to LL API cross reference (Register Field Functions)

CSR DTEF LL_DMA_IsActiveFlag_DTE

Parameters :

channel – This parameter can be one of the following values:

Return values :

State – of bit (1 or 0).

uint32_t LL_DMA_IsActiveFlag_HT ( const DMA_Channel_TypeDef * channel )

Get half transfer flag.

Reference Manual to LL API cross reference (Register Field Functions)

CSR HTF LL_DMA_IsActiveFlag_HT

Parameters :

channel – This parameter can be one of the following values:

Return values :

State – of bit (1 or 0).

uint32_t LL_DMA_IsActiveFlag_TC ( const DMA_Channel_TypeDef * channel )

Get transfer complete flag.

Reference Manual to LL API cross reference (Register Field Functions)

CSR TCF LL_DMA_IsActiveFlag_TC

Parameters :

channel – This parameter can be one of the following values:

Return values :

State – of bit (1 or 0).

uint32_t LL_DMA_IsActiveFlag_IDLE ( const DMA_Channel_TypeDef * channel )

Get idle flag.

Reference Manual to LL API cross reference (Register Field Functions)

CSR IDLEF LL_DMA_IsActiveFlag_IDLE

Parameters :

channel – This parameter can be one of the following values:

Return values :

State – of bit (1 or 0).

uint32_t LL_DMA_IsActiveFlag_MIS ( const DMA_TypeDef * dmax , uint32_t channel )

Check if masked interrupt is active.

Reference Manual to LL API cross reference (Register Field Functions)

MISR MISx LL_DMA_IsActiveFlag_MIS

Parameters :
Return values :

State – of bit (1 or 0).

uint32_t LL_DMA_IsActiveFlag_SMIS ( const DMA_TypeDef * dmax , uint32_t channel )

Check if secure masked interrupt is active.

Reference Manual to LL API cross reference (Register Field Functions)

SMISR MISx LL_DMA_IsActiveFlag_SMIS

Parameters :
Return values :

State – of bit (1 or 0).

Interrupt Management

group DMA_LL_EF_IT_Management

Functions

void LL_DMA_EnableIT ( DMA_Channel_TypeDef * channel , uint32_t interrupt )

Enable interrupts.

Reference Manual to LL API cross reference (Register Field Functions)

CCR TOIF/SUSPIF/USEIF/ULEIF/DTEIF/HTIF/TCIF LL_DMA_EnableIT

Parameters :
void LL_DMA_DisableIT ( DMA_Channel_TypeDef * channel , uint32_t interrupt )

Enable interrupts.

Reference Manual to LL API cross reference (Register Field Functions)

CCR TOIF/SUSPIF/USEIF/ULEIF/DTEIF/HTIF/TCIF LL_DMA_DisableIT

Parameters :
void LL_DMA_EnableIT_TO ( DMA_Channel_TypeDef * channel )

Enable trigger overrun interrupt.

Reference Manual to LL API cross reference (Register Field Functions)

CCR TOIE LL_DMA_EnableIT_TO

Parameters :

channel – This parameter can be one of the following values:

void LL_DMA_EnableIT_SUSP ( DMA_Channel_TypeDef * channel )

Enable suspension interrupt.

Reference Manual to LL API cross reference (Register Field Functions)

CCR SUSPIE LL_DMA_EnableIT_SUSP

Parameters :

channel – This parameter can be one of the following values:

void LL_DMA_EnableIT_USE ( DMA_Channel_TypeDef * channel )

Enable user setting error interrupt.

Reference Manual to LL API cross reference (Register Field Functions)

CCR USEIE LL_DMA_EnableIT_USE

Parameters :

channel – This parameter can be one of the following values:

void LL_DMA_EnableIT_ULE ( DMA_Channel_TypeDef * channel )

Enable update link transfer error interrupt.

Reference Manual to LL API cross reference (Register Field Functions)

CCR ULEIE LL_DMA_EnableIT_ULE

Parameters :

channel – This parameter can be one of the following values:

void LL_DMA_EnableIT_DTE ( DMA_Channel_TypeDef * channel )

Enable data transfer error interrupt.

Reference Manual to LL API cross reference (Register Field Functions)

CCR DTEIE LL_DMA_EnableIT_DTE

Parameters :

channel – This parameter can be one of the following values:

void LL_DMA_EnableIT_HT ( DMA_Channel_TypeDef * channel )

Enable half transfer complete interrupt.

Reference Manual to LL API cross reference (Register Field Functions)

CCR HTIE LL_DMA_EnableIT_HT

Parameters :

channel – This parameter can be one of the following values:

void LL_DMA_EnableIT_TC ( DMA_Channel_TypeDef * channel )

Enable transfer complete interrupt.

Reference Manual to LL API cross reference (Register Field Functions)

CCR TCIE LL_DMA_EnableIT_TC

Parameters :

channel – This parameter can be one of the following values:

void LL_DMA_DisableIT_TO ( DMA_Channel_TypeDef * channel )

Disable trigger overrun interrupt.

Reference Manual to LL API cross reference (Register Field Functions)

CCR TOIE LL_DMA_DisableIT_TO

Parameters :

channel – This parameter can be one of the following values:

void LL_DMA_DisableIT_SUSP ( DMA_Channel_TypeDef * channel )

Disable suspension interrupt.

Reference Manual to LL API cross reference (Register Field Functions)

CCR SUSPIE LL_DMA_DisableIT_SUSP

Parameters :

channel – This parameter can be one of the following values:

void LL_DMA_DisableIT_USE ( DMA_Channel_TypeDef * channel )

Disable user setting error interrupt.

Reference Manual to LL API cross reference (Register Field Functions)

CCR USEIE LL_DMA_DisableIT_USE

Parameters :

channel – This parameter can be one of the following values:

void LL_DMA_DisableIT_ULE ( DMA_Channel_TypeDef * channel )

Disable update link transfer error interrupt.

Reference Manual to LL API cross reference (Register Field Functions)

CCR ULEIE LL_DMA_DisableIT_ULE

Parameters :

channel – This parameter can be one of the following values:

void LL_DMA_DisableIT_DTE ( DMA_Channel_TypeDef * channel )

Disable data transfer error interrupt.

Reference Manual to LL API cross reference (Register Field Functions)

CCR DTEIE LL_DMA_DisableIT_DTE

Parameters :

channel – This parameter can be one of the following values:

void LL_DMA_DisableIT_HT ( DMA_Channel_TypeDef * channel )

Disable half transfer complete interrupt.

Reference Manual to LL API cross reference (Register Field Functions)

CCR HTIE LL_DMA_DisableIT_HT

Parameters :

channel – This parameter can be one of the following values:

void LL_DMA_DisableIT_TC ( DMA_Channel_TypeDef * channel )

Disable transfer complete interrupt.

Reference Manual to LL API cross reference (Register Field Functions)

CCR TCIE LL_DMA_DisableIT_TC

Parameters :

channel – This parameter can be one of the following values:

uint32_t LL_DMA_IsEnabledIT_TO ( const DMA_Channel_TypeDef * channel )

Check if trigger overrun interrupt is enabled.

Reference Manual to LL API cross reference (Register Field Functions)

CCR TOIE LL_DMA_IsEnabledIT_TO

Parameters :

channel – This parameter can be one of the following values:

Return values :

State – of bit (1 or 0).

uint32_t LL_DMA_IsEnabledIT_SUSP ( const DMA_Channel_TypeDef * channel )

Check if suspension interrupt is enabled.

Reference Manual to LL API cross reference (Register Field Functions)

CCR SUSPIE LL_DMA_IsEnabledIT_SUSP

Parameters :

channel – This parameter can be one of the following values:

Return values :

State – of bit (1 or 0).

uint32_t LL_DMA_IsEnabledIT_USE ( const DMA_Channel_TypeDef * channel )

Check if user setting error interrupt is enabled.

Reference Manual to LL API cross reference (Register Field Functions)

CCR USEIE LL_DMA_IsEnabledIT_USE

Parameters :

channel – This parameter can be one of the following values:

Return values :

State – of bit (1 or 0).

uint32_t LL_DMA_IsEnabledIT_ULE ( const DMA_Channel_TypeDef * channel )

Check if update link transfer error interrupt is enabled.

Reference Manual to LL API cross reference (Register Field Functions)

CCR ULEIE LL_DMA_IsEnabledIT_ULE

Parameters :

channel – This parameter can be one of the following values:

Return values :

State – of bit (1 or 0).

uint32_t LL_DMA_IsEnabledIT_DTE ( const DMA_Channel_TypeDef * channel )

Check if data transfer error interrupt is enabled.

Reference Manual to LL API cross reference (Register Field Functions)

CCR DTEIE LL_DMA_IsEnabledIT_DTE

Parameters :

channel – This parameter can be one of the following values:

Return values :

State – of bit (1 or 0).

uint32_t LL_DMA_IsEnabledIT_HT ( const DMA_Channel_TypeDef * channel )

Check if half transfer complete interrupt is enabled.

Reference Manual to LL API cross reference (Register Field Functions)

CCR HTIE LL_DMA_IsEnabledIT_HT

Parameters :

channel – This parameter can be one of the following values:

Return values :

State – of bit (1 or 0).

uint32_t LL_DMA_IsEnabledIT_TC ( const DMA_Channel_TypeDef * channel )

Check if transfer complete interrupt is enabled.

Reference Manual to LL API cross reference (Register Field Functions)

CCR TCIE LL_DMA_IsEnabledIT_TC

Parameters :

channel – This parameter can be one of the following values:

Return values :

State – of bit (1 or 0).