lpc17xx_i2s.h File Reference
Contains all macro definitions and function prototypes support for I2S firmware library on LPC17xx. More...
Go to the source code of this file.
Data Structures | |
struct | I2S_CFG_Type |
I2S configuration structure definition. More... | |
struct | I2S_DMAConf_Type |
I2S DMA configuration structure definition. More... | |
struct | I2S_MODEConf_Type |
I2S mode configuration structure definition. More... | |
Functions | |
void | I2S_Init (LPC_I2S_TypeDef *I2Sx) |
Initialize I2S
| |
void | I2S_DeInit (LPC_I2S_TypeDef *I2Sx) |
DeInitial both I2S transmit or receive. | |
void | I2S_Config (LPC_I2S_TypeDef *I2Sx, uint8_t TRMode, I2S_CFG_Type *ConfigStruct) |
Configuration I2S, setting:
| |
Status | I2S_FreqConfig (LPC_I2S_TypeDef *I2Sx, uint32_t Freq, uint8_t TRMode) |
Set frequency for I2S. | |
void | I2S_SetBitRate (LPC_I2S_TypeDef *I2Sx, uint8_t bitrate, uint8_t TRMode) |
I2S set bitrate. | |
void | I2S_ModeConfig (LPC_I2S_TypeDef *I2Sx, I2S_MODEConf_Type *ModeConfig, uint8_t TRMode) |
Configuration operating mode for I2S. | |
uint8_t | I2S_GetLevel (LPC_I2S_TypeDef *I2Sx, uint8_t TRMode) |
Get I2S Buffer Level. | |
void | I2S_Send (LPC_I2S_TypeDef *I2Sx, uint32_t BufferData) |
I2S Send data. | |
uint32_t | I2S_Receive (LPC_I2S_TypeDef *I2Sx) |
I2S Receive Data. | |
void | I2S_Start (LPC_I2S_TypeDef *I2Sx) |
I2S Start: clear all STOP,RESET and MUTE bit, ready to operate. | |
void | I2S_Pause (LPC_I2S_TypeDef *I2Sx, uint8_t TRMode) |
I2S Pause. | |
void | I2S_Mute (LPC_I2S_TypeDef *I2Sx, uint8_t TRMode) |
I2S Mute. | |
void | I2S_Stop (LPC_I2S_TypeDef *I2Sx, uint8_t TRMode) |
I2S Stop. | |
void | I2S_DMAConfig (LPC_I2S_TypeDef *I2Sx, I2S_DMAConf_Type *DMAConfig, uint8_t TRMode) |
Configure DMA operation for I2S. | |
void | I2S_DMACmd (LPC_I2S_TypeDef *I2Sx, uint8_t DMAIndex, uint8_t TRMode, FunctionalState NewState) |
Enable/Disable DMA operation for I2S. | |
void | I2S_IRQCmd (LPC_I2S_TypeDef *I2Sx, uint8_t TRMode, FunctionalState NewState) |
Enable/Disable IRQ for I2S. | |
void | I2S_IRQConfig (LPC_I2S_TypeDef *I2Sx, uint8_t TRMode, uint8_t level) |
Configure IRQ for I2S. | |
FunctionalState | I2S_GetIRQStatus (LPC_I2S_TypeDef *I2Sx, uint8_t TRMode) |
Get I2S interrupt status. | |
uint8_t | I2S_GetIRQDepth (LPC_I2S_TypeDef *I2Sx, uint8_t TRMode) |
Get I2S interrupt depth. |
Detailed Description
Contains all macro definitions and function prototypes support for I2S firmware library on LPC17xx.
- Version:
- 3.0
- Date:
- 18. June. 2010
Software that is described herein is for illustrative purposes only which provides customers with programming information regarding the products. This software is supplied "AS IS" without any warranties. NXP Semiconductors assumes no responsibility or liability for the use of the software, conveys no license or title under any patent, copyright, or mask work right to the product. NXP Semiconductors reserves the right to make changes in the software without notification. NXP Semiconductors also make no representation or warranty that such application will be suitable for the specified use without further testing or modification.
Definition in file lpc17xx_i2s.h.
Generated on Thu Jul 14 2022 05:16:18 by 1.7.2