Functions | |
__STATIC_INLINE void | Cy_DMA_Enable (DW_Type *base) |
Enables the DMA block. More... | |
__STATIC_INLINE void | Cy_DMA_Disable (DW_Type *base) |
Disables the DMA block. More... | |
__STATIC_INLINE uint32_t | Cy_DMA_GetActiveChannel (DW_Type const *base) |
Returns the status of the active/pending channels in the DMA block. More... | |
__STATIC_INLINE void * | Cy_DMA_GetActiveSrcAddress (DW_Type const *base) |
Returns the source address being used for the current transfer. More... | |
__STATIC_INLINE void * | Cy_DMA_GetActiveDstAddress (DW_Type const *base) |
Returns the destination address being used for the current transfer. More... | |
cy_en_dma_status_t | Cy_DMA_Crc_Init (DW_Type *base, cy_stc_dma_crc_config_t const *crcConfig) |
Initializes the DMA CRC functionality. More... | |
__STATIC_INLINE uint32_t | Cy_DMA_GetActiveChannelIndex (DW_Type const *base) |
Returns the index of the active channel within the DMA block. More... | |
__STATIC_INLINE void Cy_DMA_Enable | ( | DW_Type * | base | ) |
Enables the DMA block.
base | The pointer to the hardware DMA block. |
__STATIC_INLINE void Cy_DMA_Disable | ( | DW_Type * | base | ) |
Disables the DMA block.
base | The pointer to the hardware DMA block. |
__STATIC_INLINE uint32_t Cy_DMA_GetActiveChannel | ( | DW_Type const * | base | ) |
Returns the status of the active/pending channels in the DMA block.
base | The pointer to the hardware DMA block. |
__STATIC_INLINE void * Cy_DMA_GetActiveSrcAddress | ( | DW_Type const * | base | ) |
Returns the source address being used for the current transfer.
base | The pointer to the hardware DMA block. |
__STATIC_INLINE void * Cy_DMA_GetActiveDstAddress | ( | DW_Type const * | base | ) |
Returns the destination address being used for the current transfer.
base | The pointer to the hardware DMA block. |
cy_en_dma_status_t Cy_DMA_Crc_Init | ( | DW_Type * | base, |
cy_stc_dma_crc_config_t const * | crcConfig | ||
) |
Initializes the DMA CRC functionality.
base | The pointer to the hardware DMA block. |
crcConfig | The pointer to the CRC configuration structure cy_stc_dma_crc_config_t. |
__STATIC_INLINE uint32_t Cy_DMA_GetActiveChannelIndex | ( | DW_Type const * | base | ) |
Returns the index of the active channel within the DMA block.
base | The pointer to the hardware DMA block. |