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

Macros

#define I2S_WORDWIDTH_8   ((uint32_t)(0))
 
#define I2S_WORDWIDTH_16   ((uint32_t)(1))
 
#define I2S_WORDWIDTH_32   ((uint32_t)(3))
 
#define I2S_STEREO   ((uint32_t)(0))
 
#define I2S_MONO   ((uint32_t)(1))
 
#define I2S_MASTER_MODE   ((uint8_t)(0))
 
#define I2S_SLAVE_MODE   ((uint8_t)(1))
 
#define I2S_STOP_ENABLE   ((uint8_t)(1))
 
#define I2S_STOP_DISABLE   ((uint8_t)(0))
 
#define I2S_RESET_ENABLE   ((uint8_t)(1))
 
#define I2S_RESET_DISABLE   ((uint8_t)(0))
 
#define I2S_MUTE_ENABLE   ((uint8_t)(1))
 
#define I2S_MUTE_DISABLE   ((uint8_t)(0))
 
#define I2S_TX_MODE   ((uint8_t)(0))
 
#define I2S_RX_MODE   ((uint8_t)(1))
 
#define I2S_CLKSEL_FRDCLK   ((uint8_t)(0))
 
#define I2S_CLKSEL_MCLK   ((uint8_t)(2))
 
#define I2S_4PIN_ENABLE   ((uint8_t)(1))
 
#define I2S_4PIN_DISABLE   ((uint8_t)(0))
 
#define I2S_MCLK_ENABLE   ((uint8_t)(1))
 
#define I2S_MCLK_DISABLE   ((uint8_t)(0))
 
#define I2S_DMA_1   ((uint8_t)(0))
 
#define I2S_DMA_2   ((uint8_t)(1))
 

Detailed Description

Macro Definition Documentation

#define I2S_4PIN_DISABLE   ((uint8_t)(0))

Definition at line 75 of file lpc17xx_i2s.h.

#define I2S_4PIN_ENABLE   ((uint8_t)(1))

I2S 4-pin Mode bit

Definition at line 74 of file lpc17xx_i2s.h.

#define I2S_CLKSEL_FRDCLK   ((uint8_t)(0))

I2S Clock Select bit

Definition at line 71 of file lpc17xx_i2s.h.

#define I2S_CLKSEL_MCLK   ((uint8_t)(2))

Definition at line 72 of file lpc17xx_i2s.h.

#define I2S_DMA_1   ((uint8_t)(0))

I2S select DMA bit

Definition at line 80 of file lpc17xx_i2s.h.

#define I2S_DMA_2   ((uint8_t)(1))

Definition at line 81 of file lpc17xx_i2s.h.

#define I2S_MASTER_MODE   ((uint8_t)(0))

I2S Master/Slave mode bit

Definition at line 56 of file lpc17xx_i2s.h.

#define I2S_MCLK_DISABLE   ((uint8_t)(0))

Definition at line 78 of file lpc17xx_i2s.h.

#define I2S_MCLK_ENABLE   ((uint8_t)(1))

I2S MCLK Enable bit

Definition at line 77 of file lpc17xx_i2s.h.

#define I2S_MONO   ((uint32_t)(1))

Definition at line 54 of file lpc17xx_i2s.h.

#define I2S_MUTE_DISABLE   ((uint8_t)(0))

Definition at line 66 of file lpc17xx_i2s.h.

#define I2S_MUTE_ENABLE   ((uint8_t)(1))

I2S Mute bit

Definition at line 65 of file lpc17xx_i2s.h.

#define I2S_RESET_DISABLE   ((uint8_t)(0))

Definition at line 63 of file lpc17xx_i2s.h.

#define I2S_RESET_ENABLE   ((uint8_t)(1))

I2S Reset bit

Definition at line 62 of file lpc17xx_i2s.h.

#define I2S_RX_MODE   ((uint8_t)(1))

Definition at line 69 of file lpc17xx_i2s.h.

#define I2S_SLAVE_MODE   ((uint8_t)(1))

Definition at line 57 of file lpc17xx_i2s.h.

#define I2S_STEREO   ((uint32_t)(0))

I2S Channel bit

Definition at line 53 of file lpc17xx_i2s.h.

#define I2S_STOP_DISABLE   ((uint8_t)(0))

Definition at line 60 of file lpc17xx_i2s.h.

#define I2S_STOP_ENABLE   ((uint8_t)(1))

I2S Stop bit

Definition at line 59 of file lpc17xx_i2s.h.

#define I2S_TX_MODE   ((uint8_t)(0))

I2S Transmit/Receive bit

Definition at line 68 of file lpc17xx_i2s.h.

#define I2S_WORDWIDTH_16   ((uint32_t)(1))

Definition at line 50 of file lpc17xx_i2s.h.

#define I2S_WORDWIDTH_32   ((uint32_t)(3))

Definition at line 51 of file lpc17xx_i2s.h.

#define I2S_WORDWIDTH_8   ((uint32_t)(0))

I2S configuration parameter definesI2S Wordwidth bit

Definition at line 49 of file lpc17xx_i2s.h.