Functions | |
| __STATIC_INLINE void | Cy_DMAC_Enable (DMAC_Type *base) |
| Enables the DMAC block. More... | |
| __STATIC_INLINE void | Cy_DMAC_Disable (DMAC_Type *base) |
| Disables the DMAC block. More... | |
| __STATIC_INLINE uint32_t | Cy_DMAC_GetActiveChannel (DMAC_Type const *base) |
| Returns the status of the active/pending channels of the DMAC block. More... | |
| __STATIC_INLINE void * | Cy_DMAC_GetActiveSrcAddress (DMAC_Type const *base) |
| Returns the source address of the active descriptor. More... | |
| __STATIC_INLINE void * | Cy_DMAC_GetActiveDstAddress (DMAC_Type const *base) |
| Returns the destination address of the active descriptor. More... | |
| __STATIC_INLINE uint32_t | Cy_DMAC_GetCurrentIndex (DMAC_Type const *base) |
| Returns the current transfer index. More... | |
| __STATIC_INLINE uint32_t | Cy_DMAC_GetInterruptStatus (DMAC_Type const *base) |
| Returns the interrupt(s) status. More... | |
| __STATIC_INLINE uint32_t | Cy_DMAC_GetInterruptStatusMasked (DMAC_Type const *base) |
| Returns the logical AND of the corresponding INTR and INTR_MASK registers in a single-load operation. More... | |
| __STATIC_INLINE uint32_t | Cy_DMAC_GetInterruptMask (DMAC_Type const *base) |
| Returns the interrupt mask value. More... | |
| __STATIC_INLINE void | Cy_DMAC_SetInterruptMask (DMAC_Type *base, uint32_t interrupt) |
| Sets an interrupt mask value for the specified channel. More... | |
| __STATIC_INLINE void | Cy_DMAC_SetInterrupt (DMAC_Type *base, uint32_t interrupt) |
| Sets the specified interrupt(s). More... | |
| __STATIC_INLINE void | Cy_DMAC_ClearInterrupt (DMAC_Type *base, uint32_t interrupt) |
| Clears the specified interrupt(s). More... | |
| __STATIC_INLINE void Cy_DMAC_Enable | ( | DMAC_Type * | base | ) |
Enables the DMAC block.
| base | The pointer to the hardware DMAC block. |
| __STATIC_INLINE void Cy_DMAC_Disable | ( | DMAC_Type * | base | ) |
Disables the DMAC block.
| base | The pointer to the hardware DMAC block. |
| __STATIC_INLINE uint32_t Cy_DMAC_GetActiveChannel | ( | DMAC_Type const * | base | ) |
Returns the status of the active/pending channels of the DMAC block.
| base | The pointer to the hardware DMAC block. |
| __STATIC_INLINE void * Cy_DMAC_GetActiveSrcAddress | ( | DMAC_Type const * | base | ) |
Returns the source address of the active descriptor.
| base | The pointer to the hardware DMAC block. |
| __STATIC_INLINE void * Cy_DMAC_GetActiveDstAddress | ( | DMAC_Type const * | base | ) |
Returns the destination address of the active descriptor.
| base | The pointer to the hardware DMAC block. |
| __STATIC_INLINE uint32_t Cy_DMAC_GetCurrentIndex | ( | DMAC_Type const * | base | ) |
Returns the current transfer index.
| base | The pointer to the hardware DMAC block. |
| __STATIC_INLINE uint32_t Cy_DMAC_GetInterruptStatus | ( | DMAC_Type const * | base | ) |
Returns the interrupt(s) status.
| base | The pointer to the hardware DMAC block. |
| __STATIC_INLINE uint32_t Cy_DMAC_GetInterruptStatusMasked | ( | DMAC_Type const * | base | ) |
Returns the logical AND of the corresponding INTR and INTR_MASK registers in a single-load operation.
| base | The pointer to the hardware DMAC block. |
| __STATIC_INLINE uint32_t Cy_DMAC_GetInterruptMask | ( | DMAC_Type const * | base | ) |
Returns the interrupt mask value.
| base | The pointer to the hardware DMAC block. |
| __STATIC_INLINE void Cy_DMAC_SetInterruptMask | ( | DMAC_Type * | base, |
| uint32_t | interrupt | ||
| ) |
Sets an interrupt mask value for the specified channel.
| base | The pointer to the hardware DMAC block. |
| interrupt | The interrupt mask, see Interrupt Masks. |
| __STATIC_INLINE void Cy_DMAC_SetInterrupt | ( | DMAC_Type * | base, |
| uint32_t | interrupt | ||
| ) |
Sets the specified interrupt(s).
| base | The pointer to the hardware DMAC block. |
| interrupt | The interrupt mask. See Interrupt Masks. |
| __STATIC_INLINE void Cy_DMAC_ClearInterrupt | ( | DMAC_Type * | base, |
| uint32_t | interrupt | ||
| ) |
Clears the specified interrupt(s).
| base | The pointer to the hardware DMAC block. |
| interrupt | The interrupt mask, see Interrupt Masks. |