LPCOpen Platform for LPC18XX/43XX microcontrollers  18XX43XX
LPCOpen Platform for the NXP LPC18XX/43XX family of Microcontrollers
Functions
i2s_18xx_43xx.c File Reference
#include "chip.h"

Go to the source code of this file.

Functions

STATIC Status getClkDiv (LPC_I2S_T *pI2S, I2S_AUDIO_FORMAT_T *format, uint16_t *pxDiv, uint16_t *pyDiv, uint32_t *pN)
 
void Chip_I2S_Init (LPC_I2S_T *pI2S)
 Initialize for I2S. More...
 
void Chip_I2S_DeInit (LPC_I2S_T *pI2S)
 Shutdown I2S. More...
 
Status Chip_I2S_TxConfig (LPC_I2S_T *pI2S, I2S_AUDIO_FORMAT_T *format)
 Configure I2S for Audio Format input. More...
 
Status Chip_I2S_RxConfig (LPC_I2S_T *pI2S, I2S_AUDIO_FORMAT_T *format)
 Configure I2S for Audio Format input. More...
 
void Chip_I2S_Int_TxCmd (LPC_I2S_T *pI2S, FunctionalState newState, uint8_t depth)
 Enable/Disable Interrupt with a specific FIFO depth. More...
 
void Chip_I2S_Int_RxCmd (LPC_I2S_T *pI2S, FunctionalState newState, uint8_t depth)
 Enable/Disable Interrupt with a specific FIFO depth. More...
 
void Chip_I2S_DMA_TxCmd (LPC_I2S_T *pI2S, I2S_DMA_CHANNEL_T dmaNum, FunctionalState newState, uint8_t depth)
 Enable/Disable DMA with a specific FIFO depth. More...
 
void Chip_I2S_DMA_RxCmd (LPC_I2S_T *pI2S, I2S_DMA_CHANNEL_T dmaNum, FunctionalState newState, uint8_t depth)
 Enable/Disable DMA with a specific FIFO depth. More...
 

Function Documentation

STATIC Status getClkDiv ( LPC_I2S_T pI2S,
I2S_AUDIO_FORMAT_T format,
uint16_t *  pxDiv,
uint16_t *  pyDiv,
uint32_t *  pN 
)

Definition at line 47 of file i2s_18xx_43xx.c.