LINKED LIST TEST on mbed
Modules | |
I2S Public Macros | |
I2S Private Macros | |
I2S Public Types | |
I2S Public Functions | |
Functions | |
static uint8_t | i2s_GetWordWidth (LPC_I2S_TypeDef *I2Sx, uint8_t TRMode) |
Get I2S wordwidth value. | |
static uint8_t | i2s_GetChannel (LPC_I2S_TypeDef *I2Sx, uint8_t TRMode) |
Get I2S channel value. |
Function Documentation
static uint8_t i2s_GetChannel | ( | LPC_I2S_TypeDef * | I2Sx, |
uint8_t | TRMode | ||
) | [static] |
Get I2S channel value.
- Parameters:
-
[in] I2Sx I2S peripheral selected, should be: LPC_I2S [in] TRMode is the I2S mode, should be: - I2S_TX_MODE = 0: transmit mode
- I2S_RX_MODE = 1: receive mode
- Returns:
- The channel value, should be: 1(mono) or 2(stereo)
Definition at line 87 of file lpc17xx_i2s.c.
static uint8_t i2s_GetWordWidth | ( | LPC_I2S_TypeDef * | I2Sx, |
uint8_t | TRMode | ||
) | [static] |
Get I2S wordwidth value.
- Parameters:
-
[in] I2Sx I2S peripheral selected, should be: LPC_I2S [in] TRMode is the I2S mode, should be: - I2S_TX_MODE = 0: transmit mode
- I2S_RX_MODE = 1: receive mode
- Returns:
- The wordwidth value, should be: 8,16 or 32
Definition at line 58 of file lpc17xx_i2s.c.
Generated on Wed Jul 13 2022 21:13:12 by 1.7.2