HPM SDK
HPMicro Software Development Kit
DMAMUX driver APIs

DMAMUX driver APIs. More...

Functions

static void dmamux_enable_channel (DMAMUX_Type *ptr, uint8_t ch_index)
 Enable dmamux channel. More...
 
static void dmamux_disable_channel (DMAMUX_Type *ptr, uint8_t ch_index)
 Disable dmamux channel. More...
 
static void dmamux_config (DMAMUX_Type *ptr, uint8_t ch_index, uint8_t src, bool enable)
 Config DMAMUX. More...
 

Detailed Description

DMAMUX driver APIs.

Function Documentation

◆ dmamux_config()

static void dmamux_config ( DMAMUX_Type ptr,
uint8_t  ch_index,
uint8_t  src,
bool  enable 
)
inlinestatic

#include <drivers/inc/hpm_dmamux_drv.h>

Config DMAMUX.

Parameters
[in]ptrDMAMUX base address
[in]ch_indexchannel to be configured
[in]srcDMAMUX source
[in]enableSet true to enable the channel

◆ dmamux_disable_channel()

static void dmamux_disable_channel ( DMAMUX_Type ptr,
uint8_t  ch_index 
)
inlinestatic

#include <drivers/inc/hpm_dmamux_drv.h>

Disable dmamux channel.

Parameters
ptrDMAMUX base address
ch_indexchannel to be disabled

◆ dmamux_enable_channel()

static void dmamux_enable_channel ( DMAMUX_Type ptr,
uint8_t  ch_index 
)
inlinestatic

#include <drivers/inc/hpm_dmamux_drv.h>

Enable dmamux channel.

Parameters
ptrDMAMUX base address
ch_indexchannel to be enabled