|
STM32L4xx_HAL_Driver
1.14.0
|
Private functions. More...
Functions | |
| static void | SAI_FillFifo (SAI_HandleTypeDef *hsai) |
| Fill the fifo. More... | |
| static uint32_t | SAI_InterruptFlag (const SAI_HandleTypeDef *hsai, SAI_ModeTypedef mode) |
| Return the interrupt flag to set according the SAI setup. More... | |
| static HAL_StatusTypeDef | SAI_InitI2S (SAI_HandleTypeDef *hsai, uint32_t protocol, uint32_t datasize, uint32_t nbslot) |
| Initialize the SAI I2S protocol according to the specified parameters in the SAI_InitTypeDef and create the associated handle. More... | |
| static HAL_StatusTypeDef | SAI_InitPCM (SAI_HandleTypeDef *hsai, uint32_t protocol, uint32_t datasize, uint32_t nbslot) |
| Initialize the SAI PCM protocol according to the specified parameters in the SAI_InitTypeDef and create the associated handle. More... | |
| static HAL_StatusTypeDef | SAI_Disable (SAI_HandleTypeDef *hsai) |
| Disable the SAI and wait for the disabling. More... | |
| static void | SAI_Transmit_IT8Bit (SAI_HandleTypeDef *hsai) |
| Tx Handler for Transmit in Interrupt mode 8-Bit transfer. More... | |
| static void | SAI_Transmit_IT16Bit (SAI_HandleTypeDef *hsai) |
| Tx Handler for Transmit in Interrupt mode for 16-Bit transfer. More... | |
| static void | SAI_Transmit_IT32Bit (SAI_HandleTypeDef *hsai) |
| Tx Handler for Transmit in Interrupt mode for 32-Bit transfer. More... | |
| static void | SAI_Receive_IT8Bit (SAI_HandleTypeDef *hsai) |
| Rx Handler for Receive in Interrupt mode 8-Bit transfer. More... | |
| static void | SAI_Receive_IT16Bit (SAI_HandleTypeDef *hsai) |
| Rx Handler for Receive in Interrupt mode for 16-Bit transfer. More... | |
| static void | SAI_Receive_IT32Bit (SAI_HandleTypeDef *hsai) |
| Rx Handler for Receive in Interrupt mode for 32-Bit transfer. More... | |
| static void | SAI_DMATxCplt (DMA_HandleTypeDef *hdma) |
| DMA SAI transmit process complete callback. More... | |
| static void | SAI_DMATxHalfCplt (DMA_HandleTypeDef *hdma) |
| DMA SAI transmit process half complete callback. More... | |
| static void | SAI_DMARxCplt (DMA_HandleTypeDef *hdma) |
| DMA SAI receive process complete callback. More... | |
| static void | SAI_DMARxHalfCplt (DMA_HandleTypeDef *hdma) |
| DMA SAI receive process half complete callback. More... | |
| static void | SAI_DMAError (DMA_HandleTypeDef *hdma) |
| DMA SAI communication error callback. More... | |
| static void | SAI_DMAAbort (DMA_HandleTypeDef *hdma) |
| DMA SAI Abort callback. More... | |
Private functions.
|
static |
Disable the SAI and wait for the disabling.
| hsai | pointer to a SAI_HandleTypeDef structure that contains the configuration information for SAI module. |
| None |
Definition at line 2430 of file stm32l4xx_hal_sai.c.
|
static |
DMA SAI Abort callback.
| hdma | pointer to a DMA_HandleTypeDef structure that contains the configuration information for the specified DMA module. |
| None |
Definition at line 2792 of file stm32l4xx_hal_sai.c.
|
static |
DMA SAI communication error callback.
| hdma | pointer to a DMA_HandleTypeDef structure that contains the configuration information for the specified DMA module. |
| None |
Definition at line 2758 of file stm32l4xx_hal_sai.c.
|
static |
DMA SAI receive process complete callback.
| hdma | pointer to a DMA_HandleTypeDef structure that contains the configuration information for the specified DMA module. |
| None |
Definition at line 2713 of file stm32l4xx_hal_sai.c.
|
static |
DMA SAI receive process half complete callback.
| hdma | pointer to a DMA_HandleTypeDef structure that contains the configuration information for the specified DMA module. |
| None |
Definition at line 2741 of file stm32l4xx_hal_sai.c.
|
static |
DMA SAI transmit process complete callback.
| hdma | pointer to a DMA_HandleTypeDef structure that contains the configuration information for the specified DMA module. |
| None |
Definition at line 2667 of file stm32l4xx_hal_sai.c.
|
static |
DMA SAI transmit process half complete callback.
| hdma | pointer to a DMA_HandleTypeDef structure that contains the configuration information for the specified DMA module. |
| None |
Definition at line 2696 of file stm32l4xx_hal_sai.c.
|
static |
Fill the fifo.
| hsai | pointer to a SAI_HandleTypeDef structure that contains the configuration information for SAI module. |
| None |
Definition at line 2354 of file stm32l4xx_hal_sai.c.
|
static |
Initialize the SAI I2S protocol according to the specified parameters in the SAI_InitTypeDef and create the associated handle.
| hsai | pointer to a SAI_HandleTypeDef structure that contains the configuration information for SAI module. |
| protocol | one of the supported protocol. |
| datasize | one of the supported datasize SAI protocol data size. |
| nbslot | number of slot minimum value is 2 and max is 16. the value must be a multiple of 2. |
| HAL | status |
Definition at line 2182 of file stm32l4xx_hal_sai.c.
|
static |
Initialize the SAI PCM protocol according to the specified parameters in the SAI_InitTypeDef and create the associated handle.
| hsai | pointer to a SAI_HandleTypeDef structure that contains the configuration information for SAI module. |
| protocol | one of the supported protocol |
| datasize | one of the supported datasize SAI protocol data size |
| nbslot | number of slot minimum value is 1 and the max is 16. |
| HAL | status |
Definition at line 2281 of file stm32l4xx_hal_sai.c.
|
static |
Return the interrupt flag to set according the SAI setup.
| hsai | pointer to a SAI_HandleTypeDef structure that contains the configuration information for SAI module. |
| mode | SAI_MODE_DMA or SAI_MODE_IT |
| the | list of the IT flag to enable |
Definition at line 2397 of file stm32l4xx_hal_sai.c.
|
static |
Rx Handler for Receive in Interrupt mode for 16-Bit transfer.
| hsai | pointer to a SAI_HandleTypeDef structure that contains the configuration information for SAI module. |
| None |
Definition at line 2591 of file stm32l4xx_hal_sai.c.
|
static |
Rx Handler for Receive in Interrupt mode for 32-Bit transfer.
| hsai | pointer to a SAI_HandleTypeDef structure that contains the configuration information for SAI module. |
| None |
Definition at line 2627 of file stm32l4xx_hal_sai.c.
|
static |
Rx Handler for Receive in Interrupt mode 8-Bit transfer.
| hsai | pointer to a SAI_HandleTypeDef structure that contains the configuration information for SAI module. |
| None |
Definition at line 2560 of file stm32l4xx_hal_sai.c.
|
static |
Tx Handler for Transmit in Interrupt mode for 16-Bit transfer.
| hsai | pointer to a SAI_HandleTypeDef structure that contains the configuration information for SAI module. |
| None |
Definition at line 2490 of file stm32l4xx_hal_sai.c.
|
static |
Tx Handler for Transmit in Interrupt mode for 32-Bit transfer.
| hsai | pointer to a SAI_HandleTypeDef structure that contains the configuration information for SAI module. |
| None |
Definition at line 2523 of file stm32l4xx_hal_sai.c.
|
static |
Tx Handler for Transmit in Interrupt mode 8-Bit transfer.
| hsai | pointer to a SAI_HandleTypeDef structure that contains the configuration information for SAI module. |
| None |
Definition at line 2461 of file stm32l4xx_hal_sai.c.