MCUXpresso SDK API Reference Manual  Rev. 0
NXP Semiconductors
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
DMAMUX: DMA Channel Multiplexer Driver

Read Guidance

This document consists of sections titled with Driver Overview, Data Structures, Enumerations, Functions, etc., each with an overview list and detailed documentation. It is recommended to read the Driver Overview first for it includes a comprehensive description of the peripheral, driver and driver changes. Other sections give detailed information for APIs, enums, macros, etc., for your further reference.

Driver Overview

 DMAMUX Peripheral and Driver Overview
 Content including 1) peripheral features, work logic and work method; 2) driver design logic and use method; 3) typical use case.
 
 The Driver Change Log
 The current dmamux driver version is 2.0.0.
 

Enumerations

enum  dmamux_dma_channel_t {
  kDMAMUX_DMAChannel0 = 0U,
  kDMAMUX_DMAChannel1,
  kDMAMUX_DMAChannel2,
  kDMAMUX_DMAChannel3
}
 List of Dmamux dma channels. More...
 

DMAMUX Channel functional group

static void DMAMUX_ConnectChannelToTriggerSource (DMAMUX_Type *base, dmamux_dma_channel_t eChannel, dma_request_source_t eSource)
 Connect the DMAMUX channel to trigger source. More...
 
static void DMAMUX_DisconnectChannelFromTriggerSource (DMAMUX_Type *base, dmamux_dma_channel_t eChannel)
 Disconnect the DMAMUX channel. More...
 

Enumeration Type Documentation

Enumerator
kDMAMUX_DMAChannel0 

Dmamux dma channel 0.

kDMAMUX_DMAChannel1 

Dmamux dma channel 1.

kDMAMUX_DMAChannel2 

Dmamux dma channel 2.

kDMAMUX_DMAChannel3 

Dmamux dma channel 3.

Function Documentation

static void DMAMUX_ConnectChannelToTriggerSource ( DMAMUX_Type *  base,
dmamux_dma_channel_t  eChannel,
dma_request_source_t  eSource 
)
inlinestatic

This function will connnect a source to the specify dma channel and enable that channel

Parameters
baseDMAMUX peripheral base address.
eChannelDMAMUX channel index, dmamux_dma_channel_t.
eSourceDMA request source, dma_request_source_t, it is defined in SOC header file.
static void DMAMUX_DisconnectChannelFromTriggerSource ( DMAMUX_Type *  base,
dmamux_dma_channel_t  eChannel 
)
inlinestatic

This function will disable the specified channel and reset the channel source.

Parameters
baseDMAMUX peripheral base address.