Functions | |
| cy_en_axidmac_status_t | Cy_AXIDMAC_Channel_Init (AXI_DMAC_Type *base, uint32_t channel, cy_stc_axidmac_channel_config_t const *config) |
| Initializes the AXIDMAC channel with a descriptor and other parameters. More... | |
| void | Cy_AXIDMAC_Channel_DeInit (AXI_DMAC_Type *base, uint32_t channel) |
| Clears the content of registers corresponding to the channel. More... | |
| __STATIC_INLINE void | Cy_AXIDMAC_Channel_SetDescriptor (AXI_DMAC_Type *base, uint32_t channel, cy_stc_axidmac_descriptor_t const *descriptor) |
| Sets a descriptor as current for the specified AXIDMAC channel. More... | |
| __STATIC_INLINE void | Cy_AXIDMAC_Channel_Enable (AXI_DMAC_Type *base, uint32_t channel) |
| Enables a AXIDMAC channel. More... | |
| __STATIC_INLINE void | Cy_AXIDMAC_Channel_Disable (AXI_DMAC_Type *base, uint32_t channel) |
| Disables a AXIDMAC channel. More... | |
| __STATIC_INLINE void | Cy_AXIDMAC_Channel_SetPriority (AXI_DMAC_Type *base, uint32_t channel, uint32_t priority) |
| The function is used to set a priority for the AXIDMAC channel. More... | |
| __STATIC_INLINE uint32_t | Cy_AXIDMAC_Channel_GetPriority (AXI_DMAC_Type const *base, uint32_t channel) |
| Returns the priority of the AXIDMAC channel. More... | |
| __STATIC_INLINE uint32_t | Cy_AXIDMAC_Channel_GetStatus (AXI_DMAC_Type const *base, uint32_t channel) |
| Returns the enable status of the AXIDMAC channel. More... | |
| __STATIC_INLINE void * | Cy_AXIDMAC_Channel_GetCurrentSrcAddress (AXI_DMAC_Type const *base, uint32_t channel) |
| Returns the source address being used for the current transfer. More... | |
| __STATIC_INLINE void * | Cy_AXIDMAC_Channel_GetCurrentDstAddress (AXI_DMAC_Type const *base, uint32_t channel) |
| Returns the destination address being used for the current transfer. More... | |
| __STATIC_INLINE uint32_t | Cy_AXIDMAC_Channel_GetCurrentXloopIndex (AXI_DMAC_Type const *base, uint32_t channel) |
| Returns the current transfer X-loop index. More... | |
| __STATIC_INLINE uint32_t | Cy_AXIDMAC_Channel_GetCurrentYloopIndex (AXI_DMAC_Type const *base, uint32_t channel) |
| Returns the current transfer Y-loop index. More... | |
| __STATIC_INLINE uint32_t | Cy_AXIDMAC_Channel_GetCurrentMloopIndex (AXI_DMAC_Type const *base, uint32_t channel) |
| Returns the current transfer M-loop index. More... | |
| __STATIC_INLINE cy_stc_axidmac_descriptor_t * | Cy_AXIDMAC_Channel_GetCurrentDescriptor (AXI_DMAC_Type const *base, uint32_t channel) |
| Returns the descriptor that is active in the channel. More... | |
| __STATIC_INLINE uint32_t | Cy_AXIDMAC_Channel_GetInterruptStatus (AXI_DMAC_Type const *base, uint32_t channel) |
| Returns the interrupt status of the specified channel. More... | |
| __STATIC_INLINE void | Cy_AXIDMAC_Channel_ClearInterrupt (AXI_DMAC_Type *base, uint32_t channel, uint32_t interrupt) |
| Clears the interrupt status of the specified channel. More... | |
| __STATIC_INLINE void | Cy_AXIDMAC_Channel_SetInterrupt (AXI_DMAC_Type *base, uint32_t channel, uint32_t interrupt) |
| Sets the interrupt for the specified channel. More... | |
| __STATIC_INLINE uint32_t | Cy_AXIDMAC_Channel_GetInterruptMask (AXI_DMAC_Type const *base, uint32_t channel) |
| Returns the interrupt mask value of the specified channel. More... | |
| __STATIC_INLINE void | Cy_AXIDMAC_Channel_SetInterruptMask (AXI_DMAC_Type *base, uint32_t channel, uint32_t interrupt) |
| Sets an interrupt mask value for the specified channel. More... | |
| __STATIC_INLINE uint32_t | Cy_AXIDMAC_Channel_GetInterruptStatusMasked (AXI_DMAC_Type const *base, uint32_t channel) |
| Returns the logical AND of the corresponding INTR and INTR_MASK fields in a single-load operation. More... | |
| __STATIC_INLINE void | Cy_AXIDMAC_Channel_SetSwTrigger (AXI_DMAC_Type *base, uint32_t channel) |
| The function is used to set a SW trigger for a channel. More... | |
| cy_en_axidmac_status_t Cy_AXIDMAC_Channel_Init | ( | AXI_DMAC_Type * | base, |
| uint32_t | channel, | ||
| cy_stc_axidmac_channel_config_t const * | config | ||
| ) |
Initializes the AXIDMAC channel with a descriptor and other parameters.
| base | The pointer to the hardware AXIDMAC block. |
| channel | A channel number. |
| config | The structure that has the initialization information for the channel. |
| void Cy_AXIDMAC_Channel_DeInit | ( | AXI_DMAC_Type * | base, |
| uint32_t | channel | ||
| ) |
Clears the content of registers corresponding to the channel.
| base | The pointer to the hardware AXIDMAC block. |
| channel | A channel number. |
| __STATIC_INLINE void Cy_AXIDMAC_Channel_SetDescriptor | ( | AXI_DMAC_Type * | base, |
| uint32_t | channel, | ||
| cy_stc_axidmac_descriptor_t const * | descriptor | ||
| ) |
Sets a descriptor as current for the specified AXIDMAC channel.
| base | The pointer to the hardware AXIDMAC block. |
| channel | The channel number. |
| descriptor | This is the descriptor to be associated with the channel. |
| __STATIC_INLINE void Cy_AXIDMAC_Channel_Enable | ( | AXI_DMAC_Type * | base, |
| uint32_t | channel | ||
| ) |
Enables a AXIDMAC channel.
| base | The pointer to the hardware AXIDMAC block. |
| channel | The channel number. |
| __STATIC_INLINE void Cy_AXIDMAC_Channel_Disable | ( | AXI_DMAC_Type * | base, |
| uint32_t | channel | ||
| ) |
Disables a AXIDMAC channel.
| base | The pointer to the hardware AXIDMAC block. |
| channel | The channel number. |
| __STATIC_INLINE void Cy_AXIDMAC_Channel_SetPriority | ( | AXI_DMAC_Type * | base, |
| uint32_t | channel, | ||
| uint32_t | priority | ||
| ) |
The function is used to set a priority for the AXIDMAC channel.
| base | The pointer to the hardware AXIDMAC block. |
| channel | The channel number. |
| priority | The priority to be set for the AXIDMAC channel. The allowed values are 0,1,2,3. |
| __STATIC_INLINE uint32_t Cy_AXIDMAC_Channel_GetPriority | ( | AXI_DMAC_Type const * | base, |
| uint32_t | channel | ||
| ) |
Returns the priority of the AXIDMAC channel.
| base | The pointer to the hardware AXIDMAC block. |
| channel | The channel number. |
| __STATIC_INLINE uint32_t Cy_AXIDMAC_Channel_GetStatus | ( | AXI_DMAC_Type const * | base, |
| uint32_t | channel | ||
| ) |
Returns the enable status of the AXIDMAC channel.
| base | The pointer to the hardware AXIDMAC block. |
| channel | The channel number. |
| __STATIC_INLINE void * Cy_AXIDMAC_Channel_GetCurrentSrcAddress | ( | AXI_DMAC_Type const * | base, |
| uint32_t | channel | ||
| ) |
Returns the source address being used for the current transfer.
| base | The pointer to the hardware AXIDMAC block. |
| channel | The channel number. |
| __STATIC_INLINE void * Cy_AXIDMAC_Channel_GetCurrentDstAddress | ( | AXI_DMAC_Type const * | base, |
| uint32_t | channel | ||
| ) |
Returns the destination address being used for the current transfer.
| base | The pointer to the hardware AXIDMAC block. |
| channel | The channel number. |
| __STATIC_INLINE uint32_t Cy_AXIDMAC_Channel_GetCurrentXloopIndex | ( | AXI_DMAC_Type const * | base, |
| uint32_t | channel | ||
| ) |
Returns the current transfer X-loop index.
| base | The pointer to the hardware AXIDMAC block. |
| channel | The channel number. |
| __STATIC_INLINE uint32_t Cy_AXIDMAC_Channel_GetCurrentYloopIndex | ( | AXI_DMAC_Type const * | base, |
| uint32_t | channel | ||
| ) |
Returns the current transfer Y-loop index.
| base | The pointer to the hardware AXIDMAC block. |
| channel | The channel number. |
| __STATIC_INLINE uint32_t Cy_AXIDMAC_Channel_GetCurrentMloopIndex | ( | AXI_DMAC_Type const * | base, |
| uint32_t | channel | ||
| ) |
Returns the current transfer M-loop index.
| base | The pointer to the hardware AXIDMAC block. |
| channel | The channel number. |
| __STATIC_INLINE cy_stc_axidmac_descriptor_t * Cy_AXIDMAC_Channel_GetCurrentDescriptor | ( | AXI_DMAC_Type const * | base, |
| uint32_t | channel | ||
| ) |
Returns the descriptor that is active in the channel.
| base | The pointer to the hardware AXIDMAC block. |
| channel | The channel number. |
| __STATIC_INLINE uint32_t Cy_AXIDMAC_Channel_GetInterruptStatus | ( | AXI_DMAC_Type const * | base, |
| uint32_t | channel | ||
| ) |
Returns the interrupt status of the specified channel.
| base | The pointer to the hardware AXIDMAC block. |
| channel | The channel number. |
| __STATIC_INLINE void Cy_AXIDMAC_Channel_ClearInterrupt | ( | AXI_DMAC_Type * | base, |
| uint32_t | channel, | ||
| uint32_t | interrupt | ||
| ) |
Clears the interrupt status of the specified channel.
| base | The pointer to the hardware AXIDMAC block. |
| channel | The channel number. |
| interrupt | The interrupt mask, see Interrupt Masks. |
| __STATIC_INLINE void Cy_AXIDMAC_Channel_SetInterrupt | ( | AXI_DMAC_Type * | base, |
| uint32_t | channel, | ||
| uint32_t | interrupt | ||
| ) |
Sets the interrupt for the specified channel.
| base | The pointer to the hardware AXIDMAC block. |
| channel | The channel number. |
| interrupt | The interrupt mask. See Interrupt Masks. |
| __STATIC_INLINE uint32_t Cy_AXIDMAC_Channel_GetInterruptMask | ( | AXI_DMAC_Type const * | base, |
| uint32_t | channel | ||
| ) |
Returns the interrupt mask value of the specified channel.
| base | The pointer to the hardware AXIDMAC block. |
| channel | The channel number. |
| __STATIC_INLINE void Cy_AXIDMAC_Channel_SetInterruptMask | ( | AXI_DMAC_Type * | base, |
| uint32_t | channel, | ||
| uint32_t | interrupt | ||
| ) |
Sets an interrupt mask value for the specified channel.
| base | The pointer to the hardware AXIDMAC block. |
| channel | The channel number. |
| interrupt | The interrupt mask, see Interrupt Masks. |
| __STATIC_INLINE uint32_t Cy_AXIDMAC_Channel_GetInterruptStatusMasked | ( | AXI_DMAC_Type const * | base, |
| uint32_t | channel | ||
| ) |
Returns the logical AND of the corresponding INTR and INTR_MASK fields in a single-load operation.
| base | The pointer to the hardware AXIDMAC block. |
| channel | The channel number. |
| __STATIC_INLINE void Cy_AXIDMAC_Channel_SetSwTrigger | ( | AXI_DMAC_Type * | base, |
| uint32_t | channel | ||
| ) |
The function is used to set a SW trigger for a channel.
| base | The pointer to the hardware AXIDMAC block. |
| channel | The channel number. |