Mcbsp_ChanParams_t Struct Reference

McBSP channel setup params. More...

#include <mcbsp_drv.h>

Data Fields

uint32_t wordWidth
void * userLoopJobBuffer
uint16_t userLoopJobLength
Mcbsp_GblErrCallback gblCbk
void * edmaHandle
uint32_t edmaEventQue
uint32_t hwiNumber
Mcbsp_BufferFormat dataFormat
Bool enableHwFifo
Mcbsp_DataConfigchanConfig
Mcbsp_ClkSetupclkSetup
Mcbsp_McrSetupmultiChanCtrl
uint32_t chanEnableMask [4]

Detailed Description

McBSP channel setup params.

This structure holds configuration to be used for creating a channel of the Mcbsp. These parameters need to be specified during the creation of the channel.


Field Documentation

settings to configure the TX or RX hardware sections

Mask of the channels to be enabled or disabled

clock setup for the RX or the TX section

Format of the application supplied buffer

EDMA event queue to be used by the channel

Handle to the EDMA Driver

Option to enable/disable the Hardware FIFO

callback required when global error occurs - must be callable * directly from the ISR context

Variable to specify the Hwi number to be used by the driver

multiple channel control settings

Buffer to be transferred when the loop job is running.

Number of bytes of the userloopjob buffer for each slot Please note that this is no. of bytes and this should be pre-calcuated properly for word width of slot - Please refer the wordWidth of this structure

This parameter informs the driver what is the width word (not * slot) and this help driver indirectly to decided no. of bytes to * be transfered for each slot- This is very * important parameter - in case of invalid value default value * driver will assume is 32


The documentation for this struct was generated from the following file:

Copyright 2012, Texas Instruments Incorporated