569 #ifndef ti_drivers_I2S__include 570 #define ti_drivers_I2S__include 595 #define I2S_ALL_TRANSACTIONS_SUCCESS (0x0001U) 603 #define I2S_TRANSACTION_SUCCESS (0x0002U) 611 #define I2S_TIMEOUT_ERROR (0x0100U) 620 #define I2S_BUS_ERROR (0x0200U) 628 #define I2S_WS_ERROR (0x0400U) 637 #define I2S_PTR_READ_ERROR (0x0800U) 646 #define I2S_PTR_WRITE_ERROR (0x1000U) 1002 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:734
void * object
Definition: I2S.h:662
size_t bytesTransferred
Definition: I2S.h:685
const I2S_Params I2S_defaultParams
Default I2S_Params structure.
bool isMSBFirst
Definition: I2S.h:849
uint8_t beforeWordPadding
Definition: I2S.h:867
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:707
void(* I2S_RegUpdate)(uint32_t ui32Base, uint32_t ui32NextPointer)
The definition of a function used to set the I2S register.
Definition: I2S.h:717
size_t untransferredBytes
Definition: I2S.h:687
uint16_t MCLKDivider
Definition: I2S.h:962
void I2S_setWriteQueueHead(I2S_Handle handle, I2S_Transaction *transaction)
Function to set the first write-transaction to consider.
I2S_DataInterfaceUse SD1Use
Definition: I2S.h:893
uint32_t samplingFrequency
Definition: I2S.h:966
I2S Global configuration.
Definition: I2S.h:659
I2S_DataInterfaceUse
I2S data interface configuration.
Definition: I2S.h:789
I2S_PhaseType
I2S phase setting.
Definition: I2S.h:776
I2S_Role
I2S master / slave selection.
Definition: I2S.h:750
uint16_t fixedBufferLength
Definition: I2S.h:954
void I2S_init(void)
Function to initializes the I2S module.
void I2S_startClocks(I2S_Handle handle)
Start the WS, SCK and MCLK clocks.
uint16_t numberOfCompletions
Definition: I2S.h:689
bool isDMAUnused
Definition: I2S.h:854
I2S_MemoryLength memorySlotLength
Definition: I2S.h:860
I2S_SamplingEdge samplingEdge
Definition: I2S.h:882
List_Elem queueElement
Definition: I2S.h:679
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:671
void I2S_Transaction_init(I2S_Transaction *transaction)
Initialize an I2S_Transaction struct to known state.
I2S_ChannelConfig
Channels used selection.
Definition: I2S.h:806
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:763
bool invertWS
Definition: I2S.h:844
I2S_PhaseType phaseType
Definition: I2S.h:947
uint16_t startUpDelay
Definition: I2S.h:959
I2S_DataInterfaceUse SD0Use
Definition: I2S.h:887
void I2S_stopClocks(I2S_Handle handle)
Stops the WS, SCK and MCLK clocks.
void(* I2S_StopInterface)(I2S_Handle handle)
The definition of a function used to stop an I2S interface.
Definition: I2S.h:725
bool trueI2sFormat
Definition: I2S.h:836
I2S_Callback errorCallback
Definition: I2S.h:978
I2S_Role moduleRole
Definition: I2S.h:877
void I2S_stopWrite(I2S_Handle handle)
Stop write transactions.
I2S_ChannelConfig SD1Channels
Definition: I2S.h:923
void I2S_stopRead(I2S_Handle handle)
Stop read transactions.
uintptr_t arg
Definition: I2S.h:691
size_t bufSize
Definition: I2S.h:683
void * custom
Definition: I2S.h:981
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:975
uint8_t bitsPerWord
Definition: I2S.h:874
I2S_Callback readCallback
Definition: I2S.h:972
I2S transaction descriptor.
Definition: I2S.h:676
void const * hwAttrs
Definition: I2S.h:665
void I2S_close(I2S_Handle handle)
Function to close a given I2S peripheral specified by the I2S handle.
uint8_t afterWordPadding
Definition: I2S.h:871
I2S_ChannelConfig SD0Channels
Definition: I2S.h:899
Linked List interface for use in drivers.
Basic I2S Parameters.
Definition: I2S.h:833
void * bufPtr
Definition: I2S.h:681