Collaboration diagram for I2S Exported Macros:Macros | |
| #define | __HAL_I2S_RESET_HANDLE_STATE(__HANDLE__) ((__HANDLE__)->state = HAL_I2S_STATE_RESET) |
| Reset I2S handle states. More... | |
| #define | __HAL_I2S_ENABLE(__HANDLE__) SET_BITS((__HANDLE__)->p_instance->ENABLE, I2S_ENABLE_EN) |
| Enable the specified I2S peripheral. More... | |
| #define | __HAL_I2S_DISABLE(__HANDLE__) CLEAR_BITS((__HANDLE__)->p_instance->ENABLE, I2S_ENABLE_EN) |
| Disable the specified I2S peripheral. More... | |
| #define | __HAL_I2S_ENABLE_CLOCK(__HANDLE__) SET_BITS((__HANDLE__)->p_instance->CLKEN, I2S_CLKEN_EN) |
| Enable the specified I2S clock. More... | |
| #define | __HAL_I2S_DISABLE_CLOCK(__HANDLE__) CLEAR_BITS((__HANDLE__)->p_instance->CLKEN, I2S_CLKEN_EN) |
| Disable the specified I2S clock. More... | |
| #define | __HAL_I2S_ENABLE_TX_BLOCK(__HANDLE__) ll_i2s_enable_txblock((__HANDLE__)->p_instance) |
| Enable the specified I2S transmitter block. More... | |
| #define | __HAL_I2S_DISABLE_TX_BLOCK(__HANDLE__) ll_i2s_disable_txblock((__HANDLE__)->p_instance) |
| Disable the specified I2S transmitter block. More... | |
| #define | __HAL_I2S_ENABLE_RX_BLOCK(__HANDLE__) ll_i2s_enable_rxblock((__HANDLE__)->p_instance) |
| Enable the specified I2S receiver block. More... | |
| #define | __HAL_I2S_DISABLE_RX_BLOCK(__HANDLE__) ll_i2s_disable_rxblock((__HANDLE__)->p_instance) |
| Disable the specified I2S receiver block. More... | |
| #define | __HAL_I2S_ENABLE_TX_CHANNEL(__HANDLE__, __CH__) ll_i2s_enable_tx((__HANDLE__)->p_instance, (__CH__)) |
| Enable the specified I2S transmitter channel. More... | |
| #define | __HAL_I2S_DISABLE_TX_CHANNEL(__HANDLE__, __CH__) ll_i2s_disable_tx((__HANDLE__)->p_instance, (__CH__)) |
| Disable the specified I2S transmitter channel. More... | |
| #define | __HAL_I2S_ENABLE_RX_CHANNEL(__HANDLE__, __CH__) ll_i2s_enable_rx((__HANDLE__)->p_instance, (__CH__)) |
| Enable the specified I2S receiver channel. More... | |
| #define | __HAL_I2S_DISABLE_RX_CHANNEL(__HANDLE__, __CH__) ll_i2s_disable_rx((__HANDLE__)->p_instance, (__CH__)) |
| Disable the specified I2S receiver channel. More... | |
| #define | __HAL_I2S_FLUSH_TX_FIFO(__HANDLE__) ll_i2s_clr_txfifo_all((__HANDLE__)->p_instance) |
| Flush the I2S transmitter FIFO. More... | |
| #define | __HAL_I2S_FLUSH_RX_FIFO(__HANDLE__) ll_i2s_clr_rxfifo_all((__HANDLE__)->p_instance) |
| Flush the I2S receiver FIFO. More... | |
| #define | __HAL_I2S_ENABLE_DMA(__HANDLE__) ll_i2s_enable_dma(__HANDLE__->p_instance) |
| Enable the I2S DMA Request. More... | |
| #define | __HAL_I2S_DISABLE_DMA(__HANDLE__) ll_i2s_disable_dma(__HANDLE__->p_instance) |
| Disable the I2S DMA Request. More... | |
| #define | __HAL_I2S_RESET_TXDMA(__HANDLE__) WRITE_REG((__HANDLE__)->p_instance->TXDMA_RST, I2S_TXDMA_RST) |
| Reset the I2S TX DMA request to the lowest enabled channel. More... | |
| #define | __HAL_I2S_RESET_RXDMA(__HANDLE__) WRITE_REG((__HANDLE__)->p_instance->RXDMA_RST, I2S_RXDMA_RST) |
| Reset the I2S RX DMA request to the lowest enabled channel. More... | |
| #define | __HAL_I2S_ENABLE_IT(__HANDLE__, __INTERRUPT__) CLEAR_BITS((__HANDLE__)->p_instance->I2S_CHANNEL[0].INTMASK, (__INTERRUPT__)) |
| Enable the specified I2S interrupts. More... | |
| #define | __HAL_I2S_DISABLE_IT(__HANDLE__, __INTERRUPT__) SET_BITS((__HANDLE__)->p_instance->I2S_CHANNEL[0].INTMASK, (__INTERRUPT__)) |
| Disable the specified I2S interrupts. More... | |
| #define | __HAL_I2S_GET_FLAG(__HANDLE__, __FLAG__) ((READ_BITS((__HANDLE__)->p_instance->I2S_CHANNEL[0].INTSTAT, (__FLAG__)) != 0) ? SET : RESET) |
| Check whether the specified I2S flag is set or not. More... | |
| #define | __HAL_I2S_CLEAR_FLAG(__HANDLE__, __FLAG__) |
| Clear the specified I2S flag. More... | |
| #define __HAL_I2S_CLEAR_FLAG | ( | __HANDLE__, | |
| __FLAG__ | |||
| ) |
Clear the specified I2S flag.
| <strong>HANDLE</strong> | Specifies the I2S Handle. |
| <strong>FLAG</strong> | Specifies the flag to check. This parameter can be one of the following values:
|
| None |
Definition at line 442 of file gr55xx_hal_i2s.h.
| #define __HAL_I2S_DISABLE | ( | __HANDLE__ | ) | CLEAR_BITS((__HANDLE__)->p_instance->ENABLE, I2S_ENABLE_EN) |
Disable the specified I2S peripheral.
| <strong>HANDLE</strong> | Specifies the I2S Handle. |
| None |
Definition at line 296 of file gr55xx_hal_i2s.h.
| #define __HAL_I2S_DISABLE_CLOCK | ( | __HANDLE__ | ) | CLEAR_BITS((__HANDLE__)->p_instance->CLKEN, I2S_CLKEN_EN) |
Disable the specified I2S clock.
| <strong>HANDLE</strong> | Specifies the I2S Handle. |
| None |
Definition at line 308 of file gr55xx_hal_i2s.h.
| #define __HAL_I2S_DISABLE_DMA | ( | __HANDLE__ | ) | ll_i2s_disable_dma(__HANDLE__->p_instance) |
Disable the I2S DMA Request.
| <strong>HANDLE</strong> | Specifies the I2S Handle. |
| None |
Definition at line 384 of file gr55xx_hal_i2s.h.
| #define __HAL_I2S_DISABLE_IT | ( | __HANDLE__, | |
| __INTERRUPT__ | |||
| ) | SET_BITS((__HANDLE__)->p_instance->I2S_CHANNEL[0].INTMASK, (__INTERRUPT__)) |
Disable the specified I2S interrupts.
| <strong>HANDLE</strong> | Specifies the I2S handle. |
| <strong>INTERRUPT</strong> | Specifies the interrupt source to disable. This parameter can be one of the following values:
|
| None |
Definition at line 420 of file gr55xx_hal_i2s.h.
| #define __HAL_I2S_DISABLE_RX_BLOCK | ( | __HANDLE__ | ) | ll_i2s_disable_rxblock((__HANDLE__)->p_instance) |
Disable the specified I2S receiver block.
| <strong>HANDLE</strong> | Specifies the I2S Handle. |
| None |
Definition at line 332 of file gr55xx_hal_i2s.h.
| #define __HAL_I2S_DISABLE_RX_CHANNEL | ( | __HANDLE__, | |
| __CH__ | |||
| ) | ll_i2s_disable_rx((__HANDLE__)->p_instance, (__CH__)) |
Disable the specified I2S receiver channel.
| <strong>HANDLE</strong> | Specifies the I2S Handle. |
| <strong>CH</strong> | Specifies the I2S channel. |
| None |
Definition at line 360 of file gr55xx_hal_i2s.h.
| #define __HAL_I2S_DISABLE_TX_BLOCK | ( | __HANDLE__ | ) | ll_i2s_disable_txblock((__HANDLE__)->p_instance) |
Disable the specified I2S transmitter block.
| <strong>HANDLE</strong> | Specifies the I2S Handle. |
| None |
Definition at line 320 of file gr55xx_hal_i2s.h.
| #define __HAL_I2S_DISABLE_TX_CHANNEL | ( | __HANDLE__, | |
| __CH__ | |||
| ) | ll_i2s_disable_tx((__HANDLE__)->p_instance, (__CH__)) |
Disable the specified I2S transmitter channel.
| <strong>HANDLE</strong> | Specifies the I2S Handle. |
| <strong>CH</strong> | Specifies the I2S channel. |
| None |
Definition at line 346 of file gr55xx_hal_i2s.h.
| #define __HAL_I2S_ENABLE | ( | __HANDLE__ | ) | SET_BITS((__HANDLE__)->p_instance->ENABLE, I2S_ENABLE_EN) |
Enable the specified I2S peripheral.
| <strong>HANDLE</strong> | Specifies the I2S Handle. |
| None |
Definition at line 290 of file gr55xx_hal_i2s.h.
| #define __HAL_I2S_ENABLE_CLOCK | ( | __HANDLE__ | ) | SET_BITS((__HANDLE__)->p_instance->CLKEN, I2S_CLKEN_EN) |
Enable the specified I2S clock.
| <strong>HANDLE</strong> | Specifies the I2S Handle. |
| None |
Definition at line 302 of file gr55xx_hal_i2s.h.
| #define __HAL_I2S_ENABLE_DMA | ( | __HANDLE__ | ) | ll_i2s_enable_dma(__HANDLE__->p_instance) |
Enable the I2S DMA Request.
| <strong>HANDLE</strong> | Specifies the I2S Handle. |
| None |
Definition at line 378 of file gr55xx_hal_i2s.h.
| #define __HAL_I2S_ENABLE_IT | ( | __HANDLE__, | |
| __INTERRUPT__ | |||
| ) | CLEAR_BITS((__HANDLE__)->p_instance->I2S_CHANNEL[0].INTMASK, (__INTERRUPT__)) |
Enable the specified I2S interrupts.
| <strong>HANDLE</strong> | Specifies the I2S Handle. |
| <strong>INTERRUPT</strong> | Specifies the interrupt source to enable. This parameter can be one of the following values:
|
| None |
Definition at line 408 of file gr55xx_hal_i2s.h.
| #define __HAL_I2S_ENABLE_RX_BLOCK | ( | __HANDLE__ | ) | ll_i2s_enable_rxblock((__HANDLE__)->p_instance) |
Enable the specified I2S receiver block.
| <strong>HANDLE</strong> | Specifies the I2S Handle. |
| None |
Definition at line 326 of file gr55xx_hal_i2s.h.
| #define __HAL_I2S_ENABLE_RX_CHANNEL | ( | __HANDLE__, | |
| __CH__ | |||
| ) | ll_i2s_enable_rx((__HANDLE__)->p_instance, (__CH__)) |
Enable the specified I2S receiver channel.
| <strong>HANDLE</strong> | Specifies the I2S Handle. |
| <strong>CH</strong> | Specifies the I2S channel. |
| None |
Definition at line 353 of file gr55xx_hal_i2s.h.
| #define __HAL_I2S_ENABLE_TX_BLOCK | ( | __HANDLE__ | ) | ll_i2s_enable_txblock((__HANDLE__)->p_instance) |
Enable the specified I2S transmitter block.
| <strong>HANDLE</strong> | Specifies the I2S Handle. |
| None |
Definition at line 314 of file gr55xx_hal_i2s.h.
| #define __HAL_I2S_ENABLE_TX_CHANNEL | ( | __HANDLE__, | |
| __CH__ | |||
| ) | ll_i2s_enable_tx((__HANDLE__)->p_instance, (__CH__)) |
Enable the specified I2S transmitter channel.
| <strong>HANDLE</strong> | Specifies the I2S Handle. |
| <strong>CH</strong> | Specifies the I2S channel. |
| None |
Definition at line 339 of file gr55xx_hal_i2s.h.
| #define __HAL_I2S_FLUSH_RX_FIFO | ( | __HANDLE__ | ) | ll_i2s_clr_rxfifo_all((__HANDLE__)->p_instance) |
Flush the I2S receiver FIFO.
| <strong>HANDLE</strong> | Specifies the I2S Handle. |
| None |
Definition at line 372 of file gr55xx_hal_i2s.h.
| #define __HAL_I2S_FLUSH_TX_FIFO | ( | __HANDLE__ | ) | ll_i2s_clr_txfifo_all((__HANDLE__)->p_instance) |
Flush the I2S transmitter FIFO.
| <strong>HANDLE</strong> | Specifies the I2S Handle. |
| None |
Definition at line 366 of file gr55xx_hal_i2s.h.
| #define __HAL_I2S_GET_FLAG | ( | __HANDLE__, | |
| __FLAG__ | |||
| ) | ((READ_BITS((__HANDLE__)->p_instance->I2S_CHANNEL[0].INTSTAT, (__FLAG__)) != 0) ? SET : RESET) |
Check whether the specified I2S flag is set or not.
| <strong>HANDLE</strong> | Specifies the I2S Handle. |
| <strong>FLAG</strong> | Specifies the flag to check. This parameter can be one of the following values:
|
| The | new state of FLAG (TRUE or FALSE). |
Definition at line 432 of file gr55xx_hal_i2s.h.
| #define __HAL_I2S_RESET_HANDLE_STATE | ( | __HANDLE__ | ) | ((__HANDLE__)->state = HAL_I2S_STATE_RESET) |
Reset I2S handle states.
| <strong>HANDLE</strong> | I2S handle. |
| None |
Definition at line 284 of file gr55xx_hal_i2s.h.
| #define __HAL_I2S_RESET_RXDMA | ( | __HANDLE__ | ) | WRITE_REG((__HANDLE__)->p_instance->RXDMA_RST, I2S_RXDMA_RST) |
Reset the I2S RX DMA request to the lowest enabled channel.
| <strong>HANDLE</strong> | Specifies the I2S Handle. |
| None |
Definition at line 396 of file gr55xx_hal_i2s.h.
| #define __HAL_I2S_RESET_TXDMA | ( | __HANDLE__ | ) | WRITE_REG((__HANDLE__)->p_instance->TXDMA_RST, I2S_TXDMA_RST) |
Reset the I2S TX DMA request to the lowest enabled channel.
| <strong>HANDLE</strong> | Specifies the I2S Handle. |
| None |
Definition at line 390 of file gr55xx_hal_i2s.h.