Header file containing functions prototypes of DMA LL library. More...
#include "gr55xx.h"
Go to the source code of this file.
Classes | |
struct | _ll_dma_init |
LL DMA init Structure definition. More... | |
Macros | |
#define | LL_DMA_CHANNEL_0 ((uint32_t)0x00000000U) |
#define | LL_DMA_CHANNEL_1 ((uint32_t)0x00000001U) |
#define | LL_DMA_CHANNEL_2 ((uint32_t)0x00000002U) |
#define | LL_DMA_CHANNEL_3 ((uint32_t)0x00000003U) |
#define | LL_DMA_CHANNEL_4 ((uint32_t)0x00000004U) |
#define | LL_DMA_CHANNEL_5 ((uint32_t)0x00000005U) |
#define | LL_DMA_CHANNEL_6 ((uint32_t)0x00000006U) |
#define | LL_DMA_CHANNEL_7 ((uint32_t)0x00000007U) |
#define | LL_DMA_CHANNEL_ALL ((uint32_t)0xFFFF0000U) |
#define | LL_DMA_DIRECTION_MEMORY_TO_MEMORY DMA_CTLL_TT_FC_M2M |
#define | LL_DMA_DIRECTION_MEMORY_TO_PERIPH DMA_CTLL_TT_FC_M2P |
#define | LL_DMA_DIRECTION_PERIPH_TO_MEMORY DMA_CTLL_TT_FC_P2M |
#define | LL_DMA_DIRECTION_PERIPH_TO_PERIPH DMA_CTLL_TT_FC_P2P |
#define | LL_DMA_MODE_SINGLE_BLOCK ((uint32_t)0x00000000U) |
#define | LL_DMA_MODE_MULTI_BLOCK_SRC_RELOAD DMA_CFGL_RELOAD_SRC |
#define | LL_DMA_MODE_MULTI_BLOCK_DST_RELOAD DMA_CFGL_RELOAD_DST |
#define | LL_DMA_MODE_MULTI_BLOCK_ALL_RELOAD (DMA_CFGL_RELOAD_SRC | DMA_CFGL_RELOAD_DST) |
#define | LL_DMA_LLP_DST_ENABLE DMA_CTLL_LLP_DST_EN_ENABLE |
#define | LL_DMA_LLP_DST_DISABLE DMA_CTLL_LLP_DST_EN_DISABLE |
#define | LL_DMA_LLP_SRC_ENABLE DMA_CTLL_LLP_SRC_EN_ENABLE |
#define | LL_DMA_LLP_SRC_DISABLE DMA_CTLL_LLP_SRC_EN_DISABLE |
#define | LL_DMA_SRC_STAT_UPDATE_ENABLE DMA_CFGH_SS_UPD_ENABLE |
#define | LL_DMA_SRC_STAT_UPDATE_DISABLE DMA_CFGH_SS_UPD_DISABLE |
#define | LL_DMA_DST_STAT_UPDATE_ENABLE DMA_CFGH_DS_UPD_ENABLE |
#define | LL_DMA_DST_STAT_UPDATE_DISABLE DMA_CFGH_DS_UPD_DISABLE |
#define | LL_DMA_DST_SCATTER_ENABLE DMA_CTLL_DST_SCATTER_EN_ENABLE |
#define | LL_DMA_DST_SCATTER_DISABLE DMA_CTLL_DST_SCATTER_EN_DISABLE |
#define | LL_DMA_SRC_GATHER_ENABLE DMA_CTLL_SRC_GATHER_EN_ENABLE |
#define | LL_DMA_SRC_GATHER_DISABLE DMA_CTLL_SRC_GATHER_EN_DISABLE |
#define | LL_DMA_SRC_INCREMENT DMA_CTLL_SINC_INC |
#define | LL_DMA_SRC_DECREMENT DMA_CTLL_SINC_DEC |
#define | LL_DMA_SRC_NO_CHANGE DMA_CTLL_SINC_NO |
#define | LL_DMA_DST_INCREMENT DMA_CTLL_DINC_INC |
#define | LL_DMA_DST_DECREMENT DMA_CTLL_DINC_DEC |
#define | LL_DMA_DST_NO_CHANGE DMA_CTLL_DINC_NO |
#define | LL_DMA_SRC_BURST_LENGTH_1 DMA_CTLL_SRC_MSIZE_1 |
#define | LL_DMA_SRC_BURST_LENGTH_4 DMA_CTLL_SRC_MSIZE_4 |
#define | LL_DMA_SRC_BURST_LENGTH_8 DMA_CTLL_SRC_MSIZE_8 |
#define | LL_DMA_SRC_BURST_LENGTH_16 DMA_CTLL_SRC_MSIZE_16 |
#define | LL_DMA_SRC_BURST_LENGTH_32 DMA_CTLL_SRC_MSIZE_32 |
#define | LL_DMA_SRC_BURST_LENGTH_64 DMA_CTLL_SRC_MSIZE_64 |
#define | LL_DMA_DST_BURST_LENGTH_1 DMA_CTLL_DST_MSIZE_1 |
#define | LL_DMA_DST_BURST_LENGTH_4 DMA_CTLL_DST_MSIZE_4 |
#define | LL_DMA_DST_BURST_LENGTH_8 DMA_CTLL_DST_MSIZE_8 |
#define | LL_DMA_DST_BURST_LENGTH_16 DMA_CTLL_DST_MSIZE_16 |
#define | LL_DMA_DST_BURST_LENGTH_32 DMA_CTLL_DST_MSIZE_32 |
#define | LL_DMA_DST_BURST_LENGTH_64 DMA_CTLL_DST_MSIZE_64 |
#define | LL_DMA_SDATAALIGN_BYTE DMA_CTLL_SRC_TR_WIDTH_8 |
#define | LL_DMA_SDATAALIGN_HALFWORD DMA_CTLL_SRC_TR_WIDTH_16 |
#define | LL_DMA_SDATAALIGN_WORD DMA_CTLL_SRC_TR_WIDTH_32 |
#define | LL_DMA_DDATAALIGN_BYTE DMA_CTLL_DST_TR_WIDTH_8 |
#define | LL_DMA_DDATAALIGN_HALFWORD DMA_CTLL_DST_TR_WIDTH_16 |
#define | LL_DMA_DDATAALIGN_WORD DMA_CTLL_DST_TR_WIDTH_32 |
#define | LL_DMA_PRIORITY_0 DMA_CFGL_CH_PRIOR_0 |
#define | LL_DMA_PRIORITY_1 DMA_CFGL_CH_PRIOR_1 |
#define | LL_DMA_PRIORITY_2 DMA_CFGL_CH_PRIOR_2 |
#define | LL_DMA_PRIORITY_3 DMA_CFGL_CH_PRIOR_3 |
#define | LL_DMA_PRIORITY_4 DMA_CFGL_CH_PRIOR_4 |
#define | LL_DMA_PRIORITY_5 DMA_CFGL_CH_PRIOR_5 |
#define | LL_DMA_PRIORITY_6 DMA_CFGL_CH_PRIOR_6 |
#define | LL_DMA_PRIORITY_7 DMA_CFGL_CH_PRIOR_7 |
#define | LL_DMA_SHANDSHAKING_HW ((uint32_t)0x00000000U) |
#define | LL_DMA_SHANDSHAKING_SW DMA_CFGL_HS_SEL_SRC |
#define | LL_DMA_DHANDSHAKING_HW ((uint32_t)0x00000000U) |
#define | LL_DMA_DHANDSHAKING_SW DMA_CFGL_HS_SEL_DST |
#define | LL_DMA0_PERIPH_MEM ((uint32_t)0x0000000BU) |
#define | LL_DMA0_PERIPH_QSPI0_TX ((uint32_t)0x00000000U) |
#define | LL_DMA0_PERIPH_QSPI0_RX ((uint32_t)0x00000001U) |
#define | LL_DMA0_PERIPH_SPIM_TX ((uint32_t)0x00000002U) |
#define | LL_DMA0_PERIPH_SPIM_RX ((uint32_t)0x00000003U) |
#define | LL_DMA0_PERIPH_SPIS_TX ((uint32_t)0x00000004U) |
#define | LL_DMA0_PERIPH_SPIS_RX ((uint32_t)0x00000005U) |
#define | LL_DMA0_PERIPH_UART0_TX ((uint32_t)0x00000006U) |
#define | LL_DMA0_PERIPH_UART0_RX ((uint32_t)0x00000007U) |
#define | LL_DMA0_PERIPH_UART1_TX ((uint32_t)0x00000008U) |
#define | LL_DMA0_PERIPH_UART1_RX ((uint32_t)0x00000009U) |
#define | LL_DMA0_PERIPH_SNSADC ((uint32_t)0x0000000AU) |
#define | LL_DMA0_PERIPH_OSPI_TX ((uint32_t)0x0000000CU) |
#define | LL_DMA0_PERIPH_OSPI_RX ((uint32_t)0x0000000DU) |
#define | LL_DMA0_PERIPH_UART2_TX ((uint32_t)0x0000000EU) |
#define | LL_DMA0_PERIPH_UART2_RX ((uint32_t)0x0000000FU) |
#define | LL_DMA0_PERIPH_I2C2_TX ((uint32_t)0x00000012U) |
#define | LL_DMA0_PERIPH_I2C2_RX ((uint32_t)0x00000013U) |
#define | LL_DMA0_PERIPH_UART3_TX ((uint32_t)0x00000014U) |
#define | LL_DMA0_PERIPH_UART3_RX ((uint32_t)0x00000015U) |
#define | LL_DMA0_PERIPH_I2C5_TX ((uint32_t)0x00000016U) |
#define | LL_DMA0_PERIPH_I2C5_RX ((uint32_t)0x00000017U) |
#define | LL_DMA0_PERIPH_I2C4_TX ((uint32_t)0x00000018U) |
#define | LL_DMA0_PERIPH_I2C4_RX ((uint32_t)0x00000019U) |
#define | LL_DMA0_PERIPH_UART4_TX ((uint32_t)0x0000001AU) |
#define | LL_DMA0_PERIPH_UART4_RX ((uint32_t)0x0000001BU) |
#define | LL_DMA0_PERIPH_QSPI1_TX ((uint32_t)0x0000001CU) |
#define | LL_DMA0_PERIPH_QSPI1_RX ((uint32_t)0x0000001DU) |
#define | LL_DMA0_PERIPH_I2C3_TX ((uint32_t)0x0000001EU) |
#define | LL_DMA0_PERIPH_I2C3_RX ((uint32_t)0x0000001FU) |
#define | LL_DMA1_PERIPH_MEM ((uint32_t)0x00000009U) |
#define | LL_DMA1_PERIPH_OSPI_TX ((uint32_t)0x00000000U) |
#define | LL_DMA1_PERIPH_OSPI_RX ((uint32_t)0x00000001U) |
#define | LL_DMA1_PERIPH_QSPI2_TX ((uint32_t)0x00000002U) |
#define | LL_DMA1_PERIPH_QSPI2_RX ((uint32_t)0x00000003U) |
#define | LL_DMA1_PERIPH_I2S_M_TX ((uint32_t)0x00000004U) |
#define | LL_DMA1_PERIPH_I2S_M_RX ((uint32_t)0x00000005U) |
#define | LL_DMA1_PERIPH_I2S_S_TX ((uint32_t)0x00000006U) |
#define | LL_DMA1_PERIPH_I2S_S_RX ((uint32_t)0x00000007U) |
#define | LL_DMA1_PERIPH_PDM_TX ((uint32_t)0x00000008U) |
#define | LL_DMA1_PERIPH_QSPI1_TX ((uint32_t)0x0000000AU) |
#define | LL_DMA1_PERIPH_QSPI1_RX ((uint32_t)0x0000000BU) |
#define | LL_DMA1_PERIPH_I2C0_TX ((uint32_t)0x0000000CU) |
#define | LL_DMA1_PERIPH_I2C0_RX ((uint32_t)0x0000000DU) |
#define | LL_DMA1_PERIPH_I2C1_TX ((uint32_t)0x0000000EU) |
#define | LL_DMA1_PERIPH_I2C1_RX ((uint32_t)0x0000000FU) |
#define | LL_DMA1_PERIPH_SPIM_TX ((uint32_t)0x00000010U) |
#define | LL_DMA1_PERIPH_SPIM_RX ((uint32_t)0x00000011U) |
#define | LL_DMA1_PERIPH_DSPIM_TX ((uint32_t)0x00000012U) |
#define | LL_DMA1_PERIPH_DSPIM_RX ((uint32_t)0x00000013U) |
#define | LL_DMA1_PERIPH_QSPI1_TX_2 ((uint32_t)0x00000014U) |
#define | LL_DMA1_PERIPH_QSPI1_RX_2 ((uint32_t)0x00000015U) |
#define | LL_DMA1_PERIPH_UART3_TX ((uint32_t)0x00000016U) |
#define | LL_DMA1_PERIPH_UART3_RX ((uint32_t)0x00000017U) |
#define | LL_DMA1_PERIPH_UART4_TX ((uint32_t)0x00000018U) |
#define | LL_DMA1_PERIPH_UART4_RX ((uint32_t)0x00000019U) |
#define | LL_DMA1_PERIPH_UART5_TX ((uint32_t)0x0000001AU) |
#define | LL_DMA1_PERIPH_UART5_RX ((uint32_t)0x0000001BU) |
#define | LL_DMA1_PERIPH_UART0_TX ((uint32_t)0x0000001EU) |
#define | LL_DMA1_PERIPH_UART0_RX ((uint32_t)0x0000001FU) |
#define | LL_DMA_WriteReg(__instance__, __REG__, __VALUE__) WRITE_REG(__instance__.__REG__, (__VALUE__)) |
Write a value in DMA register. More... | |
#define | LL_DMA_ReadReg(__instance__, __REG__) READ_REG(__instance__.__REG__) |
Read a value in DMA register. More... | |
Typedefs | |
typedef struct _ll_dma_init | ll_dma_init_t |
LL DMA init Structure definition. More... | |
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 uint32_t | ll_dma_is_active_flag_gtfr (dma_regs_t *DMAx) |
Get DMA Module global transfer complete interrupt status. More... | |
__STATIC_INLINE uint32_t | ll_dma_is_active_flag_gblk (dma_regs_t *DMAx) |
Get DMA Module global block complete interrupt status. More... | |
__STATIC_INLINE uint32_t | ll_dma_is_active_flag_gsrct (dma_regs_t *DMAx) |
Get DMA Module global source transaction complete interrupt status. More... | |
__STATIC_INLINE uint32_t | ll_dma_is_active_flag_gdstt (dma_regs_t *DMAx) |
Get DMA Module global destination transaction complete interrupt status. More... | |
__STATIC_INLINE uint32_t | ll_dma_is_active_flag_gerr (dma_regs_t *DMAx) |
Get DMA Module global error interrupt status. More... | |
__STATIC_INLINE uint32_t | ll_dma_is_active_flag_rtfr (dma_regs_t *DMAx, uint32_t channel) |
Indicate the Raw Status of IntTfr Interrupt flag. More... | |
__STATIC_INLINE uint32_t | ll_dma_is_active_flag_rblk (dma_regs_t *DMAx, uint32_t channel) |
Indicate the Raw Status of IntBlock Interrupt flag. More... | |
__STATIC_INLINE uint32_t | ll_dma_is_active_flag_rsrct (dma_regs_t *DMAx, uint32_t channel) |
Indicate the Raw Status of IntSrcTran Interrupt flag. More... | |
__STATIC_INLINE uint32_t | ll_dma_is_active_flag_rdstt (dma_regs_t *DMAx, uint32_t channel) |
Indicate the Raw Status of IntDstTran Interrupt flag. More... | |
__STATIC_INLINE uint32_t | ll_dma_is_active_flag_rerr (dma_regs_t *DMAx, uint32_t channel) |
Indicate the Raw Status of IntErr Interrupt flag. More... | |
__STATIC_INLINE uint32_t | ll_dma_is_active_flag_tfr (dma_regs_t *DMAx, uint32_t channel) |
Indicate the status of DMA Channel transfer complete flag. More... | |
__STATIC_INLINE uint32_t | ll_dma_is_active_flag_tfr0 (dma_regs_t *DMAx) |
Indicate the status of Channel 0 transfer complete flag. More... | |
__STATIC_INLINE uint32_t | ll_dma_is_active_flag_tfr1 (dma_regs_t *DMAx) |
Indicate the status of Channel 1 transfer complete flag. More... | |
__STATIC_INLINE uint32_t | ll_dma_is_active_flag_tfr2 (dma_regs_t *DMAx) |
Indicate the status of Channel 2 transfer complete flag. More... | |
__STATIC_INLINE uint32_t | ll_dma_is_active_flag_tfr3 (dma_regs_t *DMAx) |
Indicate the status of Channel 3 transfer complete flag. More... | |
__STATIC_INLINE uint32_t | ll_dma_is_active_flag_tfr4 (dma_regs_t *DMAx) |
Indicate the status of Channel 4 transfer complete flag. More... | |
__STATIC_INLINE uint32_t | ll_dma_is_active_flag_tfr5 (dma_regs_t *DMAx) |
Indicate the status of Channel 5 transfer complete flag. More... | |
__STATIC_INLINE uint32_t | ll_dma_is_active_flag_tfr6 (dma_regs_t *DMAx) |
Indicate the status of Channel 6 transfer complete flag. More... | |
__STATIC_INLINE uint32_t | ll_dma_is_active_flag_tfr7 (dma_regs_t *DMAx) |
Indicate the status of Channel 7 transfer complete flag. More... | |
__STATIC_INLINE uint32_t | ll_dma_is_active_flag_blk (dma_regs_t *DMAx, uint32_t channel) |
Indicate the status of DMA Channel block complete flag. More... | |
__STATIC_INLINE uint32_t | ll_dma_is_active_flag_blk0 (dma_regs_t *DMAx) |
Indicate the status of Channel 0 block complete flag. More... | |
__STATIC_INLINE uint32_t | ll_dma_is_active_flag_blk1 (dma_regs_t *DMAx) |
Indicate the status of Channel 1 block complete flag. More... | |
__STATIC_INLINE uint32_t | ll_dma_is_active_flag_blk2 (dma_regs_t *DMAx) |
Indicate the status of Channel 2 block complete flag. More... | |
__STATIC_INLINE uint32_t | ll_dma_is_active_flag_blk3 (dma_regs_t *DMAx) |
Indicate the status of Channel 3 block complete flag. More... | |
__STATIC_INLINE uint32_t | ll_dma_is_active_flag_blk4 (dma_regs_t *DMAx) |
Indicate the status of Channel 4 block complete flag. More... | |
__STATIC_INLINE uint32_t | ll_dma_is_active_flag_blk5 (dma_regs_t *DMAx) |
Indicate the status of Channel 5 block complete flag. More... | |
__STATIC_INLINE uint32_t | ll_dma_is_active_flag_blk6 (dma_regs_t *DMAx) |
Indicate the status of Channel 6 block complete flag. More... | |
__STATIC_INLINE uint32_t | ll_dma_is_active_flag_blk7 (dma_regs_t *DMAx) |
Indicate the status of Channel 7 block complete flag. More... | |
__STATIC_INLINE uint32_t | ll_dma_is_active_flag_srct (dma_regs_t *DMAx, uint32_t channel) |
Indicate the status of DMA Channel source transaction complete flag. More... | |
__STATIC_INLINE uint32_t | ll_dma_is_active_flag_srct0 (dma_regs_t *DMAx) |
Indicate the status of Channel 0 source transaction complete flag. More... | |
__STATIC_INLINE uint32_t | ll_dma_is_active_flag_srct1 (dma_regs_t *DMAx) |
Indicate the status of Channel 1 source transaction complete flag. More... | |
__STATIC_INLINE uint32_t | ll_dma_is_active_flag_srct2 (dma_regs_t *DMAx) |
Indicate the status of Channel 2 source transaction complete flag. More... | |
__STATIC_INLINE uint32_t | ll_dma_is_active_flag_srct3 (dma_regs_t *DMAx) |
Indicate the status of Channel 3 source transaction complete flag. More... | |
__STATIC_INLINE uint32_t | ll_dma_is_active_flag_srct4 (dma_regs_t *DMAx) |
Indicate the status of Channel 4 source transaction complete flag. More... | |
__STATIC_INLINE uint32_t | ll_dma_is_active_flag_srct5 (dma_regs_t *DMAx) |
Indicate the status of Channel 5 source transaction complete flag. More... | |
__STATIC_INLINE uint32_t | ll_dma_is_active_flag_srct6 (dma_regs_t *DMAx) |
Indicate the status of Channel 6 source transaction complete flag. More... | |
__STATIC_INLINE uint32_t | ll_dma_is_active_flag_srct7 (dma_regs_t *DMAx) |
Indicate the status of Channel 7 source transaction complete flag. More... | |
__STATIC_INLINE uint32_t | ll_dma_is_active_flag_dstt (dma_regs_t *DMAx, uint32_t channel) |
Indicate the status of DMA Channel destination transaction complete flag. More... | |
__STATIC_INLINE uint32_t | ll_dma_is_active_flag_dstt0 (dma_regs_t *DMAx) |
Indicate the status of Channel 0 destination transaction complete flag. More... | |
__STATIC_INLINE uint32_t | ll_dma_is_active_flag_dstt1 (dma_regs_t *DMAx) |
Indicate the status of Channel 1 destination transaction complete flag. More... | |
__STATIC_INLINE uint32_t | ll_dma_is_active_flag_dstt2 (dma_regs_t *DMAx) |
Indicate the status of Channel 2 destination transaction complete flag. More... | |
__STATIC_INLINE uint32_t | ll_dma_is_active_flag_dstt3 (dma_regs_t *DMAx) |
Indicate the status of Channel 3 destination transaction complete flag. More... | |
__STATIC_INLINE uint32_t | ll_dma_is_active_flag_dstt4 (dma_regs_t *DMAx) |
Indicate the status of Channel 4 destination transaction complete flag. More... | |
__STATIC_INLINE uint32_t | ll_dma_is_active_flag_dstt5 (dma_regs_t *DMAx) |
Indicate the status of Channel 5 destination transaction complete flag. More... | |
__STATIC_INLINE uint32_t | ll_dma_is_active_flag_dstt6 (dma_regs_t *DMAx) |
Indicate the status of Channel 6 destination transaction complete flag. More... | |
__STATIC_INLINE uint32_t | ll_dma_is_active_flag_dstt7 (dma_regs_t *DMAx) |
Indicate the status of Channel 7 destination transaction complete flag. More... | |
__STATIC_INLINE uint32_t | ll_dma_is_active_flag_err (dma_regs_t *DMAx, uint32_t channel) |
Indicate the status of DMA Channel error flag. More... | |
__STATIC_INLINE uint32_t | ll_dma_is_active_flag_err0 (dma_regs_t *DMAx) |
Indicate the status of Channel 0 error flag. More... | |
__STATIC_INLINE uint32_t | ll_dma_is_active_flag_err1 (dma_regs_t *DMAx) |
Indicate the status of Channel 1 error flag. More... | |
__STATIC_INLINE uint32_t | ll_dma_is_active_flag_err2 (dma_regs_t *DMAx) |
Indicate the status of Channel 2 error flag. More... | |
__STATIC_INLINE uint32_t | ll_dma_is_active_flag_err3 (dma_regs_t *DMAx) |
Indicate the status of Channel 3 error flag. More... | |
__STATIC_INLINE uint32_t | ll_dma_is_active_flag_err4 (dma_regs_t *DMAx) |
Indicate the status of Channel 4 error flag. More... | |
__STATIC_INLINE uint32_t | ll_dma_is_active_flag_err5 (dma_regs_t *DMAx) |
Indicate the status of Channel 5 error flag. More... | |
__STATIC_INLINE uint32_t | ll_dma_is_active_flag_err6 (dma_regs_t *DMAx) |
Indicate the status of Channel 6 error flag. More... | |
__STATIC_INLINE uint32_t | ll_dma_is_active_flag_err7 (dma_regs_t *DMAx) |
Indicate the status of Channel 7 error flag. More... | |
__STATIC_INLINE void | ll_dma_clear_flag_tfr (dma_regs_t *DMAx, uint32_t channel) |
Clear DMA Channel transfer complete flag. More... | |
__STATIC_INLINE void | ll_dma_clear_flag_tfr0 (dma_regs_t *DMAx) |
Clear Channel 0 transfer complete flag. More... | |
__STATIC_INLINE void | ll_dma_clear_flag_tfr1 (dma_regs_t *DMAx) |
Clear Channel 1 transfer complete flag. More... | |
__STATIC_INLINE void | ll_dma_clear_flag_tfr2 (dma_regs_t *DMAx) |
Clear Channel 2 transfer complete flag. More... | |
__STATIC_INLINE void | ll_dma_clear_flag_tfr3 (dma_regs_t *DMAx) |
Clear Channel 3 transfer complete flag. More... | |
__STATIC_INLINE void | ll_dma_clear_flag_tfr4 (dma_regs_t *DMAx) |
Clear Channel 4 transfer complete flag. More... | |
__STATIC_INLINE void | ll_dma_clear_flag_tfr5 (dma_regs_t *DMAx) |
Clear Channel 5 transfer complete flag. More... | |
__STATIC_INLINE void | ll_dma_clear_flag_tfr6 (dma_regs_t *DMAx) |
Clear Channel 6 transfer complete flag. More... | |
__STATIC_INLINE void | ll_dma_clear_flag_tfr7 (dma_regs_t *DMAx) |
Clear Channel 7 transfer complete flag. More... | |
__STATIC_INLINE void | ll_dma_clear_flag_blk (dma_regs_t *DMAx, uint32_t channel) |
Clear DMA Channel block complete flag. More... | |
__STATIC_INLINE void | ll_dma_clear_flag_blk0 (dma_regs_t *DMAx) |
Clear Channel 0 Block Complete flag. More... | |
__STATIC_INLINE void | ll_dma_clear_flag_blk1 (dma_regs_t *DMAx) |
Clear Channel 1 Block Complete flag. More... | |
__STATIC_INLINE void | ll_dma_clear_flag_blk2 (dma_regs_t *DMAx) |
Clear Channel 2 Block Complete flag. More... | |
__STATIC_INLINE void | ll_dma_clear_flag_blk3 (dma_regs_t *DMAx) |
Clear Channel 3 Block Complete flag. More... | |
__STATIC_INLINE void | ll_dma_clear_flag_blk4 (dma_regs_t *DMAx) |
Clear Channel 4 Block Complete flag. More... | |
__STATIC_INLINE void | ll_dma_clear_flag_blk5 (dma_regs_t *DMAx) |
Clear Channel 5 Block Complete flag. More... | |
__STATIC_INLINE void | ll_dma_clear_flag_blk6 (dma_regs_t *DMAx) |
Clear Channel 6 Block Cmplete flag. More... | |
__STATIC_INLINE void | ll_dma_clear_flag_blk7 (dma_regs_t *DMAx) |
Clear Channel 7 Block Complete flag. More... | |
__STATIC_INLINE void | ll_dma_clear_flag_srct (dma_regs_t *DMAx, uint32_t channel) |
Clear DMA Channel source transaction Complete flag. More... | |
__STATIC_INLINE void | ll_dma_clear_flag_srct0 (dma_regs_t *DMAx) |
Clear Channel 0 source transaction Complete flag. More... | |
__STATIC_INLINE void | ll_dma_clear_flag_srct1 (dma_regs_t *DMAx) |
Clear Channel 1 source transaction Complete flag. More... | |
__STATIC_INLINE void | ll_dma_clear_flag_srct2 (dma_regs_t *DMAx) |
Clear Channel 2 source transaction Complete flag. More... | |
__STATIC_INLINE void | ll_dma_clear_flag_srct3 (dma_regs_t *DMAx) |
Clear Channel 3 source transaction Complete flag. More... | |
__STATIC_INLINE void | ll_dma_clear_flag_srct4 (dma_regs_t *DMAx) |
Clear Channel 4 source transaction Complete flag. More... | |
__STATIC_INLINE void | ll_dma_clear_flag_srct5 (dma_regs_t *DMAx) |
Clear Channel 5 source transaction Complete flag. More... | |
__STATIC_INLINE void | ll_dma_clear_flag_srct6 (dma_regs_t *DMAx) |
Clear Channel 6 source transaction Complete flag. More... | |
__STATIC_INLINE void | ll_dma_clear_flag_srct7 (dma_regs_t *DMAx) |
Clear Channel 7 source transaction Complete flag. More... | |
__STATIC_INLINE void | ll_dma_clear_flag_dstt (dma_regs_t *DMAx, uint32_t channel) |
Clear DMA Channel destination transaction Complete flag. More... | |
__STATIC_INLINE void | ll_dma_clear_flag_dstt0 (dma_regs_t *DMAx) |
Clear Channel 0 destination transaction Complete status. More... | |
__STATIC_INLINE void | ll_dma_clear_flag_dstt1 (dma_regs_t *DMAx) |
Clear Channel 1 destination transaction Complete flag. More... | |
__STATIC_INLINE void | ll_dma_clear_flag_dstt2 (dma_regs_t *DMAx) |
Clear Channel 2 destination transaction Complete flag. More... | |
__STATIC_INLINE void | ll_dma_clear_flag_dstt3 (dma_regs_t *DMAx) |
Clear Channel 3 destination transaction Complete flag. More... | |
__STATIC_INLINE void | ll_dma_clear_flag_dstt4 (dma_regs_t *DMAx) |
Clear Channel 4 destination transaction Complete flag. More... | |
__STATIC_INLINE void | ll_dma_clear_flag_dstt5 (dma_regs_t *DMAx) |
Clear Channel 5 destination transaction Complete flag. More... | |
__STATIC_INLINE void | ll_dma_clear_flag_dstt6 (dma_regs_t *DMAx) |
Clear Channel 6 destination transaction Complete flag. More... | |
__STATIC_INLINE void | ll_dma_clear_flag_dstt7 (dma_regs_t *DMAx) |
Clear Channel 7 destination transaction Complete flag. More... | |
__STATIC_INLINE void | ll_dma_clear_flag_err (dma_regs_t *DMAx, uint32_t channel) |
Clear DMA Channel error flag. More... | |
__STATIC_INLINE void | ll_dma_clear_flag_err0 (dma_regs_t *DMAx) |
Clear Channel 0 error flag. More... | |
__STATIC_INLINE void | ll_dma_clear_flag_err1 (dma_regs_t *DMAx) |
Clear Channel 1 error flag. More... | |
__STATIC_INLINE void | ll_dma_clear_flag_err2 (dma_regs_t *DMAx) |
Clear Channel 2 error flag. More... | |
__STATIC_INLINE void | ll_dma_clear_flag_err3 (dma_regs_t *DMAx) |
Clear Channel 3 error flag. More... | |
__STATIC_INLINE void | ll_dma_clear_flag_err4 (dma_regs_t *DMAx) |
Clear Channel 4 error flag. More... | |
__STATIC_INLINE void | ll_dma_clear_flag_err5 (dma_regs_t *DMAx) |
Clear Channel 5 error flag. More... | |
__STATIC_INLINE void | ll_dma_clear_flag_err6 (dma_regs_t *DMAx) |
Clear Channel 6 error flag. More... | |
__STATIC_INLINE void | ll_dma_clear_flag_err7 (dma_regs_t *DMAx) |
Clear Channel 7 error flag. More... | |
__STATIC_INLINE void | ll_dma_enable_it_tfr (dma_regs_t *DMAx, uint32_t channel) |
Enable Transfer Complete interrupt. More... | |
__STATIC_INLINE void | ll_dma_enable_it_blk (dma_regs_t *DMAx, uint32_t channel) |
Enable Block Complete interrupt. More... | |
__STATIC_INLINE void | ll_dma_enable_it_srct (dma_regs_t *DMAx, uint32_t channel) |
Enable source transaction Complete interrupt. More... | |
__STATIC_INLINE void | ll_dma_enable_it_dstt (dma_regs_t *DMAx, uint32_t channel) |
Enable destination transaction Complete interrupt. More... | |
__STATIC_INLINE void | ll_dma_enable_it_err (dma_regs_t *DMAx, uint32_t channel) |
Enable error interrupt. More... | |
__STATIC_INLINE void | ll_dma_disable_it_tfr (dma_regs_t *DMAx, uint32_t channel) |
Disable Transfer Complete interrupt. More... | |
__STATIC_INLINE void | ll_dma_disable_it_blk (dma_regs_t *DMAx, uint32_t channel) |
Disable Block Complete interrupt. More... | |
__STATIC_INLINE void | ll_dma_disable_it_srct (dma_regs_t *DMAx, uint32_t channel) |
Disable source transaction Complete interrupt. More... | |
__STATIC_INLINE void | ll_dma_disable_it_dstt (dma_regs_t *DMAx, uint32_t channel) |
Disable destination transaction Complete interrupt. More... | |
__STATIC_INLINE void | ll_dma_disable_it_err (dma_regs_t *DMAx, uint32_t channel) |
Disable error interrupt. More... | |
__STATIC_INLINE uint32_t | ll_dma_is_enable_it_tfr (dma_regs_t *DMAx, uint32_t channel) |
Check if DMA Transfer interrupt is enabled or disabled. More... | |
__STATIC_INLINE uint32_t | ll_dma_is_enable_it_blk (dma_regs_t *DMAx, uint32_t channel) |
Check if DMA block interrupt is enabled or disabled. More... | |
__STATIC_INLINE uint32_t | ll_dma_is_enable_it_srct (dma_regs_t *DMAx, uint32_t channel) |
Check if DMA source transaction interrupt is enabled or disabled. More... | |
__STATIC_INLINE uint32_t | ll_dma_is_enable_it_dstt (dma_regs_t *DMAx, uint32_t channel) |
Check if DMA destination transaction interrupt is enabled or disabled. More... | |
__STATIC_INLINE uint32_t | ll_dma_is_enable_it_err (dma_regs_t *DMAx, uint32_t channel) |
Check if DMA error interrupt is enabled or disabled. More... | |
__STATIC_INLINE void | ll_dma_enable_it (dma_regs_t *DMAx, uint32_t channel) |
Enable DMA channel interrupt. More... | |
__STATIC_INLINE void | ll_dma_disable_it (dma_regs_t *DMAx, uint32_t channel) |
Disable DMA channel interrupt. More... | |
__STATIC_INLINE uint32_t | ll_dma_is_enable_it (dma_regs_t *DMAx, uint32_t channel) |
Check if DMA interrupt is enabled or disabled. More... | |
error_status_t | ll_dma_deinit (dma_regs_t *DMAx, uint32_t channel) |
De-initialize the DMA registers to their default reset values. More... | |
error_status_t | ll_dma_init (dma_regs_t *DMAx, uint32_t channel, ll_dma_init_t *p_dma_init) |
Initialize the DMA registers according to the specified parameters in p_dma_init. More... | |
void | ll_dma_struct_init (ll_dma_init_t *p_dma_init) |
Set each field of a ll_dma_init_t type structure to default value. More... | |
error_status_t | ll_dma_hs_choice (dma_regs_t *DMAx, uint32_t src_peripheral, uint32_t dst_peripheral) |
Initialize the DMA HS choice according to the specified parameters. More... | |
Header file containing functions prototypes of DMA LL library.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. Neither the name of GOODIX nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL COPYRIGHT HOLDERS AND CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Definition in file gr55xx_ll_dma.h.