Functions | |
__STATIC_INLINE void | ll_dma_enable (dma_regs_t *DMAx) |
Enable DMA Module. More... | |
__STATIC_INLINE void | ll_dma_disable (dma_regs_t *DMAx) |
Disable DMA Module. More... | |
__STATIC_INLINE uint32_t | ll_dma_is_enable (dma_regs_t *DMAx) |
Check if DMA Module is enabled or disabled. More... | |
__STATIC_INLINE void | ll_dma_enable_channel (dma_regs_t *DMAx, uint32_t channel) |
Enable DMA channel. More... | |
__STATIC_INLINE void | ll_dma_disable_channel (dma_regs_t *DMAx, uint32_t channel) |
Disable DMA channel. More... | |
__STATIC_INLINE uint32_t | ll_dma_is_enabled_channel (dma_regs_t *DMAx, uint32_t channel) |
Check if DMA channel is enabled or disabled. More... | |
__STATIC_INLINE void | ll_dma_suspend_channel (dma_regs_t *DMAx, uint32_t channel) |
Suspend a DMA channel transfer. More... | |
__STATIC_INLINE void | ll_dma_resume_channel (dma_regs_t *DMAx, uint32_t channel) |
Resume a DMA channel. More... | |
__STATIC_INLINE uint32_t | ll_dma_is_suspended (dma_regs_t *DMAx, uint32_t channel) |
Check if DMA channel is suspended or resumed. More... | |
__STATIC_INLINE uint32_t | ll_dma_is_empty_fifo (dma_regs_t *DMAx, uint32_t channel) |
Check if DMA channel FIFO is empty. More... | |
__STATIC_INLINE void | ll_dma_config_transfer (dma_regs_t *DMAx, uint32_t channel, uint32_t configuration) |
Configure all parameters link to DMA transfer. More... | |
__STATIC_INLINE void | ll_dma_set_data_transfer_direction (dma_regs_t *DMAx, uint32_t channel, uint32_t direction) |
Set Data transfer direction (read from peripheral or from memory). More... | |
__STATIC_INLINE uint32_t | ll_dma_get_data_transfer_direction (dma_regs_t *DMAx, uint32_t channel) |
Get Data transfer direction (read from peripheral or from memory). More... | |
__STATIC_INLINE void | ll_dma_set_mode (dma_regs_t *DMAx, uint32_t channel, uint32_t mode) |
Set DMA mode Single block or Multi block. More... | |
__STATIC_INLINE uint32_t | ll_dma_get_mode (dma_regs_t *DMAx, uint32_t channel) |
Get DMA mode circular or normal. More... | |
__STATIC_INLINE void | ll_dma_set_max_amba_burst (dma_regs_t *DMAx, uint32_t channel, uint32_t beats) |
Set Maximum AMBA Burst Length. More... | |
__STATIC_INLINE uint32_t | ll_dma_get_max_amba_burst (dma_regs_t *DMAx, uint32_t channel) |
Get source status after each block tranfer completed. More... | |
__STATIC_INLINE void | ll_dma_set_sstat (dma_regs_t *DMAx, uint32_t channel, uint32_t sstat) |
Set source status after each block tranfer completed. More... | |
__STATIC_INLINE uint32_t | ll_dma_get_sstat (dma_regs_t *DMAx, uint32_t channel) |
Get source status after each block tranfer completed. More... | |
__STATIC_INLINE void | ll_dma_set_dstat (dma_regs_t *DMAx, uint32_t channel, uint32_t dstat) |
Set deatination status after each block tranfer completed. More... | |
__STATIC_INLINE uint32_t | ll_dma_get_dstat (dma_regs_t *DMAx, uint32_t channel) |
Get deatination status after each block tranfer completed. More... | |
__STATIC_INLINE void | ll_dma_set_sstatar (dma_regs_t *DMAx, uint32_t channel, uint32_t sstatar) |
Set source status address after each block tranfer completed. More... | |
__STATIC_INLINE uint32_t | ll_dma_get_sstatar (dma_regs_t *DMAx, uint32_t channel) |
Get source status address after each block tranfer completed. More... | |
__STATIC_INLINE void | ll_dma_set_dstatar (dma_regs_t *DMAx, uint32_t channel, uint32_t dstatar) |
Set deatination status address after each block tranfer completed. More... | |
__STATIC_INLINE uint32_t | ll_dma_get_dstatar (dma_regs_t *DMAx, uint32_t channel) |
Get deatination status address after each block tranfer completed. More... | |
__STATIC_INLINE void | ll_dma_set_llp_loc (dma_regs_t *DMAx, uint32_t channel, uint32_t llp_loc) |
Set LLP loc. More... | |
__STATIC_INLINE uint32_t | ll_dma_get_llp_loc (dma_regs_t *DMAx, uint32_t channel) |
Get LLP loc. More... | |
__STATIC_INLINE void | ll_dma_set_llp_dst_en (dma_regs_t *DMAx, uint32_t channel, uint32_t llp_dst_en) |
Set destination LLP enable. More... | |
__STATIC_INLINE uint32_t | ll_dma_get_llp_dst_en (dma_regs_t *DMAx, uint32_t channel) |
Get destination LLP enable. More... | |
__STATIC_INLINE void | ll_dma_set_llp_src_en (dma_regs_t *DMAx, uint32_t channel, uint32_t llp_src_en) |
Set source LLP enable. More... | |
__STATIC_INLINE uint32_t | ll_dma_get_llp_src_en (dma_regs_t *DMAx, uint32_t channel) |
Get source LLP enable. More... | |
__STATIC_INLINE void | ll_dma_set_dst_scatter_en (dma_regs_t *DMAx, uint32_t channel, uint32_t dst_scatter_en) |
Set destination scatter enable. More... | |
__STATIC_INLINE uint32_t | ll_dma_get_dst_scatter_en (dma_regs_t *DMAx, uint32_t channel) |
Get destination scatter enable. More... | |
__STATIC_INLINE void | ll_dma_set_src_gather_en (dma_regs_t *DMAx, uint32_t channel, uint32_t src_gather_en) |
Set source gather enable. More... | |
__STATIC_INLINE uint32_t | ll_dma_get_src_gather_en (dma_regs_t *DMAx, uint32_t channel) |
Get source gather enable. More... | |
__STATIC_INLINE void | ll_dma_set_source_increment_mode (dma_regs_t *DMAx, uint32_t channel, uint32_t src_increment_mode) |
Set Source increment mode. More... | |
__STATIC_INLINE uint32_t | ll_dma_get_source_increment_mode (dma_regs_t *DMAx, uint32_t channel) |
Get Source increment mode. More... | |
__STATIC_INLINE void | ll_dma_set_destination_increment_mode (dma_regs_t *DMAx, uint32_t channel, uint32_t dst_increment_mode) |
Set Destination increment mode. More... | |
__STATIC_INLINE uint32_t | ll_dma_get_destination_increment_mode (dma_regs_t *DMAx, uint32_t channel) |
Get Destination increment mode. More... | |
__STATIC_INLINE void | ll_dma_set_source_width (dma_regs_t *DMAx, uint32_t channel, uint32_t src_width) |
Set Source transfer width. More... | |
__STATIC_INLINE uint32_t | ll_dma_get_source_width (dma_regs_t *DMAx, uint32_t channel) |
Get Source transfer width. More... | |
__STATIC_INLINE void | ll_dma_set_destination_width (dma_regs_t *DMAx, uint32_t channel, uint32_t dst_width) |
Set Destination transfer width. More... | |
__STATIC_INLINE uint32_t | ll_dma_get_destination_width (dma_regs_t *DMAx, uint32_t channel) |
Get Destination transfer width. More... | |
__STATIC_INLINE void | ll_dma_set_source_burst_length (dma_regs_t *DMAx, uint32_t channel, uint32_t burst_length) |
Set Source Burst Transaction Length. More... | |
__STATIC_INLINE uint32_t | ll_dma_get_source_burst_length (dma_regs_t *DMAx, uint32_t channel) |
Get Burst Transaction Length. More... | |
__STATIC_INLINE void | ll_dma_set_destination_burst_length (dma_regs_t *DMAx, uint32_t channel, uint32_t burst_length) |
Set Destination Burst Transaction Length. More... | |
__STATIC_INLINE uint32_t | ll_dma_get_destination_burst_length (dma_regs_t *DMAx, uint32_t channel) |
Get Destination Burst Transaction Length. More... | |
__STATIC_INLINE void | ll_dma_set_channel_priority_level (dma_regs_t *DMAx, uint32_t channel, uint32_t priority) |
Set Channel priority level. More... | |
__STATIC_INLINE uint32_t | ll_dma_get_channel_priority_level (dma_regs_t *DMAx, uint32_t channel) |
Get Channel priority level. More... | |
__STATIC_INLINE void | ll_dma_set_block_size (dma_regs_t *DMAx, uint32_t channel, uint32_t block_size) |
Set the block size of a transfer. More... | |
__STATIC_INLINE uint32_t | ll_dma_get_block_size (dma_regs_t *DMAx, uint32_t channel) |
Get the block size of a transfer. More... | |
__STATIC_INLINE void | ll_dma_config_address (dma_regs_t *DMAx, uint32_t channel, uint32_t src_address, uint32_t dst_address, uint32_t direction) |
Configure the Source and Destination addresses. More... | |
__STATIC_INLINE void | ll_dma_set_source_address (dma_regs_t *DMAx, uint32_t channel, uint32_t address) |
Set the Source address. More... | |
__STATIC_INLINE void | ll_dma_set_destination_address (dma_regs_t *DMAx, uint32_t channel, uint32_t address) |
Set the Destination address. More... | |
__STATIC_INLINE uint32_t | ll_dma_get_source_address (dma_regs_t *DMAx, uint32_t channel) |
Get Source address. More... | |
__STATIC_INLINE uint32_t | ll_dma_get_destination_address (dma_regs_t *DMAx, uint32_t channel) |
Get Destination address. More... | |
__STATIC_INLINE void | ll_dma_set_m2m_src_address (dma_regs_t *DMAx, uint32_t channel, uint32_t address) |
Set the Memory to Memory Source address. More... | |
__STATIC_INLINE void | ll_dma_set_m2m_dst_address (dma_regs_t *DMAx, uint32_t channel, uint32_t address) |
Set the Memory to Memory Destination address. More... | |
__STATIC_INLINE uint32_t | ll_dma_get_m2m_src_address (dma_regs_t *DMAx, uint32_t channel) |
Get the Memory to Memory Source address. More... | |
__STATIC_INLINE uint32_t | ll_dma_get_m2m_dst_address (dma_regs_t *DMAx, uint32_t channel) |
Get the Memory to Memory Destination address. More... | |
__STATIC_INLINE void | ll_dma_enable_src_stat_update (dma_regs_t *DMAx, uint32_t channel) |
Enable Source Status Update Enable for DMA instance on Channel x. More... | |
__STATIC_INLINE void | ll_dma_disable_src_stat_update (dma_regs_t *DMAx, uint32_t channel) |
Disable Source Status Update Enable for DMA instance on Channel x. More... | |
__STATIC_INLINE uint32_t | ll_dma_src_stat_update_is_enable (dma_regs_t *DMAx, uint32_t channel) |
Check if Source Status Update Enable. More... | |
__STATIC_INLINE void | ll_dma_enable_dst_stat_update (dma_regs_t *DMAx, uint32_t channel) |
Enable Destination Status Update Enable for DMA instance on Channel x. More... | |
__STATIC_INLINE void | ll_dma_disable_dst_stat_update (dma_regs_t *DMAx, uint32_t channel) |
Disable Destination Status Update Enable for DMA instance on Channel x. More... | |
__STATIC_INLINE uint32_t | ll_dma_dst_stat_update_is_enable (dma_regs_t *DMAx, uint32_t channel) |
Check if Destination Status Update Enable. More... | |
__STATIC_INLINE void | ll_dma_set_source_peripheral (dma_regs_t *DMAx, uint32_t channel, uint32_t peripheral) |
Set source peripheral for DMA instance on Channel x. More... | |
__STATIC_INLINE uint32_t | ll_dma_get_source_peripheral (dma_regs_t *DMAx, uint32_t channel) |
Get source peripheral for DMA instance on Channel x. More... | |
__STATIC_INLINE void | ll_dma_set_destination_peripheral (dma_regs_t *DMAx, uint32_t channel, uint32_t peripheral) |
Set destination peripheral for DMA instance on Channel x. More... | |
__STATIC_INLINE uint32_t | ll_dma_get_destination_peripheral (dma_regs_t *DMAx, uint32_t channel) |
Get destination peripheral for DMA instance on Channel x. More... | |
__STATIC_INLINE void | ll_dma_select_handshaking (dma_regs_t *DMAx, uint32_t channel, uint32_t src_handshaking, uint32_t dst_handshaking) |
Set source and destination source handshaking interface. More... | |
__STATIC_INLINE void | ll_dma_set_src_gather_sgi (dma_regs_t *DMAx, uint32_t channel, uint32_t src_gather_sgi) |
Set source gather interval. More... | |
__STATIC_INLINE uint32_t | ll_dma_get_src_gather_sgi (dma_regs_t *DMAx, uint32_t channel) |
Get source gather interval. More... | |
__STATIC_INLINE void | ll_dma_set_src_gather_sgc (dma_regs_t *DMAx, uint32_t channel, uint32_t src_gather_sgc) |
Set source gather count. More... | |
__STATIC_INLINE uint32_t | ll_dma_get_src_gather_sgc (dma_regs_t *DMAx, uint32_t channel) |
Get source gather count. More... | |
__STATIC_INLINE void | ll_dma_set_dst_scatter_dsi (dma_regs_t *DMAx, uint32_t channel, uint32_t dst_scatter_dsi) |
Set destination scatter interval. More... | |
__STATIC_INLINE uint32_t | ll_dma_get_dst_scatter_dsi (dma_regs_t *DMAx, uint32_t channel) |
Get Set destination scatter interval. More... | |
__STATIC_INLINE void | ll_dma_set_dst_scatter_dsc (dma_regs_t *DMAx, uint32_t channel, uint32_t dst_scatter_dsc) |
Set destination scatter count. More... | |
__STATIC_INLINE uint32_t | ll_dma_get_dst_scatter_dsc (dma_regs_t *DMAx, uint32_t channel) |
Get destination scatter count.. More... | |
__STATIC_INLINE void | ll_dma_req_src_single_transaction (dma_regs_t *DMAx, uint32_t channel) |
Source Single Transaction Request. More... | |
__STATIC_INLINE void | ll_dma_req_src_burst_transaction (dma_regs_t *DMAx, uint32_t channel) |
Source Burst Transaction Request. More... | |
__STATIC_INLINE void | ll_dma_req_src_last_single_transaction (dma_regs_t *DMAx, uint32_t channel) |
Source Last Single Transaction Request. More... | |
__STATIC_INLINE void | ll_dma_req_src_last_burst_transaction (dma_regs_t *DMAx, uint32_t channel) |
Source Last Burst Transaction Request. More... | |
__STATIC_INLINE void | ll_dma_req_dst_single_transaction (dma_regs_t *DMAx, uint32_t channel) |
Destination Single Transaction Request. More... | |
__STATIC_INLINE void | ll_dma_req_dst_burst_transaction (dma_regs_t *DMAx, uint32_t channel) |
Destination Burst Transaction Request. More... | |
__STATIC_INLINE void | ll_dma_req_dst_last_single_transaction (dma_regs_t *DMAx, uint32_t channel) |
Destination Last Single Transaction Request. More... | |
__STATIC_INLINE void | ll_dma_req_dst_last_burst_transaction (dma_regs_t *DMAx, uint32_t channel) |
Destination Last Burst Transaction Request. More... | |
__STATIC_INLINE void ll_dma_config_address | ( | dma_regs_t * | DMAx, |
uint32_t | channel, | ||
uint32_t | src_address, | ||
uint32_t | dst_address, | ||
uint32_t | direction | ||
) |
Configure the Source and Destination addresses.
Register|BitsName --------|-------- SAR | SAR DAR | DAR CTL_LO | TT_FC
DMAx | DMAx instance |
channel | This parameter can be one of the following values: |
src_address | Between Min_Data = 0 and Max_Data = 0xFFFFFFFF |
dst_address | Between Min_Data = 0 and Max_Data = 0xFFFFFFFF |
direction | This parameter can be one of the following values: |
None |
Definition at line 1811 of file gr55xx_ll_dma.h.
__STATIC_INLINE void ll_dma_config_transfer | ( | dma_regs_t * | DMAx, |
uint32_t | channel, | ||
uint32_t | configuration | ||
) |
Configure all parameters link to DMA transfer.
Register|BitsName --------|-------- CCR | DIR CCR | MEM2MEM CCR | CIRC CCR | PINC CCR | MINC CCR | PSIZE CCR | MSIZE CCR | PL
DMAx | DMAx instance |
channel | This parameter can be one of the following values: |
configuration | This parameter must be a combination of all the following values:
|
None |
Definition at line 692 of file gr55xx_ll_dma.h.
__STATIC_INLINE void ll_dma_disable | ( | dma_regs_t * | DMAx | ) |
Disable DMA Module.
Register|BitsName --------|-------- CFG_REG | CFG_EN
DMAx | DMA instance. |
None |
Definition at line 463 of file gr55xx_ll_dma.h.
__STATIC_INLINE void ll_dma_disable_channel | ( | dma_regs_t * | DMAx, |
uint32_t | channel | ||
) |
Disable DMA channel.
Register|BitsName --------|-------- CH_EN_REG | CH_EN_WE&CH_EN
DMAx | DMA instance. |
channel | This parameter can be one of the following values: |
None |
Definition at line 528 of file gr55xx_ll_dma.h.
__STATIC_INLINE void ll_dma_disable_dst_stat_update | ( | dma_regs_t * | DMAx, |
uint32_t | channel | ||
) |
Disable Destination Status Update Enable for DMA instance on Channel x.
Register|BitsName --------|-------- CFG_HI | DS_UPD_EN
DMAx | DMAx instance |
channel | This parameter can be one of the following values: |
None |
Definition at line 2140 of file gr55xx_ll_dma.h.
References LL_DMA_DST_STAT_UPDATE_DISABLE.
__STATIC_INLINE void ll_dma_disable_src_stat_update | ( | dma_regs_t * | DMAx, |
uint32_t | channel | ||
) |
Disable Source Status Update Enable for DMA instance on Channel x.
Register|BitsName --------|-------- CFG_HI | SS_UPD_EN
DMAx | DMAx instance |
channel | This parameter can be one of the following values: |
None |
Definition at line 2068 of file gr55xx_ll_dma.h.
References LL_DMA_SRC_STAT_UPDATE_DISABLE.
__STATIC_INLINE uint32_t ll_dma_dst_stat_update_is_enable | ( | dma_regs_t * | DMAx, |
uint32_t | channel | ||
) |
Check if Destination Status Update Enable.
Register|BitsName --------|-------- CFG_HI | SS_UPD_EN
DMAx | DMA instance. |
channel | This parameter can be one of the following values: |
State | of bit (1 or 0). |
Definition at line 2164 of file gr55xx_ll_dma.h.
References LL_DMA_DST_STAT_UPDATE_ENABLE.
__STATIC_INLINE void ll_dma_enable | ( | dma_regs_t * | DMAx | ) |
Enable DMA Module.
Register|BitsName --------|-------- CFG_REG | CFG_EN
DMAx | DMA instance. |
None |
Definition at line 444 of file gr55xx_ll_dma.h.
__STATIC_INLINE void ll_dma_enable_channel | ( | dma_regs_t * | DMAx, |
uint32_t | channel | ||
) |
Enable DMA channel.
Register|BitsName --------|-------- CH_EN_REG | CH_EN_WE&CH_EN
DMAx | DMA instance. |
channel | This parameter can be one of the following values: |
None |
Definition at line 504 of file gr55xx_ll_dma.h.
__STATIC_INLINE void ll_dma_enable_dst_stat_update | ( | dma_regs_t * | DMAx, |
uint32_t | channel | ||
) |
Enable Destination Status Update Enable for DMA instance on Channel x.
Register|BitsName --------|-------- CFG_HI | DS_UPD_EN
DMAx | DMAx instance |
channel | This parameter can be one of the following values: |
None |
Definition at line 2116 of file gr55xx_ll_dma.h.
References LL_DMA_DST_STAT_UPDATE_ENABLE.
__STATIC_INLINE void ll_dma_enable_src_stat_update | ( | dma_regs_t * | DMAx, |
uint32_t | channel | ||
) |
Enable Source Status Update Enable for DMA instance on Channel x.
Register|BitsName --------|-------- CFG_HI | SS_UPD_EN
DMAx | DMAx instance |
channel | This parameter can be one of the following values: |
None |
Definition at line 2044 of file gr55xx_ll_dma.h.
References LL_DMA_SRC_STAT_UPDATE_ENABLE.
__STATIC_INLINE uint32_t ll_dma_get_block_size | ( | dma_regs_t * | DMAx, |
uint32_t | channel | ||
) |
Get the block size of a transfer.
Register|BitsName --------|-------- CTL_HI | BLOCK_TS
DMAx | DMAx instance |
channel | This parameter can be one of the following values: |
Between | Min_Data = 0 and Max_Data = 0xFFF |
Definition at line 1777 of file gr55xx_ll_dma.h.
__STATIC_INLINE uint32_t ll_dma_get_channel_priority_level | ( | dma_regs_t * | DMAx, |
uint32_t | channel | ||
) |
Get Channel priority level.
Register|BitsName --------|-------- CFG_LO | CH_PRIOR
DMAx | DMAx instance |
channel | This parameter can be one of the following values: |
Returned | value can be one of the following values: |
Definition at line 1725 of file gr55xx_ll_dma.h.
__STATIC_INLINE uint32_t ll_dma_get_data_transfer_direction | ( | dma_regs_t * | DMAx, |
uint32_t | channel | ||
) |
Get Data transfer direction (read from peripheral or from memory).
Register|BitsName --------|-------- CTL_LO | TT_FC
DMAx | DMAx instance |
channel | This parameter can be one of the following values: |
Returned | value can be one of the following values: |
Definition at line 750 of file gr55xx_ll_dma.h.
__STATIC_INLINE uint32_t ll_dma_get_destination_address | ( | dma_regs_t * | DMAx, |
uint32_t | channel | ||
) |
Get Destination address.
Register|BitsName --------|-------- DAR | DAR
DMAx | DMAx instance |
channel | This parameter can be one of the following values: |
Between | Min_Data = 0 and Max_Data = 0xFFFFFFFF |
Definition at line 1915 of file gr55xx_ll_dma.h.
__STATIC_INLINE uint32_t ll_dma_get_destination_burst_length | ( | dma_regs_t * | DMAx, |
uint32_t | channel | ||
) |
Get Destination Burst Transaction Length.
Register|BitsName --------|-------- CTL_LO | DST_MSIZE
DMAx | DMAx instance |
channel | This parameter can be one of the following values: |
Returned | value can be one of the following values: |
Definition at line 1660 of file gr55xx_ll_dma.h.
__STATIC_INLINE uint32_t ll_dma_get_destination_increment_mode | ( | dma_regs_t * | DMAx, |
uint32_t | channel | ||
) |
Get Destination increment mode.
Register|BitsName --------|-------- CTL_LO | DINC
DMAx | DMAx instance |
channel | This parameter can be one of the following values: |
Returned | value can be one of the following values: |
Definition at line 1440 of file gr55xx_ll_dma.h.
__STATIC_INLINE uint32_t ll_dma_get_destination_peripheral | ( | dma_regs_t * | DMAx, |
uint32_t | channel | ||
) |
Get destination peripheral for DMA instance on Channel x.
Register|BitsName --------|-------- CFG_HI | DST_PER
DMAx | DMAx instance |
channel | This parameter can be one of the following values: |
Definition at line 2382 of file gr55xx_ll_dma.h.
__STATIC_INLINE uint32_t ll_dma_get_destination_width | ( | dma_regs_t * | DMAx, |
uint32_t | channel | ||
) |
Get Destination transfer width.
Register|BitsName --------|-------- CTL_LO | DST_TR_WIDTH
DMAx | DMAx instance |
channel | This parameter can be one of the following values: |
Returned | value can be one of the following values: |
Definition at line 1550 of file gr55xx_ll_dma.h.
__STATIC_INLINE uint32_t ll_dma_get_dst_scatter_dsc | ( | dma_regs_t * | DMAx, |
uint32_t | channel | ||
) |
Get destination scatter count..
Register|BitsName --------|-------- DSR | DSC
DMAx | DMAx instance |
channel | This parameter can be one of the following values: |
Returned | value can be one of the following values: Between Min_Data = 0 and Max_Data = 0xFFF. |
Definition at line 2617 of file gr55xx_ll_dma.h.
__STATIC_INLINE uint32_t ll_dma_get_dst_scatter_dsi | ( | dma_regs_t * | DMAx, |
uint32_t | channel | ||
) |
Get Set destination scatter interval.
Register|BitsName --------|-------- DSR | DSI
DMAx | DMAx instance |
channel | This parameter can be one of the following values: |
Returned | value can be one of the following values: Between Min_Data = 0 and Max_Data = 0xFFFFF. |
Definition at line 2566 of file gr55xx_ll_dma.h.
__STATIC_INLINE uint32_t ll_dma_get_dst_scatter_en | ( | dma_regs_t * | DMAx, |
uint32_t | channel | ||
) |
Get destination scatter enable.
Register|BitsName --------|-------- CTL_LO | DST_SCATTER_EN
DMAx | DMAx instance |
channel | This parameter can be one of the following values: |
Returned | value can be one of the following values: |
Definition at line 1277 of file gr55xx_ll_dma.h.
__STATIC_INLINE uint32_t ll_dma_get_dstat | ( | dma_regs_t * | DMAx, |
uint32_t | channel | ||
) |
Get deatination status after each block tranfer completed.
Register|BitsName --------|-------- DSTAT | DSTAT
DMAx | DMAx instance |
channel | This parameter can be one of the following values: |
Returned | value can be one of the following values: Between Min_Data = 0 and Max_Data = 0xFFFFFFFF. |
Definition at line 965 of file gr55xx_ll_dma.h.
__STATIC_INLINE uint32_t ll_dma_get_dstatar | ( | dma_regs_t * | DMAx, |
uint32_t | channel | ||
) |
Get deatination status address after each block tranfer completed.
Register|BitsName --------|-------- DSTATAR | DSTATAR
DMAx | DMAx instance |
channel | This parameter can be one of the following values: |
Returned | value can be one of the following values: Between Min_Data = 0 and Max_Data = 0xFFFFFFFF. |
Definition at line 1067 of file gr55xx_ll_dma.h.
__STATIC_INLINE uint32_t ll_dma_get_llp_dst_en | ( | dma_regs_t * | DMAx, |
uint32_t | channel | ||
) |
Get destination LLP enable.
Register|BitsName --------|-------- CTL_LO | LLP_DST_EN
DMAx | DMAx instance |
channel | This parameter can be one of the following values: |
Returned | value can be one of the following values: |
Definition at line 1171 of file gr55xx_ll_dma.h.
__STATIC_INLINE uint32_t ll_dma_get_llp_loc | ( | dma_regs_t * | DMAx, |
uint32_t | channel | ||
) |
Get LLP loc.
Register|BitsName --------|-------- CTL_LO | LOC
DMAx | DMAx instance |
channel | This parameter can be one of the following values: |
Returned | value can be one of the following values: Between Min_Data = 0 and Max_Data = 0xFFFFFFFF.(LLI accesses are always 32-bit accesses) |
Definition at line 1118 of file gr55xx_ll_dma.h.
__STATIC_INLINE uint32_t ll_dma_get_llp_src_en | ( | dma_regs_t * | DMAx, |
uint32_t | channel | ||
) |
Get source LLP enable.
Register|BitsName --------|-------- CTL_LO | LLP_SRC_EN
DMAx | DMAx instance |
channel | This parameter can be one of the following values: |
Returned | value can be one of the following values: |
Definition at line 1224 of file gr55xx_ll_dma.h.
__STATIC_INLINE uint32_t ll_dma_get_m2m_dst_address | ( | dma_regs_t * | DMAx, |
uint32_t | channel | ||
) |
Get the Memory to Memory Destination address.
Register|BitsName --------|-------- DAR | DAR
DMAx | DMAx instance |
channel | This parameter can be one of the following values: |
Between | Min_Data = 0 and Max_Data = 0xFFFFFFFF |
Definition at line 2020 of file gr55xx_ll_dma.h.
__STATIC_INLINE uint32_t ll_dma_get_m2m_src_address | ( | dma_regs_t * | DMAx, |
uint32_t | channel | ||
) |
Get the Memory to Memory Source address.
Register|BitsName --------|-------- SAR | SAR
DMAx | DMAx instance |
channel | This parameter can be one of the following values: |
Between | Min_Data = 0 and Max_Data = 0xFFFFFFFF |
Definition at line 1995 of file gr55xx_ll_dma.h.
__STATIC_INLINE uint32_t ll_dma_get_max_amba_burst | ( | dma_regs_t * | DMAx, |
uint32_t | channel | ||
) |
Get source status after each block tranfer completed.
Register|BitsName --------|-------- SSTAT | SSTAT
DMAx | DMAx instance |
channel | This parameter can be one of the following values: |
Returned | value can be one of the following values: Between Min_Data = 0 and Max_Data = 0xFFFFFFFF. |
None |
Definition at line 862 of file gr55xx_ll_dma.h.
__STATIC_INLINE uint32_t ll_dma_get_mode | ( | dma_regs_t * | DMAx, |
uint32_t | channel | ||
) |
Get DMA mode circular or normal.
Register|BitsName --------|-------- CFG_LO | RELOAD_DST
DMAx | DMAx instance |
channel | This parameter can be one of the following values: |
Returned | value can be one of the following values: |
Definition at line 810 of file gr55xx_ll_dma.h.
__STATIC_INLINE uint32_t ll_dma_get_source_address | ( | dma_regs_t * | DMAx, |
uint32_t | channel | ||
) |
Get Source address.
Register|BitsName --------|-------- SAR | SAR
DMAx | DMAx instance |
channel | This parameter can be one of the following values: |
Between | Min_Data = 0 and Max_Data = 0xFFFFFFFF |
Definition at line 1891 of file gr55xx_ll_dma.h.
__STATIC_INLINE uint32_t ll_dma_get_source_burst_length | ( | dma_regs_t * | DMAx, |
uint32_t | channel | ||
) |
Get Burst Transaction Length.
Register|BitsName --------|-------- CTL_LO | SRC_MSIZE
DMAx | DMAx instance |
channel | This parameter can be one of the following values: |
Returned | value can be one of the following values: |
Definition at line 1605 of file gr55xx_ll_dma.h.
__STATIC_INLINE uint32_t ll_dma_get_source_increment_mode | ( | dma_regs_t * | DMAx, |
uint32_t | channel | ||
) |
Get Source increment mode.
Register|BitsName --------|-------- CTL_LO | SINC
DMAx | DMAx instance |
channel | This parameter can be one of the following values: |
Returned | value can be one of the following values: |
Definition at line 1385 of file gr55xx_ll_dma.h.
__STATIC_INLINE uint32_t ll_dma_get_source_peripheral | ( | dma_regs_t * | DMAx, |
uint32_t | channel | ||
) |
Get source peripheral for DMA instance on Channel x.
Register|BitsName --------|-------- CFG_HI | SRC_PER
DMAx | DMAx instance |
channel | This parameter can be one of the following values: |
Definition at line 2273 of file gr55xx_ll_dma.h.
__STATIC_INLINE uint32_t ll_dma_get_source_width | ( | dma_regs_t * | DMAx, |
uint32_t | channel | ||
) |
Get Source transfer width.
Register|BitsName --------|-------- CTL_LO | SRC_TR_WIDTH
DMAx | DMAx instance |
channel | This parameter can be one of the following values: |
Returned | value can be one of the following values: |
Definition at line 1495 of file gr55xx_ll_dma.h.
__STATIC_INLINE uint32_t ll_dma_get_src_gather_en | ( | dma_regs_t * | DMAx, |
uint32_t | channel | ||
) |
Get source gather enable.
Register|BitsName --------|-------- CTL_LO | SRC_GATHER_EN
DMAx | DMAx instance |
channel | This parameter can be one of the following values: |
Returned | value can be one of the following values: |
Definition at line 1330 of file gr55xx_ll_dma.h.
__STATIC_INLINE uint32_t ll_dma_get_src_gather_sgc | ( | dma_regs_t * | DMAx, |
uint32_t | channel | ||
) |
Get source gather count.
Register|BitsName --------|-------- SGR | SGC
DMAx | DMAx instance |
channel | This parameter can be one of the following values: |
Returned | value can be one of the following values: Between Min_Data = 0 and Max_Data = 0xFFF. |
Definition at line 2515 of file gr55xx_ll_dma.h.
__STATIC_INLINE uint32_t ll_dma_get_src_gather_sgi | ( | dma_regs_t * | DMAx, |
uint32_t | channel | ||
) |
Get source gather interval.
Register|BitsName --------|-------- SGR | SGI
DMAx | DMAx instance |
channel | This parameter can be one of the following values: |
Returned | value can be one of the following values: Between Min_Data = 0 and Max_Data = 0xFFFFF. |
Definition at line 2464 of file gr55xx_ll_dma.h.
__STATIC_INLINE uint32_t ll_dma_get_sstat | ( | dma_regs_t * | DMAx, |
uint32_t | channel | ||
) |
Get source status after each block tranfer completed.
Register|BitsName --------|-------- SSTAT | SSTAT
DMAx | DMAx instance |
channel | This parameter can be one of the following values: |
Returned | value can be one of the following values: Between Min_Data = 0 and Max_Data = 0xFFFFFFFF. |
None |
Definition at line 914 of file gr55xx_ll_dma.h.
__STATIC_INLINE uint32_t ll_dma_get_sstatar | ( | dma_regs_t * | DMAx, |
uint32_t | channel | ||
) |
Get source status address after each block tranfer completed.
Register|BitsName --------|-------- SSTATAR | SSTATAR
DMAx | DMAx instance |
channel | This parameter can be one of the following values: |
Returned | value can be one of the following values: Between Min_Data = 0 and Max_Data = 0xFFFFFFFF. |
Definition at line 1016 of file gr55xx_ll_dma.h.
__STATIC_INLINE uint32_t ll_dma_is_empty_fifo | ( | dma_regs_t * | DMAx, |
uint32_t | channel | ||
) |
Check if DMA channel FIFO is empty.
Register|BitsName --------|-------- CFGL | FIFO_EMPTY
DMAx | DMA instance. |
channel | This parameter can be one of the following values: |
State | of bit (1 or 0). |
Definition at line 653 of file gr55xx_ll_dma.h.
__STATIC_INLINE uint32_t ll_dma_is_enable | ( | dma_regs_t * | DMAx | ) |
Check if DMA Module is enabled or disabled.
Register|BitsName --------|-------- CFG_REG | CFG_EN
DMAx | DMA instance. |
State | of bit (1 or 0). |
Definition at line 478 of file gr55xx_ll_dma.h.
__STATIC_INLINE uint32_t ll_dma_is_enabled_channel | ( | dma_regs_t * | DMAx, |
uint32_t | channel | ||
) |
Check if DMA channel is enabled or disabled.
Register|BitsName --------|-------- CH_EN_REG | CH_EN_WE&CH_EN
DMAx | DMA instance. |
channel | This parameter can be one of the following values: |
State | of bit (1 or 0). |
Definition at line 554 of file gr55xx_ll_dma.h.
__STATIC_INLINE uint32_t ll_dma_is_suspended | ( | dma_regs_t * | DMAx, |
uint32_t | channel | ||
) |
Check if DMA channel is suspended or resumed.
Register|BitsName --------|-------- CFGL | CH_SUSP
DMAx | DMA instance. |
channel | This parameter can be one of the following values: |
State | of bit (1 or 0). |
Definition at line 629 of file gr55xx_ll_dma.h.
__STATIC_INLINE void ll_dma_req_dst_burst_transaction | ( | dma_regs_t * | DMAx, |
uint32_t | channel | ||
) |
Destination Burst Transaction Request.
Register|BitsName --------|-------- REQ_DST | DST_WE&DST
DMAx | DMA instance. |
channel | This parameter can be one of the following values: |
None |
Definition at line 2771 of file gr55xx_ll_dma.h.
__STATIC_INLINE void ll_dma_req_dst_last_burst_transaction | ( | dma_regs_t * | DMAx, |
uint32_t | channel | ||
) |
Destination Last Burst Transaction Request.
Register|BitsName --------|-------- LST_DST | LST_DST_WE&LST_DST REQ_DST | DST_WE&DST
DMAx | DMA instance. |
channel | This parameter can be one of the following values: |
None |
Definition at line 2824 of file gr55xx_ll_dma.h.
__STATIC_INLINE void ll_dma_req_dst_last_single_transaction | ( | dma_regs_t * | DMAx, |
uint32_t | channel | ||
) |
Destination Last Single Transaction Request.
Register|BitsName --------|-------- SGL_REQ_DST | REQ_DST_WE&REQ_DST LST_DST | LST_DST_WE&LST_DST REQ_DST | DST_WE&DST
DMAx | DMA instance. |
channel | This parameter can be one of the following values: |
None |
Definition at line 2797 of file gr55xx_ll_dma.h.
__STATIC_INLINE void ll_dma_req_dst_single_transaction | ( | dma_regs_t * | DMAx, |
uint32_t | channel | ||
) |
Destination Single Transaction Request.
Register|BitsName --------|-------- SGL_REQ_DST | REQ_DST_WE&REQ_DST REQ_DST | DST_WE&DST
DMAx | DMA instance. |
channel | This parameter can be one of the following values: |
None |
Definition at line 2746 of file gr55xx_ll_dma.h.
__STATIC_INLINE void ll_dma_req_src_burst_transaction | ( | dma_regs_t * | DMAx, |
uint32_t | channel | ||
) |
Source Burst Transaction Request.
Register|BitsName --------|-------- REQ_SRC | SRC_WE&SRC
DMAx | DMA instance. |
channel | This parameter can be one of the following values: |
None |
Definition at line 2667 of file gr55xx_ll_dma.h.
__STATIC_INLINE void ll_dma_req_src_last_burst_transaction | ( | dma_regs_t * | DMAx, |
uint32_t | channel | ||
) |
Source Last Burst Transaction Request.
Register|BitsName --------|-------- LST_SRC | LST_SRC_WE&LST_SRC REQ_SRC | SRC_WE&SRC
DMAx | DMA instance. |
channel | This parameter can be one of the following values: |
None |
Definition at line 2720 of file gr55xx_ll_dma.h.
__STATIC_INLINE void ll_dma_req_src_last_single_transaction | ( | dma_regs_t * | DMAx, |
uint32_t | channel | ||
) |
Source Last Single Transaction Request.
Register|BitsName --------|-------- SGL_REQ_SRC | REQ_SRC_WE&REQ_SRC LST_SRC | LST_SRC_WE&LST_SRC REQ_SRC | SRC_WE&SRC
DMAx | DMA instance. |
channel | This parameter can be one of the following values: |
None |
Definition at line 2693 of file gr55xx_ll_dma.h.
__STATIC_INLINE void ll_dma_req_src_single_transaction | ( | dma_regs_t * | DMAx, |
uint32_t | channel | ||
) |
Source Single Transaction Request.
Register|BitsName --------|-------- SGL_REQ_SRC | REQ_SRC_WE&REQ_SRC REQ_SRC | SRC_WE&SRC
DMAx | DMA instance. |
channel | This parameter can be one of the following values: |
None |
Definition at line 2642 of file gr55xx_ll_dma.h.
__STATIC_INLINE void ll_dma_resume_channel | ( | dma_regs_t * | DMAx, |
uint32_t | channel | ||
) |
Resume a DMA channel.
Register|BitsName --------|-------- CFGL | CH_SUSP
DMAx | DMA instance. |
channel | This parameter can be one of the following values: |
None |
Definition at line 605 of file gr55xx_ll_dma.h.
__STATIC_INLINE void ll_dma_select_handshaking | ( | dma_regs_t * | DMAx, |
uint32_t | channel, | ||
uint32_t | src_handshaking, | ||
uint32_t | dst_handshaking | ||
) |
Set source and destination source handshaking interface.
Register|BitsName --------|-------- CFG_HI | DST_PER
DMAx | DMAx instance |
channel | This parameter can be one of the following values: |
src_handshaking | This parameter can be one of the following values: |
dst_handshaking | This parameter can be one of the following values: |
None |
Definition at line 2412 of file gr55xx_ll_dma.h.
__STATIC_INLINE void ll_dma_set_block_size | ( | dma_regs_t * | DMAx, |
uint32_t | channel, | ||
uint32_t | block_size | ||
) |
Set the block size of a transfer.
Register|BitsName --------|-------- CTL_HI | BLOCK_TS
DMAx | DMAx instance |
channel | This parameter can be one of the following values: |
block_size | Between Min_Data = 0 and Max_Data = 0xFFF |
None |
Definition at line 1751 of file gr55xx_ll_dma.h.
__STATIC_INLINE void ll_dma_set_channel_priority_level | ( | dma_regs_t * | DMAx, |
uint32_t | channel, | ||
uint32_t | priority | ||
) |
Set Channel priority level.
Register|BitsName --------|-------- CFG_LO | CH_PRIOR
DMAx | DMAx instance |
channel | This parameter can be one of the following values: |
priority | This parameter can be one of the following values: |
None |
Definition at line 1693 of file gr55xx_ll_dma.h.
__STATIC_INLINE void ll_dma_set_data_transfer_direction | ( | dma_regs_t * | DMAx, |
uint32_t | channel, | ||
uint32_t | direction | ||
) |
Set Data transfer direction (read from peripheral or from memory).
Register|BitsName --------|-------- CTL_LO | TT_FC
DMAx | DMAx instance |
channel | This parameter can be one of the following values: |
direction | This parameter can be one of the following values: |
None |
Definition at line 722 of file gr55xx_ll_dma.h.
__STATIC_INLINE void ll_dma_set_destination_address | ( | dma_regs_t * | DMAx, |
uint32_t | channel, | ||
uint32_t | address | ||
) |
Set the Destination address.
Register|BitsName --------|-------- DAR | DAR
DMAx | DMAx instance |
channel | This parameter can be one of the following values: |
address | Between Min_Data = 0 and Max_Data = 0xFFFFFFFF |
None |
Definition at line 1867 of file gr55xx_ll_dma.h.
__STATIC_INLINE void ll_dma_set_destination_burst_length | ( | dma_regs_t * | DMAx, |
uint32_t | channel, | ||
uint32_t | burst_length | ||
) |
Set Destination Burst Transaction Length.
Register|BitsName --------|-------- CTL_LO | DST_MSIZE
DMAx | DMAx instance |
channel | This parameter can be one of the following values: |
burst_length | This parameter can be one of the following values: |
None |
Definition at line 1633 of file gr55xx_ll_dma.h.
__STATIC_INLINE void ll_dma_set_destination_increment_mode | ( | dma_regs_t * | DMAx, |
uint32_t | channel, | ||
uint32_t | dst_increment_mode | ||
) |
Set Destination increment mode.
Register|BitsName --------|-------- CTL_LO | DINC
DMAx | DMAx instance |
channel | This parameter can be one of the following values: |
dst_increment_mode | This parameter can be one of the following values: |
None |
Definition at line 1413 of file gr55xx_ll_dma.h.
__STATIC_INLINE void ll_dma_set_destination_peripheral | ( | dma_regs_t * | DMAx, |
uint32_t | channel, | ||
uint32_t | peripheral | ||
) |
Set destination peripheral for DMA instance on Channel x.
Register|BitsName --------|-------- CFG_HI | DST_PER
None |
Definition at line 2359 of file gr55xx_ll_dma.h.
__STATIC_INLINE void ll_dma_set_destination_width | ( | dma_regs_t * | DMAx, |
uint32_t | channel, | ||
uint32_t | dst_width | ||
) |
Set Destination transfer width.
Register|BitsName --------|-------- CTL_LO | DST_TR_WIDTH
DMAx | DMAx instance |
channel | This parameter can be one of the following values: |
dst_width | This parameter can be one of the following values: |
None |
Definition at line 1523 of file gr55xx_ll_dma.h.
__STATIC_INLINE void ll_dma_set_dst_scatter_dsc | ( | dma_regs_t * | DMAx, |
uint32_t | channel, | ||
uint32_t | dst_scatter_dsc | ||
) |
Set destination scatter count.
Register|BitsName --------|-------- DSR | DSC
DMAx | DMAx instance |
channel | This parameter can be one of the following values: |
dst_scatter_dsc | This parameter can be one of the following values: Between Min_Data = 0 and Max_Data = 0xFFF. |
None |
Definition at line 2592 of file gr55xx_ll_dma.h.
__STATIC_INLINE void ll_dma_set_dst_scatter_dsi | ( | dma_regs_t * | DMAx, |
uint32_t | channel, | ||
uint32_t | dst_scatter_dsi | ||
) |
Set destination scatter interval.
Register|BitsName --------|-------- DSR | DSI
DMAx | DMAx instance. |
channel | This parameter can be one of the following values: |
dst_scatter_dsi | This parameter can be one of the following values: Between Min_Data = 0 and Max_Data = 0xFFFFF. |
None |
Definition at line 2541 of file gr55xx_ll_dma.h.
__STATIC_INLINE void ll_dma_set_dst_scatter_en | ( | dma_regs_t * | DMAx, |
uint32_t | channel, | ||
uint32_t | dst_scatter_en | ||
) |
Set destination scatter enable.
Register|BitsName --------|-------- CTL_LO | DST_SCATTER_EN
DMAx | DMAx instance |
channel | This parameter can be one of the following values: |
dst_scatter_en | This parameter can be one of the following values: |
None |
Definition at line 1251 of file gr55xx_ll_dma.h.
__STATIC_INLINE void ll_dma_set_dstat | ( | dma_regs_t * | DMAx, |
uint32_t | channel, | ||
uint32_t | dstat | ||
) |
Set deatination status after each block tranfer completed.
Register|BitsName --------|-------- DSTAT | DSTAT
DMAx | DMAx instance |
channel | This parameter can be one of the following values: |
dstat | This parameter can be one of the following values: Between Min_Data = 0 and Max_Data = 0xFFFFFFFF. |
None |
Definition at line 940 of file gr55xx_ll_dma.h.
__STATIC_INLINE void ll_dma_set_dstatar | ( | dma_regs_t * | DMAx, |
uint32_t | channel, | ||
uint32_t | dstatar | ||
) |
Set deatination status address after each block tranfer completed.
Register|BitsName --------|-------- DSTATAR | DSTATAR
DMAx | DMAx instance |
channel | This parameter can be one of the following values: |
dstatar | This parameter can be one of the following values: Between Min_Data = 0 and Max_Data = 0xFFFFFFFF. |
None |
Definition at line 1042 of file gr55xx_ll_dma.h.
__STATIC_INLINE void ll_dma_set_llp_dst_en | ( | dma_regs_t * | DMAx, |
uint32_t | channel, | ||
uint32_t | llp_dst_en | ||
) |
Set destination LLP enable.
Register|BitsName --------|-------- CTL_LO | LLP_DST_EN
DMAx | DMAx instance |
channel | This parameter can be one of the following values: |
llp_dst_en | This parameter can be one of the following values: |
None |
Definition at line 1145 of file gr55xx_ll_dma.h.
__STATIC_INLINE void ll_dma_set_llp_loc | ( | dma_regs_t * | DMAx, |
uint32_t | channel, | ||
uint32_t | llp_loc | ||
) |
Set LLP loc.
Register|BitsName --------|-------- CTL_LO | LOC
DMAx | DMAx instance |
channel | This parameter can be one of the following values: |
llp_loc | This parameter can be one of the following values: Between Min_Data = 0 and Max_Data = 0xFFFFFFFF.(LLI accesses are always 32-bit accesses) |
None |
Definition at line 1093 of file gr55xx_ll_dma.h.
__STATIC_INLINE void ll_dma_set_llp_src_en | ( | dma_regs_t * | DMAx, |
uint32_t | channel, | ||
uint32_t | llp_src_en | ||
) |
Set source LLP enable.
Register|BitsName --------|-------- CTL_LO | LLP_SRC_EN
DMAx | DMAx instance |
channel | This parameter can be one of the following values: |
llp_src_en | This parameter can be one of the following values: |
None |
Definition at line 1198 of file gr55xx_ll_dma.h.
__STATIC_INLINE void ll_dma_set_m2m_dst_address | ( | dma_regs_t * | DMAx, |
uint32_t | channel, | ||
uint32_t | address | ||
) |
Set the Memory to Memory Destination address.
Register|BitsName --------|-------- DAR | DAR CTL_LO | TT_FC
DMAx | DMAx instance |
channel | This parameter can be one of the following values: |
address | Between Min_Data = 0 and Max_Data = 0xFFFFFFFF |
None |
Definition at line 1969 of file gr55xx_ll_dma.h.
__STATIC_INLINE void ll_dma_set_m2m_src_address | ( | dma_regs_t * | DMAx, |
uint32_t | channel, | ||
uint32_t | address | ||
) |
Set the Memory to Memory Source address.
Register|BitsName --------|-------- SAR | SAR CTL_LO | TT_FC
DMAx | DMAx instance |
channel | This parameter can be one of the following values: |
address | Between Min_Data = 0 and Max_Data = 0xFFFFFFFF |
None |
Definition at line 1941 of file gr55xx_ll_dma.h.
__STATIC_INLINE void ll_dma_set_max_amba_burst | ( | dma_regs_t * | DMAx, |
uint32_t | channel, | ||
uint32_t | beats | ||
) |
Set Maximum AMBA Burst Length.
Register|BitsName --------|-------- CFG_LO | MAX_ABRST
DMAx | DMAx instance |
channel | This parameter can be one of the following values: |
beats | This parameter can be one of the following values: Between Min_Data = 0 and Max_Data = 0x3FFU. |
None |
Definition at line 836 of file gr55xx_ll_dma.h.
__STATIC_INLINE void ll_dma_set_mode | ( | dma_regs_t * | DMAx, |
uint32_t | channel, | ||
uint32_t | mode | ||
) |
Set DMA mode Single block or Multi block.
Register|BitsName --------|-------- CFG_LO | RELOAD_DST
DMAx | DMAx instance |
channel | This parameter can be one of the following values: |
mode | This parameter can be one of the following values: |
None |
Definition at line 781 of file gr55xx_ll_dma.h.
__STATIC_INLINE void ll_dma_set_source_address | ( | dma_regs_t * | DMAx, |
uint32_t | channel, | ||
uint32_t | address | ||
) |
Set the Source address.
Register|BitsName --------|-------- SAR | SAR
DMAx | DMAx instance |
channel | This parameter can be one of the following values: |
address | Between Min_Data = 0 and Max_Data = 0xFFFFFFFF |
None |
Definition at line 1842 of file gr55xx_ll_dma.h.
__STATIC_INLINE void ll_dma_set_source_burst_length | ( | dma_regs_t * | DMAx, |
uint32_t | channel, | ||
uint32_t | burst_length | ||
) |
Set Source Burst Transaction Length.
Register|BitsName --------|-------- CTL_LO | SRC_MSIZE
DMAx | DMAx instance |
channel | This parameter can be one of the following values: |
burst_length | This parameter can be one of the following values: |
None |
Definition at line 1578 of file gr55xx_ll_dma.h.
__STATIC_INLINE void ll_dma_set_source_increment_mode | ( | dma_regs_t * | DMAx, |
uint32_t | channel, | ||
uint32_t | src_increment_mode | ||
) |
Set Source increment mode.
Register|BitsName --------|-------- CTL_LO | SINC
DMAx | DMAx instance |
channel | This parameter can be one of the following values: |
src_increment_mode | This parameter can be one of the following values: |
None |
Definition at line 1358 of file gr55xx_ll_dma.h.
__STATIC_INLINE void ll_dma_set_source_peripheral | ( | dma_regs_t * | DMAx, |
uint32_t | channel, | ||
uint32_t | peripheral | ||
) |
Set source peripheral for DMA instance on Channel x.
Register|BitsName --------|-------- CFG_HI | SRC_PER
None |
Definition at line 2250 of file gr55xx_ll_dma.h.
__STATIC_INLINE void ll_dma_set_source_width | ( | dma_regs_t * | DMAx, |
uint32_t | channel, | ||
uint32_t | src_width | ||
) |
Set Source transfer width.
Register|BitsName --------|-------- CTL_LO | SRC_TR_WIDTH
DMAx | DMAx instance |
channel | This parameter can be one of the following values: |
src_width | This parameter can be one of the following values: |
None |
Definition at line 1468 of file gr55xx_ll_dma.h.
__STATIC_INLINE void ll_dma_set_src_gather_en | ( | dma_regs_t * | DMAx, |
uint32_t | channel, | ||
uint32_t | src_gather_en | ||
) |
Set source gather enable.
Register|BitsName --------|-------- CTL_LO | SRC_GATHER_EN
DMAx | DMAx instance |
channel | This parameter can be one of the following values: |
src_gather_en | This parameter can be one of the following values: |
None |
Definition at line 1304 of file gr55xx_ll_dma.h.
__STATIC_INLINE void ll_dma_set_src_gather_sgc | ( | dma_regs_t * | DMAx, |
uint32_t | channel, | ||
uint32_t | src_gather_sgc | ||
) |
Set source gather count.
Register|BitsName --------|-------- SGR | SGC
DMAx | DMAx instance |
channel | This parameter can be one of the following values: |
src_gather_sgc | This parameter can be one of the following values: Between Min_Data = 0 and Max_Data = 0xFFF. |
None |
Definition at line 2490 of file gr55xx_ll_dma.h.
__STATIC_INLINE void ll_dma_set_src_gather_sgi | ( | dma_regs_t * | DMAx, |
uint32_t | channel, | ||
uint32_t | src_gather_sgi | ||
) |
Set source gather interval.
Register|BitsName --------|-------- SGR | SGI
DMAx | DMAx instance. |
channel | This parameter can be one of the following values: |
src_gather_sgi | This parameter can be one of the following values: Between Min_Data = 0 and Max_Data = 0xFFFFF. |
None |
Definition at line 2439 of file gr55xx_ll_dma.h.
__STATIC_INLINE void ll_dma_set_sstat | ( | dma_regs_t * | DMAx, |
uint32_t | channel, | ||
uint32_t | sstat | ||
) |
Set source status after each block tranfer completed.
Register|BitsName --------|-------- SSTAT | SSTAT
DMAx | DMAx instance |
channel | This parameter can be one of the following values: |
sstat | This parameter can be one of the following values: Between Min_Data = 0 and Max_Data = 0xFFFFFFFF. |
None |
Definition at line 888 of file gr55xx_ll_dma.h.
__STATIC_INLINE void ll_dma_set_sstatar | ( | dma_regs_t * | DMAx, |
uint32_t | channel, | ||
uint32_t | sstatar | ||
) |
Set source status address after each block tranfer completed.
Register|BitsName --------|-------- SSTATAR | SSTATAR
DMAx | DMAx instance |
channel | This parameter can be one of the following values: |
sstatar | This parameter can be one of the following values: Between Min_Data = 0 and Max_Data = 0xFFFFFFFF. |
None |
Definition at line 991 of file gr55xx_ll_dma.h.
__STATIC_INLINE uint32_t ll_dma_src_stat_update_is_enable | ( | dma_regs_t * | DMAx, |
uint32_t | channel | ||
) |
Check if Source Status Update Enable.
Register|BitsName --------|-------- CFG_HI | SS_UPD_EN
DMAx | DMA instance. |
channel | This parameter can be one of the following values: |
State | of bit (1 or 0). |
Definition at line 2092 of file gr55xx_ll_dma.h.
References LL_DMA_SRC_STAT_UPDATE_ENABLE.
__STATIC_INLINE void ll_dma_suspend_channel | ( | dma_regs_t * | DMAx, |
uint32_t | channel | ||
) |
Suspend a DMA channel transfer.
Register|BitsName --------|-------- CFGL | CH_SUSP
DMAx | DMA instance. |
channel | This parameter can be one of the following values: |
None |
Definition at line 580 of file gr55xx_ll_dma.h.