Functions | |
| __STATIC_INLINE uint32_t | ll_i2s_get_rx_resolution (i2s_regs_t *I2Sx, uint8_t channel) |
| Get I2S component paramenters: rx resolution. More... | |
| __STATIC_INLINE uint32_t | ll_i2s_get_tx_resolution (i2s_regs_t *I2Sx, uint8_t channel) |
| Get I2S component paramenters: tx resolution. More... | |
| __STATIC_INLINE uint32_t | ll_i2s_get_tx_channels (i2s_regs_t *I2Sx) |
| Get I2S component paramenters: the number of tx channels. More... | |
| __STATIC_INLINE uint32_t | ll_i2s_get_rx_channels (i2s_regs_t *I2Sx) |
| Get I2S component paramenters: the number of rx channels. More... | |
| __STATIC_INLINE uint32_t | ll_i2s_get_rx_block (i2s_regs_t *I2Sx) |
| Get I2S component paramenters: whether the receiver block is enabled or not. More... | |
| __STATIC_INLINE uint32_t | ll_i2s_get_tx_block (i2s_regs_t *I2Sx) |
| Get I2S component paramenters: whether the transmitter block is enabled or not. More... | |
| __STATIC_INLINE uint32_t | ll_i2s_get_master_mode (i2s_regs_t *I2Sx) |
| Get I2S component paramenters: whether the master mode is enabled or not. More... | |
| __STATIC_INLINE uint32_t | ll_i2s_get_fifo_depth (i2s_regs_t *I2Sx) |
| Get I2S component paramenters: FIOF depth. More... | |
| __STATIC_INLINE uint32_t | ll_i2s_get_apb_width (i2s_regs_t *I2Sx) |
| Get I2S component paramenters: APB data width. More... | |
| __STATIC_INLINE uint32_t | ll_i2s_get_version (i2s_regs_t *I2Sx) |
| Get I2S component version. More... | |
| __STATIC_INLINE uint32_t | ll_i2s_get_type (i2s_regs_t *I2Sx) |
| Get I2S component type. More... | |
| __STATIC_INLINE uint32_t ll_i2s_get_apb_width | ( | i2s_regs_t * | I2Sx | ) |
Get I2S component paramenters: APB data width.
| Register | BitsName |
|---|---|
| I2S_PARAM1 | APB_DATA_WIDTH |
| I2Sx | I2S instance |
| Returned | Value can be one of the following values: |
| __STATIC_INLINE uint32_t ll_i2s_get_fifo_depth | ( | i2s_regs_t * | I2Sx | ) |
Get I2S component paramenters: FIOF depth.
| Register | BitsName |
|---|---|
| I2S_PARAM1 | FIFO_DEPTH |
| I2Sx | I2S instance |
| Returned | Value can be one of the following values: |
| __STATIC_INLINE uint32_t ll_i2s_get_master_mode | ( | i2s_regs_t * | I2Sx | ) |
Get I2S component paramenters: whether the master mode is enabled or not.
| Register | BitsName |
|---|---|
| I2S_PARAM1 | MODE |
| I2Sx | I2S instance |
| State | of bit (1 or 0). |
| __STATIC_INLINE uint32_t ll_i2s_get_rx_block | ( | i2s_regs_t * | I2Sx | ) |
Get I2S component paramenters: whether the receiver block is enabled or not.
| Register | BitsName |
|---|---|
| I2S_PARAM1 | RXBLOCK |
| I2Sx | I2S instance |
| State | of bit (1 or 0). |
| __STATIC_INLINE uint32_t ll_i2s_get_rx_channels | ( | i2s_regs_t * | I2Sx | ) |
Get I2S component paramenters: the number of rx channels.
| Register | BitsName |
|---|---|
| I2S_PARAM1 | RXCHN |
| I2Sx | I2S instance |
| Returned | Value can be one of the following values: |
| __STATIC_INLINE uint32_t ll_i2s_get_rx_resolution | ( | i2s_regs_t * | I2Sx, |
| uint8_t | channel | ||
| ) |
Get I2S component paramenters: rx resolution.
| Register | BitsName |
|---|---|
| I2S_PARAM2 | RXSIZE_3 |
| I2S_PARAM2 | RXSIZE_2 |
| I2S_PARAM2 | RXSIZE_1 |
| I2S_PARAM2 | RXSIZE_0 |
| I2Sx | I2S instance |
| channel | The special channel: 0 ~ 3 |
| Returned | Value can be one of the following values: |
| __STATIC_INLINE uint32_t ll_i2s_get_tx_block | ( | i2s_regs_t * | I2Sx | ) |
Get I2S component paramenters: whether the transmitter block is enabled or not.
| Register | BitsName |
|---|---|
| I2S_PARAM1 | TXBLOCK |
| I2Sx | I2S instance |
| State | of bit (1 or 0). |
| __STATIC_INLINE uint32_t ll_i2s_get_tx_channels | ( | i2s_regs_t * | I2Sx | ) |
Get I2S component paramenters: the number of tx channels.
| Register | BitsName |
|---|---|
| I2S_PARAM1 | TXCHN |
| I2Sx | I2S instance |
| Returned | Value can be one of the following values: |
| __STATIC_INLINE uint32_t ll_i2s_get_tx_resolution | ( | i2s_regs_t * | I2Sx, |
| uint8_t | channel | ||
| ) |
Get I2S component paramenters: tx resolution.
| Register | BitsName |
|---|---|
| I2S_PARAM1 | TXSIZE_3 |
| I2S_PARAM1 | TXSIZE_2 |
| I2S_PARAM1 | TXSIZE_1 |
| I2S_PARAM1 | TXSIZE_0 |
| I2Sx | I2S instance |
| channel | The special channel: 0 ~ 3 |
| Returned | Value can be one of the following values: |
| __STATIC_INLINE uint32_t ll_i2s_get_type | ( | i2s_regs_t * | I2Sx | ) |
Get I2S component type.
| Register | BitsName |
|---|---|
| I2S_TYPE | TYPE |
| I2Sx | I2S instance |
| Returned | Value is const. |
| __STATIC_INLINE uint32_t ll_i2s_get_version | ( | i2s_regs_t * | I2Sx | ) |
Get I2S component version.
| Register | BitsName |
|---|---|
| I2S_VERSION | VERSION |
| I2Sx | I2S instance |
| Returned | Value is const. |