Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of TUKS-COURSE-TIMER by
Private functions. More...
Functions | |
static void | SAI_FillFifo (SAI_HandleTypeDef *hsai) |
Fill the fifo. | |
static uint32_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. | |
static void | SAI_DMAAbort (DMA_HandleTypeDef *hdma) |
DMA SAI Abort 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 1882 of file stm32l4xx_hal_sai.c.
static void SAI_DMAAbort | ( | DMA_HandleTypeDef * | hdma ) | [static] |
DMA SAI Abort 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 2163 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 2134 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 2099 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 2122 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 2061 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 2086 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 1819 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 data size 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 1659 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 data size nbslot,: number of slot minimum value is 1 and the max is 16.
- Return values:
-
HAL status
Definition at line 1752 of file stm32l4xx_hal_sai.c.
static uint32_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 1849 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 2008 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 2034 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 1982 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 1932 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 1957 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 1908 of file stm32l4xx_hal_sai.c.
Generated on Tue Jul 12 2022 17:38:54 by
