# Mcbsp_DataConfig_t Struct Reference

Mcbsp TX/RX section configuration structure. More...

`#include <mcbsp_drv.h>`

## Data Fields

Mcbsp_Phase | phaseNum
Mcbsp_WordLength | wrdLen1
Mcbsp_WordLength | wrdLen2
uint32_t | frmLen1
uint32_t | frmLen2
Mcbsp_FrmSync | frmSyncIgn
Mcbsp_DataDelay | dataDelay
Mcbsp_Compand | compandSel
Mcbsp_BitReversal | bitReversal
Mcbsp_IntMode | intMode
Mcbsp_Rxjust | rjust
Mcbsp_DxEna | dxState

## Detailed Description

Mcbsp TX/RX section configuration structure.

This strcuture specifies the configuration for the McBSP data stream including the whether it is single phase or dual phase, number of frames,the word length in each phase and data delay etc.

## Field Documentation

Mcbsp_BitReversal Mcbsp_DataConfig_t::bitReversal

Transmit 32-bit bit reversal feature enable bit.

Mcbsp_Compand Mcbsp_DataConfig_t::compandSel

companding selection

Mcbsp_DataDelay Mcbsp_DataConfig_t::dataDelay

Data delay to be configured in number of Bits

Mcbsp_DxEna Mcbsp_DataConfig_t::dxState

High impedance enable/disbale bit for the DX pin (TX only setting)

uint32_t Mcbsp_DataConfig_t::frmLen1

Length of the data frame in first phase

uint32_t Mcbsp_DataConfig_t::frmLen2

Length of the data frame in second phase

Mcbsp_FrmSync Mcbsp_DataConfig_t::frmSyncIgn

Frame sync ignore bit

Mcbsp_IntMode Mcbsp_DataConfig_t::intMode

Event for which the interrupt is to be generated

Mcbsp_Phase Mcbsp_DataConfig_t::phaseNum

Phase of the McBSP data stream

Mcbsp_Rxjust Mcbsp_DataConfig_t::rjust

Receive sign extension and justification settings (RX only setting)

Mcbsp_WordLength Mcbsp_DataConfig_t::wrdLen1

Length of the data word in first phase

Mcbsp_WordLength Mcbsp_DataConfig_t::wrdLen2

Length of the data word in second when dual phase is selected

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

- mcbsp_drv.h

Copyright 2012, Texas Instruments Incorporated