Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Functions | |
| uint8_t | I2S_GetWordWidth (LPC_I2S_TypeDef *I2Sx, uint8_t TRMode) |
| Get I2S wordwidth value. | |
| uint8_t | I2S_GetChannel (LPC_I2S_TypeDef *I2Sx, uint8_t TRMode) |
| Get I2S channel value. | |
Function Documentation
| uint8_t I2S_GetChannel | ( | LPC_I2S_TypeDef * | I2Sx, |
| uint8_t | TRMode | ||
| ) |
Get I2S channel value.
- Parameters:
-
[in] I2Sx,: I2S peripheral selected, should be: I2S [in] TRMode is the I2S mode, should be: - I2S_TX_MODE: transmit mode
- I2S_RX_MODE: receive mode
- Returns:
- The channel value, should be: 1(mono) or 2(stereo)
Definition at line 95 of file lpc17xx_i2s.c.
| uint8_t I2S_GetWordWidth | ( | LPC_I2S_TypeDef * | I2Sx, |
| uint8_t | TRMode | ||
| ) |
Get I2S wordwidth value.
- Parameters:
-
[in] I2Sx,: I2S peripheral selected, should be: I2S [in] TRMode is the I2S mode, should be: - I2S_TX_MODE: transmit mode
- I2S_RX_MODE: receive mode
- Returns:
- The wordwidth value, should be: 8,16 or 32
Definition at line 67 of file lpc17xx_i2s.c.
Generated on Tue Jul 12 2022 17:06:03 by
1.7.2