Functions | |
__STATIC_INLINE void | ll_i2s_enable (i2s_regs_t *I2Sx) |
Enable I2S. More... | |
__STATIC_INLINE void | ll_i2s_disable (i2s_regs_t *I2Sx) |
Disable I2S. More... | |
__STATIC_INLINE uint32_t | ll_i2s_is_enabled (i2s_regs_t *I2Sx) |
Check if I2S is enabled. More... | |
__STATIC_INLINE void | ll_i2s_enable_rxblock (i2s_regs_t *I2Sx) |
Enable I2S RX block. More... | |
__STATIC_INLINE void | ll_i2s_disable_rxblock (i2s_regs_t *I2Sx) |
Disable I2S RX block. More... | |
__STATIC_INLINE uint32_t | ll_i2s_is_enabled_rxblock (i2s_regs_t *I2Sx) |
Check if I2S RX block is enabled. More... | |
__STATIC_INLINE void | ll_i2s_enable_txblock (i2s_regs_t *I2Sx) |
Enable I2S TX block. More... | |
__STATIC_INLINE void | ll_i2s_disable_txblock (i2s_regs_t *I2Sx) |
Disable I2S TX block. More... | |
__STATIC_INLINE uint32_t | ll_i2s_is_enabled_txblock (i2s_regs_t *I2Sx) |
Check if I2S TX block is enabled. More... | |
__STATIC_INLINE void | ll_i2s_enable_clock (i2s_regs_t *I2Sx) |
Enable I2S clock. More... | |
__STATIC_INLINE void | ll_i2s_disable_clock (i2s_regs_t *I2Sx) |
Disable I2S clock. More... | |
__STATIC_INLINE uint32_t | ll_i2s_is_enabled_clock (i2s_regs_t *I2Sx) |
Check if I2S clock is enabled. More... | |
__STATIC_INLINE void | ll_i2s_set_wss (i2s_regs_t *I2Sx, uint32_t cycles) |
Set word select line cycles for left or right sample. More... | |
__STATIC_INLINE uint32_t | ll_i2s_get_wss (i2s_regs_t *I2Sx) |
Get word select line cycles for left or right sample. More... | |
__STATIC_INLINE void | ll_i2s_set_sclkg (i2s_regs_t *I2Sx, uint32_t cycles) |
Set the gating of sclk. More... | |
__STATIC_INLINE uint32_t | ll_i2s_get_sclkg (i2s_regs_t *I2Sx) |
Get the gating of sclk. More... | |
__STATIC_INLINE void | ll_i2s_clr_rxfifo_all (i2s_regs_t *I2Sx) |
Clear I2S RX FIFO in all channels. More... | |
__STATIC_INLINE void | ll_i2s_clr_txfifo_all (i2s_regs_t *I2Sx) |
Clear I2S TX FIFO in all channels. More... | |
__STATIC_INLINE void | ll_i2s_set_clock_div (uint32_t div) |
Set I2S clock divider. More... | |
__STATIC_INLINE uint32_t | ll_i2s_get_clock_div (void) |
Get I2S clock divider. More... | |
__STATIC_INLINE void | ll_i2s_enable_clock_div (void) |
Enable I2S clock divider. More... | |
__STATIC_INLINE void | ll_i2s_disable_clock_div (void) |
Disable I2S clock divider. More... | |
__STATIC_INLINE uint32_t | ll_i2s_is_enabled_clock_div (void) |
Check if I2S clock divider is enabled. More... | |
__STATIC_INLINE void | ll_i2s_set_clock_src (uint32_t src) |
Set I2S clock source. More... | |
__STATIC_INLINE uint32_t | ll_i2s_get_clock_src (void) |
Get I2S clock source. More... | |
__STATIC_INLINE void | ll_i2s_enable_src_clock (void) |
Enable I2S clock. More... | |
__STATIC_INLINE void | ll_i2s_disable_src_clock (void) |
Disable I2S clock divider. More... | |
__STATIC_INLINE uint32_t | ll_i2s_is_enabled_src_clock (void) |
Check if I2S clock divider is enabled. More... | |
__STATIC_INLINE void ll_i2s_clr_rxfifo_all | ( | i2s_regs_t * | I2Sx | ) |
Clear I2S RX FIFO in all channels.
Register|BitsName --------|-------- RXFIFO_RST | RST
I2Sx | I2S instance |
None |
Definition at line 580 of file gr55xx_ll_i2s.h.
__STATIC_INLINE void ll_i2s_clr_txfifo_all | ( | i2s_regs_t * | I2Sx | ) |
Clear I2S TX FIFO in all channels.
Register|BitsName --------|-------- TXFIFO_RST | RST
I2Sx | I2S instance |
None |
Definition at line 595 of file gr55xx_ll_i2s.h.
__STATIC_INLINE void ll_i2s_disable | ( | i2s_regs_t * | I2Sx | ) |
Disable I2S.
Register|BitsName --------|-------- ENABLE | EN
I2Sx | I2S instance |
None |
Definition at line 336 of file gr55xx_ll_i2s.h.
__STATIC_INLINE void ll_i2s_disable_clock | ( | i2s_regs_t * | I2Sx | ) |
Disable I2S clock.
Register|BitsName --------|-------- CLKEN | EN
I2Sx | I2S instance |
None |
Definition at line 471 of file gr55xx_ll_i2s.h.
__STATIC_INLINE void ll_i2s_disable_clock_div | ( | void | ) |
Disable I2S clock divider.
Register|BitsName --------|-------- I2S_CLK_CFG | DIV_EN
None |
Definition at line 652 of file gr55xx_ll_i2s.h.
__STATIC_INLINE void ll_i2s_disable_rxblock | ( | i2s_regs_t * | I2Sx | ) |
Disable I2S RX block.
Register|BitsName --------|-------- RBEN | EN
I2Sx | I2S instance |
None |
Definition at line 381 of file gr55xx_ll_i2s.h.
__STATIC_INLINE void ll_i2s_disable_src_clock | ( | void | ) |
Disable I2S clock divider.
Register|BitsName --------|-------- I2S_CLK_CFG | DIV_EN
None |
Definition at line 728 of file gr55xx_ll_i2s.h.
__STATIC_INLINE void ll_i2s_disable_txblock | ( | i2s_regs_t * | I2Sx | ) |
Disable I2S TX block.
Register|BitsName --------|-------- TBEN | EN
I2Sx | I2S instance |
None |
Definition at line 426 of file gr55xx_ll_i2s.h.
__STATIC_INLINE void ll_i2s_enable | ( | i2s_regs_t * | I2Sx | ) |
Enable I2S.
Register|BitsName --------|-------- ENABLE | EN
I2Sx | I2S instance |
None |
Definition at line 321 of file gr55xx_ll_i2s.h.
__STATIC_INLINE void ll_i2s_enable_clock | ( | i2s_regs_t * | I2Sx | ) |
Enable I2S clock.
Register|BitsName --------|-------- CLKEN | EN
I2Sx | I2S instance |
None |
Definition at line 456 of file gr55xx_ll_i2s.h.
__STATIC_INLINE void ll_i2s_enable_clock_div | ( | void | ) |
Enable I2S clock divider.
Register|BitsName --------|-------- I2S_CLK_CFG | DIV_EN
None |
Definition at line 638 of file gr55xx_ll_i2s.h.
__STATIC_INLINE void ll_i2s_enable_rxblock | ( | i2s_regs_t * | I2Sx | ) |
Enable I2S RX block.
Register|BitsName --------|-------- RBEN | EN
I2Sx | I2S instance |
None |
Definition at line 366 of file gr55xx_ll_i2s.h.
__STATIC_INLINE void ll_i2s_enable_src_clock | ( | void | ) |
Enable I2S clock.
Register|BitsName --------|-------- I2S_CLK_CFG | DIV_EN
None |
Definition at line 714 of file gr55xx_ll_i2s.h.
__STATIC_INLINE void ll_i2s_enable_txblock | ( | i2s_regs_t * | I2Sx | ) |
Enable I2S TX block.
Register|BitsName --------|-------- TBEN | EN
I2Sx | I2S instance |
None |
Definition at line 411 of file gr55xx_ll_i2s.h.
__STATIC_INLINE uint32_t ll_i2s_get_clock_div | ( | void | ) |
Get I2S clock divider.
Register|BitsName --------|-------- I2S_CLK_CFG | DIV
Returned | Value can between: 0 ~ 0xFFF |
Definition at line 624 of file gr55xx_ll_i2s.h.
__STATIC_INLINE uint32_t ll_i2s_get_clock_src | ( | void | ) |
Get I2S clock source.
Register|BitsName --------|-------- I2S_CLK_CFG | SRC
Returned | Value can be one of the following values: |
Definition at line 700 of file gr55xx_ll_i2s.h.
__STATIC_INLINE uint32_t ll_i2s_get_sclkg | ( | i2s_regs_t * | I2Sx | ) |
Get the gating of sclk.
Register|BitsName --------|-------- CLKCONFIG | SCLKG
I2Sx | I2S instance |
Returned | Value can be one of the following values: |
Definition at line 565 of file gr55xx_ll_i2s.h.
__STATIC_INLINE uint32_t ll_i2s_get_wss | ( | i2s_regs_t * | I2Sx | ) |
Get word select line cycles for left or right sample.
Register|BitsName --------|-------- CLKCONFIG | WSS
I2Sx | I2S instance |
Returned | Value can be one of the following values: |
Definition at line 524 of file gr55xx_ll_i2s.h.
__STATIC_INLINE uint32_t ll_i2s_is_enabled | ( | i2s_regs_t * | I2Sx | ) |
Check if I2S is enabled.
Register|BitsName --------|-------- ENABLE | EN
I2Sx | I2S instance |
State | of bit (1 or 0). |
Definition at line 351 of file gr55xx_ll_i2s.h.
__STATIC_INLINE uint32_t ll_i2s_is_enabled_clock | ( | i2s_regs_t * | I2Sx | ) |
Check if I2S clock is enabled.
Register|BitsName --------|-------- CLKEN | EN
I2Sx | I2S instance |
State | of bit (1 or 0). |
Definition at line 486 of file gr55xx_ll_i2s.h.
__STATIC_INLINE uint32_t ll_i2s_is_enabled_clock_div | ( | void | ) |
Check if I2S clock divider is enabled.
Register|BitsName --------|-------- I2S_CLK_CFG | DIV_EN
State | of bit (1 or 0). |
Definition at line 666 of file gr55xx_ll_i2s.h.
__STATIC_INLINE uint32_t ll_i2s_is_enabled_rxblock | ( | i2s_regs_t * | I2Sx | ) |
Check if I2S RX block is enabled.
Register|BitsName --------|-------- RBEN | EN
I2Sx | I2S instance |
State | of bit (1 or 0). |
Definition at line 396 of file gr55xx_ll_i2s.h.
__STATIC_INLINE uint32_t ll_i2s_is_enabled_src_clock | ( | void | ) |
Check if I2S clock divider is enabled.
Register|BitsName --------|-------- I2S_CLK_CFG | DIV_EN
State | of bit (1 or 0). |
Definition at line 742 of file gr55xx_ll_i2s.h.
__STATIC_INLINE uint32_t ll_i2s_is_enabled_txblock | ( | i2s_regs_t * | I2Sx | ) |
Check if I2S TX block is enabled.
Register|BitsName --------|-------- TBEN | EN
I2Sx | I2S instance |
State | of bit (1 or 0). |
Definition at line 441 of file gr55xx_ll_i2s.h.
__STATIC_INLINE void ll_i2s_set_clock_div | ( | uint32_t | div | ) |
Set I2S clock divider.
Register|BitsName --------|-------- I2S_CLK_CFG | DIV
div | This parameter can between: 0 ~ 0xFFF |
None |
Definition at line 610 of file gr55xx_ll_i2s.h.
__STATIC_INLINE void ll_i2s_set_clock_src | ( | uint32_t | src | ) |
Set I2S clock source.
Register|BitsName --------|-------- I2S_CLK_CFG | SRC
src | This parameter can be one of the following values: |
None |
Definition at line 684 of file gr55xx_ll_i2s.h.
__STATIC_INLINE void ll_i2s_set_sclkg | ( | i2s_regs_t * | I2Sx, |
uint32_t | cycles | ||
) |
Set the gating of sclk.
Register|BitsName --------|-------- CLKCONFIG | SCLKG
I2Sx | I2S instance |
cycles | This parameter can be one of the following values: |
None |
Definition at line 545 of file gr55xx_ll_i2s.h.
__STATIC_INLINE void ll_i2s_set_wss | ( | i2s_regs_t * | I2Sx, |
uint32_t | cycles | ||
) |
Set word select line cycles for left or right sample.
Register|BitsName --------|-------- CLKCONFIG | WSS
I2Sx | I2S instance |
cycles | This parameter can be one of the following values: |
None |
Definition at line 506 of file gr55xx_ll_i2s.h.