| LPCOpen Platform v1.03 LPCOpen Platform for NXP LPC Microcontrollers

- Main Page
- Modules
- Data Structures
- Files
- Related Pages

- File List
- Globals

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
i2s_001.c File Reference
`#include "i2s_001.h"`

Go to the source code of this file.

## Functions
void | IP_I2S_Init (IP_I2S_001_T *pI2S)
| Initialize for I2S.
void | IP_I2S_DeInit (IP_I2S_001_T *pI2S)
| Shutdown I2S.
void | IP_I2S_SetWordWidth (IP_I2S_001_T *pI2S, uint8_t TRMode, uint32_t wordwidth)
| Set the data width for the specified mode.
void | IP_I2S_SetMono (IP_I2S_001_T *pI2S, uint8_t TRMode, uint32_t mono)
| Set I2S data format to mono or stereo.
void | IP_I2S_SetMasterSlaveMode (IP_I2S_001_T *pI2S, uint8_t TRMode, uint32_t mode)
| Set I2S interface in master/slave mode.
void | IP_I2S_SetBitRate (IP_I2S_001_T *pI2S, uint8_t TRMode, uint32_t mclk_divider)
| Set the clock frequency for I2S interface.
void | IP_I2S_SetXYDivider (IP_I2S_001_T *pI2S, uint8_t TRMode, uint8_t x_divider, uint8_t y_divider)
| Set the MCLK rate by using a fractional rate generator, dividing down the frequency of PCLK.
void | IP_I2S_SetWS_Halfperiod (IP_I2S_001_T *pI2S, uint8_t TRMode, uint32_t ws_halfperiod)
| Set word select (WS) half period.
void | IP_I2S_ModeConfig (IP_I2S_001_T *pI2S, uint8_t TRMode, uint32_t clksel, uint32_t fpin, uint32_t mcena)
| Set the I2S operating modes.
uint8_t | IP_I2S_GetLevel (IP_I2S_001_T *pI2S, uint8_t TRMode)
| Get the current level of the Transmit/Receive FIFO.
void | IP_I2S_Send (IP_I2S_001_T *pI2S, uint32_t data)
| Send a 32-bit data to TXFIFO for transmition.
uint32_t | IP_I2S_Receive (IP_I2S_001_T *pI2S)
| Get received data from RXFIFO.
void | IP_I2S_Start (IP_I2S_001_T *pI2S, uint8_t TRMode)
| Start the I2S.
void | IP_I2S_Pause (IP_I2S_001_T *pI2S, uint8_t TRMode)
| Disables accesses on FIFOs, places the transmit channel in mute mode.
void | IP_I2S_Stop (IP_I2S_001_T *pI2S, uint8_t TRMode)
| Stop I2S asynchronously.
void | IP_I2S_DMACmd (IP_I2S_001_T *pI2S, IP_I2S_DMARequestNumber_T DMANum, uint8_t TRMode, FunctionalState NewState)
| Enable/Disable DMA for the I2S.
void | IP_I2S_SetFIFODepthDMA (IP_I2S_001_T *pI2S, uint8_t TRMode, IP_I2S_DMARequestNumber_T DMANum, uint32_t depth)
| Set the FIFO level on which to create an DMA request.
void | IP_I2S_InterruptCmd (IP_I2S_001_T *pI2S, uint8_t TRMode, FunctionalState NewState)
| Enable/Disable interrupt for the I2S.
void | IP_I2S_SetFIFODepthIRQ (IP_I2S_001_T *pI2S, uint8_t TRMode, uint32_t depth)
| Set the FIFO level on which to create an irq request.
Status | IP_I2S_GetIntStatus (IP_I2S_001_T *pI2S, uint8_t TRMode)
| Get the status of I2S interrupt.