39 #ifndef ti_drivers_i2s_I2SCC26XX__include 40 #define ti_drivers_i2s_I2SCC26XX__include 43 #include <ti/drivers/dpl/SemaphoreP.h> 44 #include <ti/drivers/dpl/HwiP.h> 94 typedef struct I2SCC26XX_DataInterface_ {
95 uint8_t numberOfChannelsUsed;
98 }I2SCC26XX_DataInterface;
108 typedef struct I2SCC26XX_Interface_ {
114 }I2SCC26XX_Interface;
133 typedef struct I2SCC26XX_Object_ {
139 uint8_t memorySlotLength;
143 uint8_t beforeWordPadding;
144 uint8_t afterWordPadding;
145 uint8_t dmaBuffSizeConfig;
155 uint16_t MCLKDivider;
158 uint16_t startUpDelay;
159 I2SCC26XX_DataInterface dataInterfaceSD0;
160 I2SCC26XX_DataInterface dataInterfaceSD1;
169 I2SCC26XX_Interface read;
170 I2SCC26XX_Interface write;
178 volatile bool i2sPowerConstraint;
uint8_t PIN_Id
Pin identifier data type.
Definition: PIN.h:577
PIN_Id pinSD0
Definition: I2SCC26XX.h:79
enum I2S_ChannelConfig_ I2S_ChannelConfig
Channels used selection.
enum I2S_Role_ I2S_Role
I2S master / slave selection.
enum I2S_SamplingEdge_ I2S_SamplingEdge
I2S sampling setting.
struct I2SCC26XX_HWAttrs_ I2SCC26XX_HWAttrs
I2S Hardware attributes.
void(* I2S_Callback)(I2S_Handle handle, int_fast16_t status, I2S_Transaction *transactionPtr)
The definition of a user-callback function used by the I2S driver.
Definition: I2S.h:686
enum I2S_DataInterfaceUse_ I2S_DataInterfaceUse
I2S data interface configuration.
void(* I2S_RegUpdate)(uint32_t ui32Base, uint32_t ui32NextPointer)
The definition of a function used to set the I2S register.
Definition: I2S.h:696
PIN_Id pinMCLK
Definition: I2SCC26XX.h:81
PIN_Id pinSD1
Definition: I2SCC26XX.h:78
Device-specific pin & GPIO driver for CC26xx family [def].
PIN_Id pinWS
Definition: I2SCC26XX.h:82
uint8_t intPriority
Definition: I2SCC26XX.h:83
Inter-Integrated Circuit Sound (I2S) Bus Driver.
enum I2S_PhaseType_ I2S_PhaseType
I2S phase setting.
Power notify object structure.
Definition: Power.h:443
I2S transaction descriptor.
Definition: I2S.h:656
I2S Hardware attributes.
Definition: I2SCC26XX.h:77
underlying data structure for type PIN_State
Definition: PIN.h:707
I2S Global configuration.
Definition: I2S.h:952
void(* I2SCC26XX_PtrUpdate)(I2S_Handle handle, I2SCC26XX_Interface *interface)
The definition of a function used by the I2S driver to refresh the pointer.
Definition: I2SCC26XX.h:126
PIN_Id pinSCK
Definition: I2SCC26XX.h:80
Generic PIN & GPIO driver.