Data Fields
I2SLPF3_HWAttrs Struct Reference

I2S Hardware attributes. More...

#include <I2SLPF3.h>

Data Fields

I2SLPF3_AfclkSrc afclkSrc
 
PowerLPF3_AfoscFreq afoscFreq
 
uint_least8_t sd1Pin
 
uint_least8_t sd1PinMux
 
uint_least8_t sd0Pin
 
uint_least8_t sd0PinMux
 
uint_least8_t sckPin
 
uint_least8_t sckPinMux
 
uint_least8_t cclkPin
 
uint_least8_t cclkPinMux
 
uint_least8_t wsPin
 
uint_least8_t wsPinMux
 
uint8_t intPriority
 

Detailed Description

I2S Hardware attributes.

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

A sample structure is shown below:

const I2SLPF3_HWAttrs i2sHWAttrs[CONFIG_TI_DRIVERS_I2S_COUNT] = {
{
.sd1Pin = CONFIG_I2S_ADI,
.sd0Pin = CONFIG_I2S_ADO,
.sckPin = CONFIG_I2S_BCLK,
.cclkPin = CONFIG_I2S_CCLK,
.cclkPinMux = GPIO_MUX_PORTCFG_PFUNC1,
.wsPin = CONFIG_I2S_WCLK,
.intPriority = ~0,
},
};

Field Documentation

§ afclkSrc

I2SLPF3_AfclkSrc I2SLPF3_HWAttrs::afclkSrc

Audio frequency clock (AFCLK) source.

§ afoscFreq

PowerLPF3_AfoscFreq I2SLPF3_HWAttrs::afoscFreq

The AFOSC frequency to use if afclkSrc is I2SLPF3_AFCLK_SRC_CLKAF

§ sd1Pin

uint_least8_t I2SLPF3_HWAttrs::sd1Pin

Pin used for SD1 signal.

§ sd1PinMux

uint_least8_t I2SLPF3_HWAttrs::sd1PinMux

Mux value used to mux the SD1 signal to sd1Pin.

§ sd0Pin

uint_least8_t I2SLPF3_HWAttrs::sd0Pin

Pin used for SD0 signal.

§ sd0PinMux

uint_least8_t I2SLPF3_HWAttrs::sd0PinMux

Mux value used to mux the SD0 signal to sd0Pin.

§ sckPin

uint_least8_t I2SLPF3_HWAttrs::sckPin

Pin used for SCLK signal.

§ sckPinMux

uint_least8_t I2SLPF3_HWAttrs::sckPinMux

Mux value used to mux the SCLK signal to sckPin.

§ cclkPin

uint_least8_t I2SLPF3_HWAttrs::cclkPin

Pin used for CCLK signal. Not used in most of the applications.

§ cclkPinMux

uint_least8_t I2SLPF3_HWAttrs::cclkPinMux

Mux value used to mux the CCLK signal to cclkPin.

§ wsPin

uint_least8_t I2SLPF3_HWAttrs::wsPin

Pin used for WS signal.

§ wsPinMux

uint_least8_t I2SLPF3_HWAttrs::wsPinMux

Mux value used to mux the WS signal to wsPin.

§ intPriority

uint8_t I2SLPF3_HWAttrs::intPriority

I2S Peripheral's interrupt priority.


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