# Mcbsp_Object_Unpadded Struct Reference

Mcbsp instance Object. More...

`#include <mcbsp_pvt.h>`

## Data Fields

Bool | inUse
int32_t | instNum
Mcbsp_DriverState | devState
Mcbsp_DevMode | mode
Mcbsp_OpMode | opMode
Bool | enablecache
Mcbsp_HwInfo_Unpadded | hwInfo
Bool | stopSmFsXmt
Bool | stopSmFsRcv
Mcbsp_ChannelObj | xmtObj
Mcbsp_ChannelObj | rcvObj
Mcbsp_srgConfig | srgrConfig
Bool | txSrgEnable
Bool | rxSrgEnable
Bool | srgConfigured
volatile Bool | srgEnabled
Bool | txFsgEnable
Bool | rxFsgEnable
Bool | fsgConfigured
volatile Bool | fsgEnabled
uint32_t | retryCount
Bool | loopJobMode

## Detailed Description

Mcbsp instance Object.

Note:
  This data structure holds the information pertaining to an instance of the Mcbsp device.it holds information like the current device state, handle to the McBSP channels. The data structure is initialized during "mdBindDev", which is called during DSP-BIOS initialization, and is persistent till it is invalidated by "mdUnBindDev".

## Field Documentation

Mcbsp_DriverState Mcbsp_Object_Unpadded::devState

operational state of the driver (created/deleted)

Bool Mcbsp_Object_Unpadded::enablecache

Buffer operations to be performed by the driver or not

Bool Mcbsp_Object_Unpadded::fsgConfigured

Flag to indicate if the Framesync generator is configured or not

volatile Bool Mcbsp_Object_Unpadded::fsgEnabled

Flag to indicate if the frame sync generator is enabled and running

Mcbsp_HwInfo_Unpadded Mcbsp_Object_Unpadded::hwInfo

McBSP handle for initial port configuration

int32_t Mcbsp_Object_Unpadded::instNum

Instance number of the current instance

Bool Mcbsp_Object_Unpadded::inUse

Variable to indicate if the instance is in use or not

Bool Mcbsp_Object_Unpadded::loopJobMode

Variable to check if the loop job mode is enabled or not

Mcbsp_DevMode Mcbsp_Object_Unpadded::mode

Operating mode of the Mcbsp driver(Mcbsp)

Mcbsp_OpMode Mcbsp_Object_Unpadded::opMode

Operational mode of the driver(INT/DMA/POLLING)

Mcbsp_ChannelObj Mcbsp_Object_Unpadded::rcvObj

Receive channel object

uint32_t Mcbsp_Object_Unpadded::retryCount

The retry count value to be used when waiting for the TX empty to be * set

Bool Mcbsp_Object_Unpadded::rxFsgEnable

Flag to indicate if the RX section needs the frame sync generator to * be enabled

Bool Mcbsp_Object_Unpadded::rxSrgEnable

Flag to indicate if the RX section needs the sample rate generator to* be enabled

Bool Mcbsp_Object_Unpadded::srgConfigured

Flag to indicate if the SRGR settings are configured or not

volatile Bool Mcbsp_Object_Unpadded::srgEnabled

Flag to indicate if the sample rate generator is enabled and running

Mcbsp_srgConfig Mcbsp_Object_Unpadded::srgrConfig

configuration settings for the Sample rate generator

Bool Mcbsp_Object_Unpadded::stopSmFsRcv

RX state machine status(Stopped/Running)

Bool Mcbsp_Object_Unpadded::stopSmFsXmt

TX state machine status(Stopped/Running)

Bool Mcbsp_Object_Unpadded::txFsgEnable

Flag to indicate if the TX section needs the frame sync generator to * be enabled

Bool Mcbsp_Object_Unpadded::txSrgEnable

Flag to indicate if the TX section needs the sample rate generator to* be enabled

Mcbsp_ChannelObj Mcbsp_Object_Unpadded::xmtObj

Transmit channel object

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

- mcbsp_pvt.h

Copyright 2012, Texas Instruments Incorporated