Data Structures | Typedefs
I2SCC26XX.h File Reference

Detailed Description

I2S driver implementation for a CC26XX I2S controller.

============================================================================


#include <ti/drivers/I2S.h>
#include <ti/drivers/dpl/SemaphoreP.h>
#include <ti/drivers/dpl/HwiP.h>
#include <ti/drivers/PIN.h>
#include <ti/drivers/pin/PINCC26XX.h>
#include <ti/drivers/Power.h>
Include dependency graph for I2SCC26XX.h:

Go to the source code of this file.

Data Structures

struct  I2SCC26XX_HWAttrs_
 I2S Hardware attributes. More...
 

Typedefs

typedef struct I2SCC26XX_HWAttrs_ I2SCC26XX_HWAttrs
 I2S Hardware attributes. More...
 
typedef void(* I2SCC26XX_PtrUpdate) (I2S_Handle handle, I2SCC26XX_Interface *interface)
 The definition of a function used by the I2S driver to refresh the pointer. More...
 

Typedef Documentation

§ I2SCC26XX_HWAttrs

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 = Board_I2S_ADI,
.pinSD0 = Board_I2S_ADO,
.pinSCK = Board_I2S_BCLK,
.pinMCLK = Board_I2S_MCLK,
.pinWS = Board_I2S_WCLK,
.intPriority = ~0,
},
};

§ I2SCC26XX_PtrUpdate

typedef void(* I2SCC26XX_PtrUpdate) (I2S_Handle handle, I2SCC26XX_Interface *interface)

The definition of a function used by the I2S driver to refresh the pointer.

Parameters
I2S_HandleI2S_Handle
I2SCC26XX_Interface*interface Pointer on the interface to update
© Copyright 1995-2021, Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy policy | Terms of use | Terms of sale