569 #ifndef ti_drivers_I2S__include 570 #define ti_drivers_I2S__include 579 #ifdef ENABLE_LEGACY_TERMINOLOGY 600 #define I2S_ALL_TRANSACTIONS_SUCCESS (0x0001U) 608 #define I2S_TRANSACTION_SUCCESS (0x0002U) 616 #define I2S_TIMEOUT_ERROR (0x0100U) 625 #define I2S_BUS_ERROR (0x0200U) 633 #define I2S_WS_ERROR (0x0400U) 642 #define I2S_PTR_READ_ERROR (0x0800U) 651 #define I2S_PTR_WRITE_ERROR (0x1000U) 1007 extern void I2S_close(I2S_Handle handle);
ADC_Params params
Definition: Driver_Init.h:11
I2S_Handle I2S_open(uint_least8_t index, I2S_Params *params)
Function to initialize a given I2S peripheral specified by the particular index value. The parameter specifies which mode the I2S will operate.
I2S_MemoryLength
I2S slot memory length setting.
Definition: I2S.h:739
void * object
Definition: I2S.h:667
size_t bytesTransferred
Definition: I2S.h:690
const I2S_Params I2S_defaultParams
Default I2S_Params structure.
bool isMSBFirst
Definition: I2S.h:854
uint8_t beforeWordPadding
Definition: I2S.h:872
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:712
void(* I2S_RegUpdate)(uint32_t ui32Base, uint32_t ui32NextPointer)
The definition of a function used to set the I2S register.
Definition: I2S.h:722
size_t untransferredBytes
Definition: I2S.h:692
void I2S_setWriteQueueHead(I2S_Handle handle, I2S_Transaction *transaction)
Function to set the first write-transaction to consider.
I2S_DataInterfaceUse SD1Use
Definition: I2S.h:898
uint32_t samplingFrequency
Definition: I2S.h:971
I2S Global configuration.
Definition: I2S.h:664
I2S_DataInterfaceUse
I2S data interface configuration.
Definition: I2S.h:794
I2S_PhaseType
I2S phase setting.
Definition: I2S.h:781
I2S_Role
I2S controller / target selection.
Definition: I2S.h:755
uint16_t fixedBufferLength
Definition: I2S.h:959
void I2S_init(void)
Function to initializes the I2S module.
void I2S_startClocks(I2S_Handle handle)
Start the WS, SCK and CCLK clocks.
uint16_t numberOfCompletions
Definition: I2S.h:694
bool isDMAUnused
Definition: I2S.h:859
I2S_MemoryLength memorySlotLength
Definition: I2S.h:865
I2S_SamplingEdge samplingEdge
Definition: I2S.h:887
List_Elem queueElement
Definition: I2S.h:684
void I2S_startWrite(I2S_Handle handle)
Start write transactions.
I2S_Config * I2S_Handle
A handle that is returned from a I2S_open() call.
Definition: I2S.h:676
void I2S_Transaction_init(I2S_Transaction *transaction)
Initialize an I2S_Transaction struct to known state.
I2S_ChannelConfig
Channels used selection.
Definition: I2S.h:811
void I2S_setReadQueueHead(I2S_Handle handle, I2S_Transaction *transaction)
Function to set the first read-transaction to consider.
I2S_SamplingEdge
I2S sampling setting.
Definition: I2S.h:768
bool invertWS
Definition: I2S.h:849
I2S_PhaseType phaseType
Definition: I2S.h:952
uint16_t startUpDelay
Definition: I2S.h:964
I2S_DataInterfaceUse SD0Use
Definition: I2S.h:892
void I2S_stopClocks(I2S_Handle handle)
Stops the WS, SCK and CCLK clocks.
void(* I2S_StopInterface)(I2S_Handle handle)
The definition of a function used to stop an I2S interface.
Definition: I2S.h:730
bool trueI2sFormat
Definition: I2S.h:841
I2S_Callback errorCallback
Definition: I2S.h:983
I2S_Role moduleRole
Definition: I2S.h:882
void I2S_stopWrite(I2S_Handle handle)
Stop write transactions.
I2S_ChannelConfig SD1Channels
Definition: I2S.h:928
void I2S_stopRead(I2S_Handle handle)
Stop read transactions.
uintptr_t arg
Definition: I2S.h:696
size_t bufSize
Definition: I2S.h:688
void * custom
Definition: I2S.h:986
void I2S_Params_init(I2S_Params *params)
Function to initialize the I2S_Params struct to its defaults.
void I2S_startRead(I2S_Handle handle)
Start read transactions.
I2S_Callback writeCallback
Definition: I2S.h:980
uint8_t bitsPerWord
Definition: I2S.h:879
I2S_Callback readCallback
Definition: I2S.h:977
I2S transaction descriptor.
Definition: I2S.h:681
void const * hwAttrs
Definition: I2S.h:670
void I2S_close(I2S_Handle handle)
Function to close a given I2S peripheral specified by the I2S handle.
uint8_t afterWordPadding
Definition: I2S.h:876
I2S_ChannelConfig SD0Channels
Definition: I2S.h:904
uint16_t CCLKDivider
Definition: I2S.h:967
Linked List interface for use in drivers.
Provide a translation layer for legacy terminology.
Basic I2S Parameters.
Definition: I2S.h:838
void * bufPtr
Definition: I2S.h:686