Jump to main content

##

# 2.31.30 DMA_CHANNEL_OBJECT Struct

## C

    typedef struct
    {
        bool inUse;

        /* Call back function for this DMA channel */
        DMA_CHANNEL_CALLBACK  callback;

        /* data or Event Context that will be returned at callback */
        uintptr_t context;

    } DMA_CHANNEL_OBJECT;

## Summary

Fundamental data object for a DMA channel.

## Description

Used by DMA logic to register/use a DMA callback, report back error information from the ISR handling a transfer event.

## Remarks

None.