mxc_dma_channel Struct Reference


Data Fields

unsigned int active:1
unsigned int lock
int curr_buf
mxc_dma_mode_t mode
unsigned int channel
unsigned int dynamic:1
char * dev_name
void * private
mxc_dma_callback_t cb_fn
void * cb_args

Detailed Description

This defines the DMA channel parameters

Field Documentation

unsigned int active

When there has a active tranfer, it is set to 1

void* cb_args

The argument of callback function

mxc_dma_callback_t cb_fn

The callback function

unsigned int channel

Channel info

int curr_buf

Current buffer

char* dev_name

Device name

unsigned int dynamic

Channel not statically allocated when 1

unsigned int lock

Defines the channel is allocated or not

mxc_dma_mode_t mode

Read or Write

void* private

Private structure for platform

footer
©  Freescale Semiconductor, Inc., 2007.  All rights reserved.
Freescale Confidential Proprietary
NDA Required
doxygen