39 #ifndef ti_drivers_i2s_I2SCC32XX__include 40 #define ti_drivers_i2s_I2SCC32XX__include 44 #include <ti/drivers/dpl/SemaphoreP.h> 45 #include <ti/drivers/dpl/HwiP.h> 70 #define I2SCC32XX_PIN_02_McAFSX 0x0d01 71 #define I2SCC32XX_PIN_03_McACLK 0x0302 72 #define I2SCC32XX_PIN_15_McAFSX 0x070e 73 #define I2SCC32XX_PIN_17_McAFSX 0x0610 74 #define I2SCC32XX_PIN_21_McAFSX 0x0214 75 #define I2SCC32XX_PIN_45_McAXR0 0x062c 76 #define I2SCC32XX_PIN_45_McAFSX 0x0c2c 77 #define I2SCC32XX_PIN_50_McAXR0 0x0431 78 #define I2SCC32XX_PIN_50_McAXR1 0x0631 79 #define I2SCC32XX_PIN_52_McACLK 0x0233 80 #define I2SCC32XX_PIN_52_McAXR0 0x0433 81 #define I2SCC32XX_PIN_53_McACLK 0x0234 82 #define I2SCC32XX_PIN_53_McAFSX 0x0334 83 #define I2SCC32XX_PIN_60_McAXR1 0x063b 84 #define I2SCC32XX_PIN_62_McACLKX 0x0d3d 85 #define I2SCC32XX_PIN_63_McAFSX 0x073e 86 #define I2SCC32XX_PIN_64_McAXR0 0x073f 87 #define I2SCC32XX_PIN_UNUSED 0xffff 89 #define I2SCC32XX_PIN_50_SD1 I2SCC32XX_PIN_50_McAXR1 90 #define I2SCC32XX_PIN_60_SD1 I2SCC32XX_PIN_60_McAXR1 91 #define I2SCC32XX_PIN_52_SD0 I2SCC32XX_PIN_52_McAXR0 92 #define I2SCC32XX_PIN_64_SD0 I2SCC32XX_PIN_64_McAXR0 93 #define I2SCC32XX_PIN_45_SD0 I2SCC32XX_PIN_45_McAXR0 94 #define I2SCC32XX_PIN_50_SD0 I2SCC32XX_PIN_50_McAXR0 95 #define I2SCC32XX_PIN_03_SCK I2SCC32XX_PIN_03_McACLK 96 #define I2SCC32XX_PIN_52_SCK I2SCC32XX_PIN_52_McACLK 97 #define I2SCC32XX_PIN_53_SCK I2SCC32XX_PIN_53_McACLK 98 #define I2SCC32XX_PIN_62_SCKX I2SCC32XX_PIN_62_McACLKX 99 #define I2SCC32XX_PIN_02_WS I2SCC32XX_PIN_02_McAFSX 100 #define I2SCC32XX_PIN_15_WS I2SCC32XX_PIN_15_McAFSX 101 #define I2SCC32XX_PIN_17_WS I2SCC32XX_PIN_17_McAFSX 102 #define I2SCC32XX_PIN_21_WS I2SCC32XX_PIN_21_McAFSX 103 #define I2SCC32XX_PIN_45_WS I2SCC32XX_PIN_45_McAFSX 104 #define I2SCC32XX_PIN_63_WS I2SCC32XX_PIN_63_McAFSX 105 #define I2SCC32XX_PIN_53_WS I2SCC32XX_PIN_53_McAFSX 170 uint8_t numberOfChannelsUsed;
172 }I2SCC32XX_DataInterface;
188 }I2SCC32XX_Interface;
217 volatile bool isLastReadTransfer;
220 volatile bool isLastWriteTransfer;
227 uint8_t memorySlotLength;
232 uint8_t sampleRotation;
235 uint8_t udmaArbLength;
243 uint32_t samplingFrequency;
245 uint32_t activatedFlag;
246 I2SCC32XX_DataInterface dataInterfaceSD0;
247 I2SCC32XX_DataInterface dataInterfaceSD1;
248 I2SCC32XX_Interface read;
249 I2SCC32XX_Interface write;
uint32_t pinSCKX
Definition: I2SCC32XX.h:148
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:705
uint32_t rxChannelIndex
Definition: I2SCC32XX.h:153
I2S_DataInterfaceUse
I2S data interface configuration.
Definition: I2S.h:783
uDMA driver implementation for CC32XX.
uint32_t pinSD0
Definition: I2SCC32XX.h:142
uint32_t pinWS
Definition: I2SCC32XX.h:150
I2S_Role
I2S master / slave selection.
Definition: I2S.h:747
UDMACC32XX Global configuration.
Definition: UDMACC32XX.h:125
I2S Hardware attributes.
Definition: I2SCC32XX.h:138
uint32_t pinSD1
Definition: I2SCC32XX.h:139
void(* I2SCC32XX_FifoUpdate)(uintptr_t arg)
The definition of a function used by the I2S driver to refresh the FIFO.
Definition: I2SCC32XX.h:198
Inter-Integrated Circuit Sound (I2S) Bus Driver.
I2S_ChannelConfig
Channels used selection.
Definition: I2S.h:799
Power notify object structure.
Definition: Power.h:443
I2S_SamplingEdge
I2S sampling setting.
Definition: I2S.h:759
uint32_t txChannelIndex
Definition: I2SCC32XX.h:155
void(* I2S_StopInterface)(I2S_Handle handle)
The definition of a function used to stop an I2S interface.
Definition: I2S.h:723
uint32_t intPriority
Definition: I2SCC32XX.h:157
I2S transaction descriptor.
Definition: I2S.h:675
uint32_t pinSCK
Definition: I2SCC32XX.h:145
Linked List interface for use in drivers.