L4 HAL Drivers
Private functions. More...
Functions | |
static void | SPI_DMATransmitCplt (DMA_HandleTypeDef *hdma) |
DMA SPI transmit process complete callback. | |
static void | SPI_DMAReceiveCplt (DMA_HandleTypeDef *hdma) |
DMA SPI receive process complete callback. | |
static void | SPI_DMATransmitReceiveCplt (DMA_HandleTypeDef *hdma) |
DMA SPI transmit receive process complete callback. | |
static void | SPI_DMAHalfTransmitCplt (DMA_HandleTypeDef *hdma) |
DMA SPI half transmit process complete callback. | |
static void | SPI_DMAHalfReceiveCplt (DMA_HandleTypeDef *hdma) |
DMA SPI half receive process complete callback. | |
static void | SPI_DMAHalfTransmitReceiveCplt (DMA_HandleTypeDef *hdma) |
DMA SPI half transmit receive process complete callback. | |
static void | SPI_DMAError (DMA_HandleTypeDef *hdma) |
DMA SPI communication error callback. | |
static HAL_StatusTypeDef | SPI_WaitFlagStateUntilTimeout (SPI_HandleTypeDef *hspi, uint32_t Flag, uint32_t State, uint32_t Timeout) |
Handle SPI Communication Timeout. | |
static HAL_StatusTypeDef | SPI_WaitFifoStateUntilTimeout (SPI_HandleTypeDef *hspi, uint32_t Fifo, uint32_t State, uint32_t Timeout) |
Handle SPI FIFO Communication Timeout. | |
static void | SPI_TxISR_8BIT (struct __SPI_HandleTypeDef *hspi) |
Handle the data 8-bit transmit in Interrupt mode. | |
static void | SPI_TxISR_16BIT (struct __SPI_HandleTypeDef *hspi) |
Handle the data 16-bit transmit in Interrupt mode. | |
static void | SPI_RxISR_8BIT (struct __SPI_HandleTypeDef *hspi) |
Manage the receive 8-bit in Interrupt context. | |
static void | SPI_RxISR_8BITCRC (struct __SPI_HandleTypeDef *hspi) |
Manage the CRC 8-bit receive in Interrupt context. | |
static void | SPI_RxISR_16BIT (struct __SPI_HandleTypeDef *hspi) |
Manage the 16-bit receive in Interrupt context. | |
static void | SPI_RxISR_16BITCRC (struct __SPI_HandleTypeDef *hspi) |
Manage the CRC 16-bit receive in Interrupt context. | |
static void | SPI_2linesRxISR_8BIT (struct __SPI_HandleTypeDef *hspi) |
Rx 8-bit handler for Transmit and Receive in Interrupt mode. | |
static void | SPI_2linesRxISR_8BITCRC (struct __SPI_HandleTypeDef *hspi) |
Rx 8-bit handler for Transmit and Receive in Interrupt mode. | |
static void | SPI_2linesTxISR_8BIT (struct __SPI_HandleTypeDef *hspi) |
Tx 8-bit handler for Transmit and Receive in Interrupt mode. | |
static void | SPI_2linesTxISR_16BIT (struct __SPI_HandleTypeDef *hspi) |
Tx 16-bit handler for Transmit and Receive in Interrupt mode. | |
static void | SPI_2linesRxISR_16BIT (struct __SPI_HandleTypeDef *hspi) |
Rx 16-bit handler for Transmit and Receive in Interrupt mode. | |
static void | SPI_2linesRxISR_16BITCRC (struct __SPI_HandleTypeDef *hspi) |
Manage the CRC 16-bit receive for Transmit and Receive in Interrupt mode. | |
static void | SPI_CloseRxTx_ISR (SPI_HandleTypeDef *hspi) |
Handle the end of the RXTX transaction. | |
static void | SPI_CloseRx_ISR (SPI_HandleTypeDef *hspi) |
Handle the end of the RX transaction. | |
static void | SPI_CloseTx_ISR (SPI_HandleTypeDef *hspi) |
Handle the end of the TX transaction. | |
static HAL_StatusTypeDef | SPI_EndRxTransaction (SPI_HandleTypeDef *hspi, uint32_t Timeout) |
Handle the check of the RX transaction complete. | |
static HAL_StatusTypeDef | SPI_EndRxTxTransaction (SPI_HandleTypeDef *hspi, uint32_t Timeout) |
Handle the check of the RXTX or TX transaction complete. |
Detailed Description
Private functions.
Function Documentation
static void SPI_2linesRxISR_16BIT | ( | struct __SPI_HandleTypeDef * | hspi ) | [static] |
Rx 16-bit handler for Transmit and Receive in Interrupt mode.
- Parameters:
-
hspi,: pointer to a SPI_HandleTypeDef structure that contains the configuration information for SPI module.
- Return values:
-
None
Definition at line 2228 of file stm32l4xx_hal_spi.c.
static void SPI_2linesRxISR_16BITCRC | ( | struct __SPI_HandleTypeDef * | hspi ) | [static] |
Manage the CRC 16-bit receive for Transmit and Receive in Interrupt mode.
- Parameters:
-
hspi,: pointer to a SPI_HandleTypeDef structure that contains the configuration information for SPI module.
- Return values:
-
None
Definition at line 2259 of file stm32l4xx_hal_spi.c.
static void SPI_2linesRxISR_8BIT | ( | struct __SPI_HandleTypeDef * | hspi ) | [static] |
Rx 8-bit handler for Transmit and Receive in Interrupt mode.
- Parameters:
-
hspi,: pointer to a SPI_HandleTypeDef structure that contains the configuration information for SPI module.
- Return values:
-
None
Definition at line 2116 of file stm32l4xx_hal_spi.c.
static void SPI_2linesRxISR_8BITCRC | ( | struct __SPI_HandleTypeDef * | hspi ) | [static] |
Rx 8-bit handler for Transmit and Receive in Interrupt mode.
- Parameters:
-
hspi,: pointer to a SPI_HandleTypeDef structure that contains the configuration information for SPI module.
- Return values:
-
None
Definition at line 2163 of file stm32l4xx_hal_spi.c.
static void SPI_2linesTxISR_16BIT | ( | struct __SPI_HandleTypeDef * | hspi ) | [static] |
Tx 16-bit handler for Transmit and Receive in Interrupt mode.
- Parameters:
-
hspi,: pointer to a SPI_HandleTypeDef structure that contains the configuration information for SPI module.
- Return values:
-
None
Definition at line 2277 of file stm32l4xx_hal_spi.c.
static void SPI_2linesTxISR_8BIT | ( | struct __SPI_HandleTypeDef * | hspi ) | [static] |
Tx 8-bit handler for Transmit and Receive in Interrupt mode.
- Parameters:
-
hspi,: pointer to a SPI_HandleTypeDef structure that contains the configuration information for SPI module.
- Return values:
-
None
Definition at line 2189 of file stm32l4xx_hal_spi.c.
static void SPI_CloseRx_ISR | ( | SPI_HandleTypeDef * | hspi ) | [static] |
Handle the end of the RX transaction.
- Parameters:
-
hspi,: pointer to a SPI_HandleTypeDef structure that contains the configuration information for SPI module.
- Return values:
-
None
Definition at line 2662 of file stm32l4xx_hal_spi.c.
static void SPI_CloseRxTx_ISR | ( | SPI_HandleTypeDef * | hspi ) | [static] |
Handle the end of the RXTX transaction.
- Parameters:
-
hspi,: pointer to a SPI_HandleTypeDef structure that contains the configuration information for SPI module.
- Return values:
-
None
Definition at line 2614 of file stm32l4xx_hal_spi.c.
static void SPI_CloseTx_ISR | ( | SPI_HandleTypeDef * | hspi ) | [static] |
Handle the end of the TX transaction.
- Parameters:
-
hspi,: pointer to a SPI_HandleTypeDef structure that contains the configuration information for SPI module.
- Return values:
-
None
Definition at line 2700 of file stm32l4xx_hal_spi.c.
static void SPI_DMAError | ( | DMA_HandleTypeDef * | hdma ) | [static] |
DMA SPI 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 2098 of file stm32l4xx_hal_spi.c.
static void SPI_DMAHalfReceiveCplt | ( | DMA_HandleTypeDef * | hdma ) | [static] |
DMA SPI half 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 2072 of file stm32l4xx_hal_spi.c.
static void SPI_DMAHalfTransmitCplt | ( | DMA_HandleTypeDef * | hdma ) | [static] |
DMA SPI half 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 2059 of file stm32l4xx_hal_spi.c.
static void SPI_DMAHalfTransmitReceiveCplt | ( | DMA_HandleTypeDef * | hdma ) | [static] |
DMA SPI half transmit 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 2085 of file stm32l4xx_hal_spi.c.
static void SPI_DMAReceiveCplt | ( | DMA_HandleTypeDef * | hdma ) | [static] |
DMA SPI 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 1918 of file stm32l4xx_hal_spi.c.
static void SPI_DMATransmitCplt | ( | DMA_HandleTypeDef * | hdma ) | [static] |
DMA SPI 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 1879 of file stm32l4xx_hal_spi.c.
static void SPI_DMATransmitReceiveCplt | ( | DMA_HandleTypeDef * | hdma ) | [static] |
DMA SPI transmit 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 1992 of file stm32l4xx_hal_spi.c.
static HAL_StatusTypeDef SPI_EndRxTransaction | ( | SPI_HandleTypeDef * | hspi, |
uint32_t | Timeout | ||
) | [static] |
Handle the check of the RX transaction complete.
- Parameters:
-
hspi,: pointer to a SPI_HandleTypeDef structure that contains the configuration information for SPI module. Timeout : Timeout duration
- Return values:
-
None
Definition at line 2559 of file stm32l4xx_hal_spi.c.
static HAL_StatusTypeDef SPI_EndRxTxTransaction | ( | SPI_HandleTypeDef * | hspi, |
uint32_t | Timeout | ||
) | [static] |
Handle the check of the RXTX or TX transaction complete.
- Parameters:
-
hspi,: SPI handle Timeout : Timeout duration
Definition at line 2591 of file stm32l4xx_hal_spi.c.
static void SPI_RxISR_16BIT | ( | struct __SPI_HandleTypeDef * | hspi ) | [static] |
Manage the 16-bit receive in Interrupt context.
- Parameters:
-
hspi,: pointer to a SPI_HandleTypeDef structure that contains the configuration information for SPI module.
- Return values:
-
None
Definition at line 2373 of file stm32l4xx_hal_spi.c.
static void SPI_RxISR_16BITCRC | ( | struct __SPI_HandleTypeDef * | hspi ) | [static] |
Manage the CRC 16-bit receive in Interrupt context.
- Parameters:
-
hspi,: pointer to a SPI_HandleTypeDef structure that contains the configuration information for SPI module.
- Return values:
-
None
Definition at line 2354 of file stm32l4xx_hal_spi.c.
static void SPI_RxISR_8BIT | ( | struct __SPI_HandleTypeDef * | hspi ) | [static] |
Manage the receive 8-bit in Interrupt context.
- Parameters:
-
hspi,: pointer to a SPI_HandleTypeDef structure that contains the configuration information for SPI module.
- Return values:
-
None
Definition at line 2326 of file stm32l4xx_hal_spi.c.
static void SPI_RxISR_8BITCRC | ( | struct __SPI_HandleTypeDef * | hspi ) | [static] |
Manage the CRC 8-bit receive in Interrupt context.
- Parameters:
-
hspi,: pointer to a SPI_HandleTypeDef structure that contains the configuration information for SPI module.
- Return values:
-
None
Definition at line 2307 of file stm32l4xx_hal_spi.c.
static void SPI_TxISR_16BIT | ( | struct __SPI_HandleTypeDef * | hspi ) | [static] |
Handle the data 16-bit transmit in Interrupt mode.
- Parameters:
-
hspi,: pointer to a SPI_HandleTypeDef structure that contains the configuration information for SPI module.
- Return values:
-
None
Definition at line 2425 of file stm32l4xx_hal_spi.c.
static void SPI_TxISR_8BIT | ( | struct __SPI_HandleTypeDef * | hspi ) | [static] |
Handle the data 8-bit transmit in Interrupt mode.
- Parameters:
-
hspi,: pointer to a SPI_HandleTypeDef structure that contains the configuration information for SPI module.
- Return values:
-
None
Definition at line 2402 of file stm32l4xx_hal_spi.c.
static HAL_StatusTypeDef SPI_WaitFifoStateUntilTimeout | ( | SPI_HandleTypeDef * | hspi, |
uint32_t | Fifo, | ||
uint32_t | State, | ||
uint32_t | Timeout | ||
) | [static] |
Handle SPI FIFO Communication Timeout.
- Parameters:
-
hspi,: pointer to a SPI_HandleTypeDef structure that contains the configuration information for SPI module. Fifo : Fifo to check State : Fifo state to check Timeout : Timeout duration
- Return values:
-
HAL status
Definition at line 2503 of file stm32l4xx_hal_spi.c.
static HAL_StatusTypeDef SPI_WaitFlagStateUntilTimeout | ( | SPI_HandleTypeDef * | hspi, |
uint32_t | Flag, | ||
uint32_t | State, | ||
uint32_t | Timeout | ||
) | [static] |
Handle SPI Communication Timeout.
- Parameters:
-
hspi,: pointer to a SPI_HandleTypeDef structure that contains the configuration information for SPI module. Flag : SPI flag to check State : flag state to check Timeout : Timeout duration
- Return values:
-
HAL status
Definition at line 2452 of file stm32l4xx_hal_spi.c.
Generated on Tue Jul 12 2022 10:58:18 by 1.7.2