Functions | |
__STATIC_INLINE uint32_t | ll_i2s_receive_ldata (i2s_regs_t *I2Sx) |
Read one data from left RX FIFO in a channel. More... | |
__STATIC_INLINE uint32_t | ll_i2s_receive_rdata (i2s_regs_t *I2Sx) |
Read one data from right RX FIFO in a channel. More... | |
__STATIC_INLINE void | ll_i2s_transmit_ldata (i2s_regs_t *I2Sx, uint32_t data) |
Write one data to left TX FIFO in a channel. More... | |
__STATIC_INLINE void | ll_i2s_transmit_rdata (i2s_regs_t *I2Sx, uint32_t data) |
Write one data to right TX FIFO in a channel. More... | |
__STATIC_INLINE void | ll_i2s_enable_rx (i2s_regs_t *I2Sx) |
Enable RX in a channel. More... | |
__STATIC_INLINE void | ll_i2s_disable_rx (i2s_regs_t *I2Sx) |
Disable RX in a channel. More... | |
__STATIC_INLINE uint32_t | ll_i2s_is_enabled_rx (i2s_regs_t *I2Sx) |
Check if RX in a channel is enabled. More... | |
__STATIC_INLINE void | ll_i2s_enable_tx (i2s_regs_t *I2Sx) |
Enable TX in a channel. More... | |
__STATIC_INLINE void | ll_i2s_disable_tx (i2s_regs_t *I2Sx) |
Disable TX in a channel. More... | |
__STATIC_INLINE uint32_t | ll_i2s_is_enabled_tx (i2s_regs_t *I2Sx) |
Check if TX in a channel is enabled. More... | |
__STATIC_INLINE void | ll_i2s_set_rxsize (i2s_regs_t *I2Sx, uint32_t size) |
Set receive data width in a channel. More... | |
__STATIC_INLINE uint32_t | ll_i2s_get_rxsize (i2s_regs_t *I2Sx) |
Get receive data width in a channel. More... | |
__STATIC_INLINE void | ll_i2s_set_txsize (i2s_regs_t *I2Sx, uint32_t size) |
Set transmit data width in a channel. More... | |
__STATIC_INLINE uint32_t | ll_i2s_get_txsize (i2s_regs_t *I2Sx) |
Get transmit data width in a channel. More... | |
__STATIC_INLINE uint32_t | ll_i2s_get_it_flag (i2s_regs_t *I2Sx) |
Get interrupt flag in a channel. More... | |
__STATIC_INLINE uint32_t | ll_i2s_is_active_it_flag (i2s_regs_t *I2Sx, uint32_t flag) |
Check interrupt flag in a channel. More... | |
__STATIC_INLINE void | ll_i2s_enable_it (i2s_regs_t *I2Sx, uint32_t mask) |
Enable interrupt in a channel. More... | |
__STATIC_INLINE void | ll_i2s_disable_it (i2s_regs_t *I2Sx, uint32_t mask) |
Disable interrupt in a channel. More... | |
__STATIC_INLINE uint32_t | ll_i2s_is_enabled_it (i2s_regs_t *I2Sx, uint32_t mask) |
Check if interrupt in a channel is enabled. More... | |
__STATIC_INLINE uint32_t | ll_i2s_clear_it_rxovr (i2s_regs_t *I2Sx) |
Clear RX FIFO data overrun interrupt flag in a channel. More... | |
__STATIC_INLINE uint32_t | ll_i2s_clear_it_txovr (i2s_regs_t *I2Sx) |
Clear TX FIFO data overrun interrupt flag in a channel. More... | |
__STATIC_INLINE void | ll_i2s_set_rx_fifo_threshold (i2s_regs_t *I2Sx, uint32_t threshold) |
Set threshold of RXFIFO in a channel that triggers an RXDA event. More... | |
__STATIC_INLINE uint32_t | ll_i2s_get_rx_fifo_threshold (i2s_regs_t *I2Sx) |
Get threshold of RXFIFO in a channel that triggers an RXDA event. More... | |
__STATIC_INLINE void | ll_i2s_set_tx_fifo_threshold (i2s_regs_t *I2Sx, uint32_t threshold) |
Set threshold of TXFIFO in a channel that triggers an TXFE event. More... | |
__STATIC_INLINE uint32_t | ll_i2s_get_tx_fifo_threshold (i2s_regs_t *I2Sx) |
Get threshold of TXFIFO in a channel that triggers an TXFE event. More... | |
__STATIC_INLINE void | ll_i2s_clr_rxfifo_channel (i2s_regs_t *I2Sx) |
Clear RX FIFO data in a channel. More... | |
__STATIC_INLINE void | ll_i2s_clr_txfifo_channel (i2s_regs_t *I2Sx) |
Clear TX FIFO data in a channel. More... | |
__STATIC_INLINE uint32_t ll_i2s_clear_it_rxovr | ( | i2s_regs_t * | I2Sx | ) |
Clear RX FIFO data overrun interrupt flag in a channel.
Register|BitsName --------|-------- RXOVR | RXCHO
I2Sx | I2S instance |
State | of bit (1 or 0). |
Definition at line 1119 of file gr55xx_ll_i2s.h.
__STATIC_INLINE uint32_t ll_i2s_clear_it_txovr | ( | i2s_regs_t * | I2Sx | ) |
Clear TX FIFO data overrun interrupt flag in a channel.
Register|BitsName --------|-------- TXOVR | TXCHO
I2Sx | I2S instance |
State | of bit (1 or 0). |
Definition at line 1134 of file gr55xx_ll_i2s.h.
__STATIC_INLINE void ll_i2s_clr_rxfifo_channel | ( | i2s_regs_t * | I2Sx | ) |
Clear RX FIFO data in a channel.
Register|BitsName --------|-------- RXFIFO_FLUSH | FLUSH
I2Sx | I2S instance |
None |
Definition at line 1275 of file gr55xx_ll_i2s.h.
__STATIC_INLINE void ll_i2s_clr_txfifo_channel | ( | i2s_regs_t * | I2Sx | ) |
Clear TX FIFO data in a channel.
Register|BitsName --------|-------- TXFIFO_FLUSH | FLUSH
I2Sx | I2S instance |
None |
Definition at line 1290 of file gr55xx_ll_i2s.h.
__STATIC_INLINE void ll_i2s_disable_it | ( | i2s_regs_t * | I2Sx, |
uint32_t | mask | ||
) |
Disable interrupt in a channel.
Register|BitsName --------|-------- INTMASK | TXFO INTMASK | TXFE INTMASK | RXFO INTMASK | RXDA
I2Sx | I2S instance |
mask | This parameter can be one or more of the following values: |
None |
Definition at line 1081 of file gr55xx_ll_i2s.h.
__STATIC_INLINE void ll_i2s_disable_rx | ( | i2s_regs_t * | I2Sx | ) |
Disable RX in a channel.
Register|BitsName --------|-------- RXEN | EN
I2Sx | I2S instance |
None |
Definition at line 840 of file gr55xx_ll_i2s.h.
__STATIC_INLINE void ll_i2s_disable_tx | ( | i2s_regs_t * | I2Sx | ) |
Disable TX in a channel.
Register|BitsName --------|-------- TXEN | EN
I2Sx | I2S instance |
None |
Definition at line 885 of file gr55xx_ll_i2s.h.
__STATIC_INLINE void ll_i2s_enable_it | ( | i2s_regs_t * | I2Sx, |
uint32_t | mask | ||
) |
Enable interrupt in a channel.
Register|BitsName --------|-------- INTMASK | TXFO INTMASK | TXFE INTMASK | RXFO INTMASK | RXDA
I2Sx | I2S instance |
mask | This parameter can be one or more of the following values: |
None |
Definition at line 1058 of file gr55xx_ll_i2s.h.
__STATIC_INLINE void ll_i2s_enable_rx | ( | i2s_regs_t * | I2Sx | ) |
Enable RX in a channel.
Register|BitsName --------|-------- RXEN | EN
I2Sx | I2S instance |
None |
Definition at line 825 of file gr55xx_ll_i2s.h.
__STATIC_INLINE void ll_i2s_enable_tx | ( | i2s_regs_t * | I2Sx | ) |
Enable TX in a channel.
Register|BitsName --------|-------- TXEN | EN
I2Sx | I2S instance |
None |
Definition at line 870 of file gr55xx_ll_i2s.h.
__STATIC_INLINE uint32_t ll_i2s_get_it_flag | ( | i2s_regs_t * | I2Sx | ) |
Get interrupt flag in a channel.
Register|BitsName --------|-------- INTSTAT | TXFO INTSTAT | TXFE INTSTAT | RXFO INTSTAT | RXDA
I2Sx | I2S instance |
Returned | Value can be one or more of the following values: |
Definition at line 1010 of file gr55xx_ll_i2s.h.
__STATIC_INLINE uint32_t ll_i2s_get_rx_fifo_threshold | ( | i2s_regs_t * | I2Sx | ) |
Get threshold of RXFIFO in a channel that triggers an RXDA event.
Register|BitsName --------|-------- RXFIFO_TL | TL
I2Sx | I2S instance |
Definition at line 1197 of file gr55xx_ll_i2s.h.
__STATIC_INLINE uint32_t ll_i2s_get_rxsize | ( | i2s_regs_t * | I2Sx | ) |
Get receive data width in a channel.
Register|BitsName --------|-------- RXSIZE | WLEN
I2Sx | I2S instance |
Returned | Value can be one of the following values: |
Definition at line 944 of file gr55xx_ll_i2s.h.
__STATIC_INLINE uint32_t ll_i2s_get_tx_fifo_threshold | ( | i2s_regs_t * | I2Sx | ) |
Get threshold of TXFIFO in a channel that triggers an TXFE event.
Register|BitsName --------|-------- TXFIFO_TL | TL
I2Sx | I2S instance |
Definition at line 1260 of file gr55xx_ll_i2s.h.
__STATIC_INLINE uint32_t ll_i2s_get_txsize | ( | i2s_regs_t * | I2Sx | ) |
Get transmit data width in a channel.
Register|BitsName --------|-------- TXSIZE | WLEN
I2Sx | I2S instance |
Returned | Value can be one of the following values: |
Definition at line 988 of file gr55xx_ll_i2s.h.
__STATIC_INLINE uint32_t ll_i2s_is_active_it_flag | ( | i2s_regs_t * | I2Sx, |
uint32_t | flag | ||
) |
Check interrupt flag in a channel.
Register|BitsName --------|-------- INTSTAT | TXFO INTSTAT | TXFE INTSTAT | RXFO INTSTAT | RXDA
I2Sx | I2S instance |
flag | Interrupt flag in a channel |
flag | This parameter can be one or more of the following values: |
State | of bit (1 or 0). |
Definition at line 1035 of file gr55xx_ll_i2s.h.
__STATIC_INLINE uint32_t ll_i2s_is_enabled_it | ( | i2s_regs_t * | I2Sx, |
uint32_t | mask | ||
) |
Check if interrupt in a channel is enabled.
Register|BitsName --------|-------- INTMASK | TXFO INTMASK | TXFE INTMASK | RXFO INTMASK | RXDA
I2Sx | I2S instance |
mask | This parameter can be one or more of the following values: |
State | of bit (1 or 0). |
Definition at line 1104 of file gr55xx_ll_i2s.h.
__STATIC_INLINE uint32_t ll_i2s_is_enabled_rx | ( | i2s_regs_t * | I2Sx | ) |
Check if RX in a channel is enabled.
Register|BitsName --------|-------- RXEN | EN
I2Sx | I2S instance |
State | of bit (1 or 0). |
Definition at line 855 of file gr55xx_ll_i2s.h.
__STATIC_INLINE uint32_t ll_i2s_is_enabled_tx | ( | i2s_regs_t * | I2Sx | ) |
Check if TX in a channel is enabled.
Register|BitsName --------|-------- TXEN | EN
I2Sx | I2S instance |
State | of bit (1 or 0). |
Definition at line 900 of file gr55xx_ll_i2s.h.
__STATIC_INLINE uint32_t ll_i2s_receive_ldata | ( | i2s_regs_t * | I2Sx | ) |
Read one data from left RX FIFO in a channel.
Register|BitsName --------|-------- DATA_L | DATA
I2Sx | I2S instance |
None |
Definition at line 763 of file gr55xx_ll_i2s.h.
__STATIC_INLINE uint32_t ll_i2s_receive_rdata | ( | i2s_regs_t * | I2Sx | ) |
Read one data from right RX FIFO in a channel.
Register|BitsName --------|-------- DATA_R | DATA
I2Sx | I2S instance |
None |
Definition at line 778 of file gr55xx_ll_i2s.h.
__STATIC_INLINE void ll_i2s_set_rx_fifo_threshold | ( | i2s_regs_t * | I2Sx, |
uint32_t | threshold | ||
) |
Set threshold of RXFIFO in a channel that triggers an RXDA event.
Register|BitsName --------|-------- RXFIFO_TL | TL
I2Sx | I2S instance |
threshold | This parameter can be one of the following values:
|
None |
Definition at line 1166 of file gr55xx_ll_i2s.h.
__STATIC_INLINE void ll_i2s_set_rxsize | ( | i2s_regs_t * | I2Sx, |
uint32_t | size | ||
) |
Set receive data width in a channel.
Register|BitsName --------|-------- RXSIZE | WLEN
I2Sx | I2S instance |
size | This parameter can be one of the following values: |
None |
Definition at line 923 of file gr55xx_ll_i2s.h.
__STATIC_INLINE void ll_i2s_set_tx_fifo_threshold | ( | i2s_regs_t * | I2Sx, |
uint32_t | threshold | ||
) |
Set threshold of TXFIFO in a channel that triggers an TXFE event.
Register|BitsName --------|-------- TXFIFO_TL | TL
I2Sx | I2S instance |
threshold | This parameter can be one of the following values:
|
None |
Definition at line 1229 of file gr55xx_ll_i2s.h.
__STATIC_INLINE void ll_i2s_set_txsize | ( | i2s_regs_t * | I2Sx, |
uint32_t | size | ||
) |
Set transmit data width in a channel.
Register|BitsName --------|-------- TXSIZE | WLEN
I2Sx | I2S instance |
size | This parameter can be one of the following values: |
None |
Definition at line 967 of file gr55xx_ll_i2s.h.
__STATIC_INLINE void ll_i2s_transmit_ldata | ( | i2s_regs_t * | I2Sx, |
uint32_t | data | ||
) |
Write one data to left TX FIFO in a channel.
Register|BitsName --------|-------- DATA_L | DATA
I2Sx | I2S instance |
data | The data to send |
None |
Definition at line 794 of file gr55xx_ll_i2s.h.
__STATIC_INLINE void ll_i2s_transmit_rdata | ( | i2s_regs_t * | I2Sx, |
uint32_t | data | ||
) |
Write one data to right TX FIFO in a channel.
Register|BitsName --------|-------- DATA_R | DATA
I2Sx | I2S instance |
data | The data to send |
None |
Definition at line 810 of file gr55xx_ll_i2s.h.