Data Fields
I2SCC26XX_HWAttrs Struct Reference

I2S Hardware attributes. More...

#include <I2SCC26XX.h>

Data Fields

PIN_Id pinSD1
 
PIN_Id pinSD0
 
PIN_Id pinSCK
 
PIN_Id pinMCLK
 
PIN_Id pinWS
 
uint8_t intPriority
 

Detailed Description

I2S Hardware attributes.

intPriority is the I2S peripheral's interrupt priority, as defined by the TI-RTOS kernel. This value is passed unmodified to Hwi_create().

pinSD1 and pinSD0 define the SD0 and SD1 data pin mapping, respectively. pinSCK, pinMCLK and pinWS define the SCK, MCLK and WS clock pin mapping, respectively. All these pins are typically defined with a macro in a header file, which maps to an IOID.

A sample structure is shown below:

const I2SCC26XX_HWAttrs i2sHWAttrs[CC26X2R1_LAUNCHXL_I2SCOUNT] = {
{
.pinSD1 = CONFIG_I2S_ADI,
.pinSD0 = CONFIG_I2S_ADO,
.pinSCK = CONFIG_I2S_BCLK,
.pinMCLK = CONFIG_I2S_MCLK,
.pinWS = CONFIG_I2S_WCLK,
.intPriority = ~0,
},
};

Field Documentation

§ pinSD1

PIN_Id I2SCC26XX_HWAttrs::pinSD1

Pin used for SD1 signal.

§ pinSD0

PIN_Id I2SCC26XX_HWAttrs::pinSD0

Pin used for SD0 signal.

§ pinSCK

PIN_Id I2SCC26XX_HWAttrs::pinSCK

Pin used for SCK signal.

§ pinMCLK

PIN_Id I2SCC26XX_HWAttrs::pinMCLK

Pin used for MCLK signal. Non used in most of the applications.

§ pinWS

PIN_Id I2SCC26XX_HWAttrs::pinWS

Pin used for WS signal.

§ intPriority

uint8_t I2SCC26XX_HWAttrs::intPriority

I2S Peripheral's interrupt priority.


The documentation for this struct was generated from the following file:
© Copyright 1995-2021, Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy policy | Terms of use | Terms of sale