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_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_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_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.
\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | SAR | SAR | +-------------------—+--------------------------------—+ \endrst 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 1326 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.
\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | CCR | DIR | +-------------------—+--------------------------------—+ \endrst 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 642 of file gr55xx_ll_dma.h.
__STATIC_INLINE void ll_dma_disable | ( | dma_regs_t * | DMAx | ) |
Disable DMA Module.
\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | CFG_REG | CFG_EN | +-------------------—+--------------------------------—+ \endrst
DMAx | DMA instance. |
None |
Definition at line 377 of file gr55xx_ll_dma.h.
__STATIC_INLINE void ll_dma_disable_channel | ( | dma_regs_t * | DMAx, |
uint32_t | channel | ||
) |
Disable DMA channel.
\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | CH_EN_REG | CH_EN_WE&CH_EN | +-------------------—+--------------------------------—+ \endrst
DMAx | DMA instance. |
channel | This parameter can be one of the following values: |
None |
Definition at line 454 of file gr55xx_ll_dma.h.
__STATIC_INLINE void ll_dma_enable | ( | dma_regs_t * | DMAx | ) |
Enable DMA Module.
\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | CFG_REG | CFG_EN | +-------------------—+--------------------------------—+ \endrst
DMAx | DMA instance. |
None |
Definition at line 354 of file gr55xx_ll_dma.h.
__STATIC_INLINE void ll_dma_enable_channel | ( | dma_regs_t * | DMAx, |
uint32_t | channel | ||
) |
Enable DMA channel.
\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | CH_EN_REG | CH_EN_WE&CH_EN | +-------------------—+--------------------------------—+ \endrst
DMAx | DMA instance. |
channel | This parameter can be one of the following values: |
None |
Definition at line 426 of file gr55xx_ll_dma.h.
__STATIC_INLINE uint32_t ll_dma_get_block_size | ( | dma_regs_t * | DMAx, |
uint32_t | channel | ||
) |
Get the block size of a transfer.
\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | CTL_HI | BLOCK_TS | +-------------------—+--------------------------------—+ \endrst
DMAx | DMAx instance |
channel | This parameter can be one of the following values: |
Between | Min_Data = 0 and Max_Data = 0xFFF |
Definition at line 1288 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.
\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | CFG_LO | CH_PRIOR | +-------------------—+--------------------------------—+ \endrst
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 1228 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).
\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | CTL_LO | TT_FC | +-------------------—+--------------------------------—+ \endrst
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 709 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.
\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | DAR | DAR | +-------------------—+--------------------------------—+ \endrst
DMAx | DMAx instance |
channel | This parameter can be one of the following values: |
Between | Min_Data = 0 and Max_Data = 0xFFFFFFFF |
Definition at line 1446 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.
\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | CTL_LO | DST_MSIZE | +-------------------—+--------------------------------—+ \endrst
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 1155 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.
\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | CTL_LO | DINC | +-------------------—+--------------------------------—+ \endrst
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 903 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.
\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | CFG_HI | DST_PER | +-------------------—+--------------------------------—+ \endrst
DMAx | DMAx instance |
channel | This parameter can be one of the following values: |
Definition at line 1757 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.
\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | CTL_LO | DST_TR_WIDTH | +-------------------—+--------------------------------—+ \endrst
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 1029 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.
\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | DAR | DAR | +-------------------—+--------------------------------—+ \endrst
DMAx | DMAx instance |
channel | This parameter can be one of the following values: |
Between | Min_Data = 0 and Max_Data = 0xFFFFFFFF |
Definition at line 1567 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.
\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | SAR | SAR | +-------------------—+--------------------------------—+ \endrst
DMAx | DMAx instance |
channel | This parameter can be one of the following values: |
Between | Min_Data = 0 and Max_Data = 0xFFFFFFFF |
Definition at line 1538 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.
\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | CFG_LO | RELOAD_DST | +-------------------—+--------------------------------—+ \endrst
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 777 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.
\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | SAR | SAR | +-------------------—+--------------------------------—+ \endrst
DMAx | DMAx instance |
channel | This parameter can be one of the following values: |
Between | Min_Data = 0 and Max_Data = 0xFFFFFFFF |
Definition at line 1418 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.
\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | CTL_LO | SRC_MSIZE | +-------------------—+--------------------------------—+ \endrst
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 1092 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.
\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | CTL_LO | SINC | +-------------------—+--------------------------------—+ \endrst
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 840 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.
\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | CFG_HI | SRC_PER | +-------------------—+--------------------------------—+ \endrst
DMAx | DMAx instance |
channel | This parameter can be one of the following values: |
Definition at line 1662 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.
\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | CTL_LO | SRC_TR_WIDTH | +-------------------—+--------------------------------—+ \endrst
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 966 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.
\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | CFGL | FIFO_EMPTY | +-------------------—+--------------------------------—+ \endrst
DMAx | DMA instance. |
channel | This parameter can be one of the following values: |
State | of bit (1 or 0). |
Definition at line 599 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.
\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | CFG_REG | CFG_EN | +-------------------—+--------------------------------—+ \endrst
DMAx | DMA instance. |
State | of bit (1 or 0). |
Definition at line 396 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.
\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | CH_EN_REG | CH_EN_WE&CH_EN | +-------------------—+--------------------------------—+ \endrst
DMAx | DMA instance. |
channel | This parameter can be one of the following values: |
State | of bit (1 or 0). |
Definition at line 484 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.
\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | CFGL | CH_SUSP | +-------------------—+--------------------------------—+ \endrst
DMAx | DMA instance. |
channel | This parameter can be one of the following values: |
State | of bit (1 or 0). |
Definition at line 571 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.
\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | REQ_DST | DST_WE&DST | +-------------------—+--------------------------------—+ \endrst
DMAx | DMA instance. |
channel | This parameter can be one of the following values: |
None |
Definition at line 1970 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.
\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | LST_DST | LST_DST_WE&LST_DST | +-------------------—+--------------------------------—+ \endrst REQ_DST | DST_WE&DST
DMAx | DMA instance. |
channel | This parameter can be one of the following values: |
None |
Definition at line 2031 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.
\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | SGL_REQ_DST | REQ_DST_WE&REQ_DST | +-------------------—+--------------------------------—+ \endrst 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 2000 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.
\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | SGL_REQ_DST | REQ_DST_WE&REQ_DST | +-------------------—+--------------------------------—+ \endrst REQ_DST | DST_WE&DST
DMAx | DMA instance. |
channel | This parameter can be one of the following values: |
None |
Definition at line 1941 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.
\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | REQ_SRC | SRC_WE&SRC | +-------------------—+--------------------------------—+ \endrst
DMAx | DMA instance. |
channel | This parameter can be one of the following values: |
None |
Definition at line 1850 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.
\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | LST_SRC | LST_SRC_WE&LST_SRC | +-------------------—+--------------------------------—+ \endrst REQ_SRC | SRC_WE&SRC
DMAx | DMA instance. |
channel | This parameter can be one of the following values: |
None |
Definition at line 1911 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.
\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | SGL_REQ_SRC | REQ_SRC_WE&REQ_SRC | +-------------------—+--------------------------------—+ \endrst 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 1880 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.
\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | SGL_REQ_SRC | REQ_SRC_WE&REQ_SRC | +-------------------—+--------------------------------—+ \endrst REQ_SRC | SRC_WE&SRC
DMAx | DMA instance. |
channel | This parameter can be one of the following values: |
None |
Definition at line 1821 of file gr55xx_ll_dma.h.
__STATIC_INLINE void ll_dma_resume_channel | ( | dma_regs_t * | DMAx, |
uint32_t | channel | ||
) |
Resume a DMA channel.
\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | CFGL | CH_SUSP | +-------------------—+--------------------------------—+ \endrst
DMAx | DMA instance. |
channel | This parameter can be one of the following values: |
None |
Definition at line 543 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.
\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | CFG_HI | DST_PER | +-------------------—+--------------------------------—+ \endrst
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 1791 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.
\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | CTL_HI | BLOCK_TS | +-------------------—+--------------------------------—+ \endrst
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 1258 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.
\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | CFG_LO | CH_PRIOR | +-------------------—+--------------------------------—+ \endrst
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 1192 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).
\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | CTL_LO | TT_FC | +-------------------—+--------------------------------—+ \endrst
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 677 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.
\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | DAR | DAR | +-------------------—+--------------------------------—+ \endrst
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 1390 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.
\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | CTL_LO | DST_MSIZE | +-------------------—+--------------------------------—+ \endrst
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 1124 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.
\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | CTL_LO | DINC | +-------------------—+--------------------------------—+ \endrst
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 872 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.
\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | CFG_HI | DST_PER | +-------------------—+--------------------------------—+ \endrst
DMAx | DMAx instance |
channel | This parameter can be one of the following values: |
peripheral | This parameter can be one of the following values:
|
None |
Definition at line 1710 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.
\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | CTL_LO | DST_TR_WIDTH | +-------------------—+--------------------------------—+ \endrst
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 998 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.
\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | DAR | DAR | +-------------------—+--------------------------------—+ \endrst 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 1508 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.
\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | SAR | SAR | +-------------------—+--------------------------------—+ \endrst 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 1476 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.
\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | CFG_LO | RELOAD_DST | +-------------------—+--------------------------------—+ \endrst
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 744 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.
\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | SAR | SAR | +-------------------—+--------------------------------—+ \endrst
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 1361 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.
\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | CTL_LO | SRC_MSIZE | +-------------------—+--------------------------------—+ \endrst
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 1061 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.
\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | CTL_LO | SINC | +-------------------—+--------------------------------—+ \endrst
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 809 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.
\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | CFG_HI | SRC_PER | +-------------------—+--------------------------------—+ \endrst
DMAx | DMAx instance |
channel | This parameter can be one of the following values: |
peripheral | This parameter can be one of the following values:
|
None |
Definition at line 1615 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.
\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | CTL_LO | SRC_TR_WIDTH | +-------------------—+--------------------------------—+ \endrst
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 935 of file gr55xx_ll_dma.h.
__STATIC_INLINE void ll_dma_suspend_channel | ( | dma_regs_t * | DMAx, |
uint32_t | channel | ||
) |
Suspend a DMA channel transfer.
\rst +-------------------—+--------------------------------—+ | Register | BitsName | +======================+===================================+ | CFGL | CH_SUSP | +-------------------—+--------------------------------—+ \endrst
DMAx | DMA instance. |
channel | This parameter can be one of the following values: |
None |
Definition at line 514 of file gr55xx_ll_dma.h.