L4 HAL Drivers
Private functions. More...
Functions | |
static void | SAI_FillFifo (SAI_HandleTypeDef *hsai) |
Fill the fifo. | |
static int32_t | SAI_InterruptFlag (SAI_HandleTypeDef *hsai, uint32_t mode) |
Return the interrupt flag to set according the SAI setup. | |
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. | |
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. | |
static HAL_StatusTypeDef | SAI_Disable (SAI_HandleTypeDef *hsai) |
Disable the SAI and wait for the disabling. | |
static void | SAI_Transmit_IT8Bit (SAI_HandleTypeDef *hsai) |
Tx Handler for Transmit in Interrupt mode 8-bit transfer. | |
static void | SAI_Transmit_IT16Bit (SAI_HandleTypeDef *hsai) |
Tx Handler for Transmit in Interrupt mode for 16-bit transfer. | |
static void | SAI_Transmit_IT32Bit (SAI_HandleTypeDef *hsai) |
Tx Handler for Transmit in Interrupt mode for 32-bit transfer. | |
static void | SAI_Receive_IT8Bit (SAI_HandleTypeDef *hsai) |
Rx Handler for Receive in Interrupt mode 8-bit transfer. | |
static void | SAI_Receive_IT16Bit (SAI_HandleTypeDef *hsai) |
Rx Handler for Receive in Interrupt mode for 16-bit transfer. | |
static void | SAI_Receive_IT32Bit (SAI_HandleTypeDef *hsai) |
Rx Handler for Receive in Interrupt mode for 32-bit transfer. | |
static void | SAI_DMATxCplt (DMA_HandleTypeDef *hdma) |
DMA SAI transmit process complete callback. | |
static void | SAI_DMATxHalfCplt (DMA_HandleTypeDef *hdma) |
DMA SAI transmit process half complete callback. | |
static void | SAI_DMARxCplt (DMA_HandleTypeDef *hdma) |
DMA SAI receive process complete callback. | |
static void | SAI_DMARxHalfCplt (DMA_HandleTypeDef *hdma) |
DMA SAI receive process half complete callback. | |
static void | SAI_DMAError (DMA_HandleTypeDef *hdma) |
DMA SAI communication error callback. |
Detailed Description
Private functions.
Function Documentation
static HAL_StatusTypeDef SAI_Disable | ( | SAI_HandleTypeDef * | hsai ) | [static] |
Disable the SAI and wait for the disabling.
- Parameters:
-
hsai,: pointer to a SAI_HandleTypeDef structure that contains the configuration information for SAI module.
- Return values:
-
None
Definition at line 1634 of file stm32l4xx_hal_sai.c.
static void SAI_DMAError | ( | DMA_HandleTypeDef * | hdma ) | [static] |
DMA SAI communication error callback.
- Parameters:
-
hdma,: pointer to a DMA_HandleTypeDef structure that contains the configuration information for the specified DMA module.
- Return values:
-
None
Definition at line 1878 of file stm32l4xx_hal_sai.c.
static void SAI_DMARxCplt | ( | DMA_HandleTypeDef * | hdma ) | [static] |
DMA SAI receive process complete callback.
- Parameters:
-
hdma,: pointer to a DMA_HandleTypeDef structure that contains the configuration information for the specified DMA module.
- Return values:
-
None
Definition at line 1843 of file stm32l4xx_hal_sai.c.
static void SAI_DMARxHalfCplt | ( | DMA_HandleTypeDef * | hdma ) | [static] |
DMA SAI receive process half complete callback.
- Parameters:
-
hdma,: pointer to a DMA_HandleTypeDef structure that contains the configuration information for the specified DMA module.
- Return values:
-
None
Definition at line 1866 of file stm32l4xx_hal_sai.c.
static void SAI_DMATxCplt | ( | DMA_HandleTypeDef * | hdma ) | [static] |
DMA SAI transmit process complete callback.
- Parameters:
-
hdma,: pointer to a DMA_HandleTypeDef structure that contains the configuration information for the specified DMA module.
- Return values:
-
None
Definition at line 1805 of file stm32l4xx_hal_sai.c.
static void SAI_DMATxHalfCplt | ( | DMA_HandleTypeDef * | hdma ) | [static] |
DMA SAI transmit process half complete callback.
- Parameters:
-
hdma,: pointer to a DMA_HandleTypeDef structure that contains the configuration information for the specified DMA module.
- Return values:
-
None
Definition at line 1830 of file stm32l4xx_hal_sai.c.
static void SAI_FillFifo | ( | SAI_HandleTypeDef * | hsai ) | [static] |
Fill the fifo.
- Parameters:
-
hsai,: pointer to a SAI_HandleTypeDef structure that contains the configuration information for SAI module.
- Return values:
-
None
Definition at line 1577 of file stm32l4xx_hal_sai.c.
static HAL_StatusTypeDef SAI_InitI2S | ( | SAI_HandleTypeDef * | hsai, |
uint32_t | protocol, | ||
uint32_t | datasize, | ||
uint32_t | nbslot | ||
) | [static] |
Initialize the SAI I2S protocol according to the specified parameters in the SAI_InitTypeDef and create the associated handle.
- Parameters:
-
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_DataSize the configuration information for SAI module. nbslot,: number of slot minimum value is 2 and max is 16. the value must be a multiple of 2.
- Return values:
-
HAL status
Definition at line 1422 of file stm32l4xx_hal_sai.c.
static HAL_StatusTypeDef SAI_InitPCM | ( | SAI_HandleTypeDef * | hsai, |
uint32_t | protocol, | ||
uint32_t | datasize, | ||
uint32_t | nbslot | ||
) | [static] |
Initialize the SAI PCM protocol according to the specified parameters in the SAI_InitTypeDef and create the associated handle.
- Parameters:
-
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_DataSize nbslot,: number of slot minimum value is 1 and the max is 16.
- Return values:
-
HAL status
Definition at line 1522 of file stm32l4xx_hal_sai.c.
static int32_t SAI_InterruptFlag | ( | SAI_HandleTypeDef * | hsai, |
uint32_t | mode | ||
) | [static] |
Return the interrupt flag to set according the SAI setup.
- Parameters:
-
hsai,: pointer to a SAI_HandleTypeDef structure that contains the configuration information for SAI module. mode,: SAI_MODE_DMA or SAI_MODE_IT
- Return values:
-
the list of the IT flag to enable
Definition at line 1607 of file stm32l4xx_hal_sai.c.
static void SAI_Receive_IT16Bit | ( | SAI_HandleTypeDef * | hsai ) | [static] |
Rx Handler for Receive in Interrupt mode for 16-bit transfer.
- Parameters:
-
hsai,: pointer to a SAI_HandleTypeDef structure that contains the configuration information for SAI module.
- Return values:
-
None
Definition at line 1753 of file stm32l4xx_hal_sai.c.
static void SAI_Receive_IT32Bit | ( | SAI_HandleTypeDef * | hsai ) | [static] |
Rx Handler for Receive in Interrupt mode for 32-bit transfer.
- Parameters:
-
hsai,: pointer to a SAI_HandleTypeDef structure that contains the configuration information for SAI module.
- Return values:
-
None
Definition at line 1779 of file stm32l4xx_hal_sai.c.
static void SAI_Receive_IT8Bit | ( | SAI_HandleTypeDef * | hsai ) | [static] |
Rx Handler for Receive in Interrupt mode 8-bit transfer.
- Parameters:
-
hsai,: pointer to a SAI_HandleTypeDef structure that contains the configuration information for SAI module.
- Return values:
-
None
Definition at line 1727 of file stm32l4xx_hal_sai.c.
static void SAI_Transmit_IT16Bit | ( | SAI_HandleTypeDef * | hsai ) | [static] |
Tx Handler for Transmit in Interrupt mode for 16-bit transfer.
- Parameters:
-
hsai,: pointer to a SAI_HandleTypeDef structure that contains the configuration information for SAI module.
- Return values:
-
None
Definition at line 1681 of file stm32l4xx_hal_sai.c.
static void SAI_Transmit_IT32Bit | ( | SAI_HandleTypeDef * | hsai ) | [static] |
Tx Handler for Transmit in Interrupt mode for 32-bit transfer.
- Parameters:
-
hsai,: pointer to a SAI_HandleTypeDef structure that contains the configuration information for SAI module.
- Return values:
-
None
Definition at line 1704 of file stm32l4xx_hal_sai.c.
static void SAI_Transmit_IT8Bit | ( | SAI_HandleTypeDef * | hsai ) | [static] |
Tx Handler for Transmit in Interrupt mode 8-bit transfer.
- Parameters:
-
hsai,: pointer to a SAI_HandleTypeDef structure that contains the configuration information for SAI module.
- Return values:
-
None
Definition at line 1659 of file stm32l4xx_hal_sai.c.
Generated on Tue Jul 12 2022 10:58:18 by 1.7.2