uc-sdk
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
I2S Public Functions

Functions

void I2S_Init (LPC_I2S_TypeDef *I2Sx)
 
void I2S_DeInit (LPC_I2S_TypeDef *I2Sx)
 
void I2S_Config (LPC_I2S_TypeDef *I2Sx, uint8_t TRMode, I2S_CFG_Type *ConfigStruct)
 
Status I2S_FreqConfig (LPC_I2S_TypeDef *I2Sx, uint32_t Freq, uint8_t TRMode)
 
void I2S_SetBitRate (LPC_I2S_TypeDef *I2Sx, uint8_t bitrate, uint8_t TRMode)
 
void I2S_ModeConfig (LPC_I2S_TypeDef *I2Sx, I2S_MODEConf_Type *ModeConfig, uint8_t TRMode)
 
uint8_t I2S_GetLevel (LPC_I2S_TypeDef *I2Sx, uint8_t TRMode)
 
void I2S_Send (LPC_I2S_TypeDef *I2Sx, uint32_t BufferData)
 
uint32_t I2S_Receive (LPC_I2S_TypeDef *I2Sx)
 
void I2S_Start (LPC_I2S_TypeDef *I2Sx)
 
void I2S_Pause (LPC_I2S_TypeDef *I2Sx, uint8_t TRMode)
 
void I2S_Mute (LPC_I2S_TypeDef *I2Sx, uint8_t TRMode)
 
void I2S_Stop (LPC_I2S_TypeDef *I2Sx, uint8_t TRMode)
 
void I2S_DMAConfig (LPC_I2S_TypeDef *I2Sx, I2S_DMAConf_Type *DMAConfig, uint8_t TRMode)
 
void I2S_DMACmd (LPC_I2S_TypeDef *I2Sx, uint8_t DMAIndex, uint8_t TRMode, FunctionalState NewState)
 
void I2S_IRQCmd (LPC_I2S_TypeDef *I2Sx, uint8_t TRMode, FunctionalState NewState)
 
void I2S_IRQConfig (LPC_I2S_TypeDef *I2Sx, uint8_t TRMode, uint8_t level)
 
FunctionalState I2S_GetIRQStatus (LPC_I2S_TypeDef *I2Sx, uint8_t TRMode)
 
uint8_t I2S_GetIRQDepth (LPC_I2S_TypeDef *I2Sx, uint8_t TRMode)
 

Detailed Description

Function Documentation

void I2S_Config ( LPC_I2S_TypeDef I2Sx,
uint8_t  TRMode,
I2S_CFG_Type ConfigStruct 
)
void I2S_DeInit ( LPC_I2S_TypeDef I2Sx)
void I2S_DMACmd ( LPC_I2S_TypeDef I2Sx,
uint8_t  DMAIndex,
uint8_t  TRMode,
FunctionalState  NewState 
)
void I2S_DMAConfig ( LPC_I2S_TypeDef I2Sx,
I2S_DMAConf_Type DMAConfig,
uint8_t  TRMode 
)
Status I2S_FreqConfig ( LPC_I2S_TypeDef I2Sx,
uint32_t  Freq,
uint8_t  TRMode 
)
uint8_t I2S_GetIRQDepth ( LPC_I2S_TypeDef I2Sx,
uint8_t  TRMode 
)
FunctionalState I2S_GetIRQStatus ( LPC_I2S_TypeDef I2Sx,
uint8_t  TRMode 
)
uint8_t I2S_GetLevel ( LPC_I2S_TypeDef I2Sx,
uint8_t  TRMode 
)
void I2S_Init ( LPC_I2S_TypeDef I2Sx)
void I2S_IRQCmd ( LPC_I2S_TypeDef I2Sx,
uint8_t  TRMode,
FunctionalState  NewState 
)
void I2S_IRQConfig ( LPC_I2S_TypeDef I2Sx,
uint8_t  TRMode,
uint8_t  level 
)
void I2S_ModeConfig ( LPC_I2S_TypeDef I2Sx,
I2S_MODEConf_Type ModeConfig,
uint8_t  TRMode 
)
void I2S_Mute ( LPC_I2S_TypeDef I2Sx,
uint8_t  TRMode 
)
void I2S_Pause ( LPC_I2S_TypeDef I2Sx,
uint8_t  TRMode 
)
uint32_t I2S_Receive ( LPC_I2S_TypeDef I2Sx)
void I2S_Send ( LPC_I2S_TypeDef I2Sx,
uint32_t  BufferData 
)
void I2S_SetBitRate ( LPC_I2S_TypeDef I2Sx,
uint8_t  bitrate,
uint8_t  TRMode 
)
void I2S_Start ( LPC_I2S_TypeDef I2Sx)
void I2S_Stop ( LPC_I2S_TypeDef I2Sx,
uint8_t  TRMode 
)