TUKS MCU Introductory course / TUKS-COURSE-THERMOMETER

Fork of TUKS-COURSE-TIMER by TUKS MCU Introductory course

Embed: (wiki syntax)

« Back to documentation index

SPI Private Functions

SPI Private Functions
[SPI]

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 2254 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 2285 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 2142 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 2189 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 2303 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 2215 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 2688 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 2640 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 2726 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 2124 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 2098 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 2085 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 2111 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 1944 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 1905 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 2018 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 2585 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 2617 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 2399 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 2380 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 2352 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 2333 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 2451 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 2428 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:
HALstatus

Definition at line 2529 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:
HALstatus

Definition at line 2478 of file stm32l4xx_hal_spi.c.