MSPM0G1X0X_G3X0X TI-Driver Library  2.01.00.03
Data Fields
DMAMSPM0_HWAttrs Struct Reference

DMAMSPM0 Hardware attributes. More...

#include <DMAMSPM0.h>

Data Fields

DMAMSPM0_IsrFxn dmaIsrFxn
 
uint8_t intPriority
 
bool roundRobinPriority
 

Detailed Description

DMAMSPM0 Hardware attributes.

This structure contains the error interrupt attributes.

dmaIsrFxn is the DMA peripheral's interrupt handler.

intPriority is priority of the DMA peripheral's error interrupt, as defined by the underlying OS. It is passed unmodified to the underlying OS's interrupt handler creation code, so you need to refer to the OS documentation(FreeRTOS) for usage. If the driver uses the ti.dpl interface instead of making OS calls directly, then the HwiP port handles the interrupt priority in an OS specific way.

A sample structure is shown below:

#include <ti/driverlib/dl_dma.h>
DMAMSPM0_Object dmaMSPM0Object;
const DMAMSPM0_HWAttrs DMAMSPM0HWAttrs =
{
.dmaIsrFxn = NULL,
.intPriority = DEFAULT_DMA_PRIORITY,
.roundRobinPriority = false,
};

Field Documentation

§ dmaIsrFxn

DMAMSPM0_IsrFxn DMAMSPM0_HWAttrs::dmaIsrFxn

interrupt handler

§ intPriority

uint8_t DMAMSPM0_HWAttrs::intPriority

interrupt priority

§ roundRobinPriority

bool DMAMSPM0_HWAttrs::roundRobinPriority

Round robin priority for DMA channels


The documentation for this struct was generated from the following file:
© Copyright 1995-2024, Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy policy | Terms of use | Terms of sale