Used to Initialize the EDMA3 Driver Instance. More...
#include <edma3_drv.h>
Data Fields | |
EDMA3_RM_RegionId | regionId |
uint32_t | isMaster |
EDMA3_DRV_InstanceInitConfig * | drvInstInitConfig |
void * | drvSemHandle |
EDMA3_RM_GblErrCallback | gblerrCb |
void * | gblerrData |
Used to Initialize the EDMA3 Driver Instance.
This configuration structure is used to initialize the EDMA3 DRV Instance. This configuration information is passed while opening the DRV instance.
EDMA3_RM_RegionId EDMA3_DRV_InitConfig::regionId |
Region Identification
uint32_t EDMA3_DRV_InitConfig::isMaster |
It tells whether the EDMA3 DRV instance is Master or not. Only the shadow region associated with this master instance will receive the EDMA3 interrupts (if enabled).
EDMA3 resources related shadow region specific information. Which all EDMA3 resources are owned and reserved by this particular instance are told in this configuration structure. User can also pass this structure as NULL. In that case, default static configuration would be taken from the platform specific configuration files (part of the Resource Manager), if available.
EDMA3 Driver Instance specific semaphore handle. Used to share resources (DMA/QDMA channels, PaRAM Sets, TCCs etc) among different users.
EDMA3_RM_GblErrCallback EDMA3_DRV_InitConfig::gblerrCb |
Instance wide global callback function to catch non-channel specific errors from the Channel controller. for eg, TCC error, queue threshold exceed error etc.
Application data to be passed back to the global error callback function