|
STM32H735xx HAL User Manual
|
Data transfers functions. More...
Functions | |
| HAL_StatusTypeDef | HAL_SPIEx_FlushRxFifo (SPI_HandleTypeDef *hspi) |
| Flush the RX fifo. | |
| HAL_StatusTypeDef | HAL_SPIEx_EnableLockConfiguration (SPI_HandleTypeDef *hspi) |
| Enable the Lock for the AF configuration of associated IOs and write protect the Content of Configuration register 2 when SPI is enabled. | |
| HAL_StatusTypeDef | HAL_SPIEx_ConfigureUnderrun (SPI_HandleTypeDef *hspi, uint32_t UnderrunDetection, uint32_t UnderrunBehaviour) |
| Configure the UNDERRUN condition and behavior of slave transmitter. | |
Data transfers functions.
==============================================================================
##### IO operation functions #####
===============================================================================
[..]
This subsection provides a set of extended functions to manage the SPI
data transfers.
(#) SPIEx function:
(++) HAL_SPIEx_FlushRxFifo()
(++) HAL_SPIEx_FlushRxFifo()
(++) HAL_SPIEx_EnableLockConfiguration()
(++) HAL_SPIEx_ConfigureUnderrun()
| HAL_StatusTypeDef HAL_SPIEx_ConfigureUnderrun | ( | SPI_HandleTypeDef * | hspi, |
| uint32_t | UnderrunDetection, | ||
| uint32_t | UnderrunBehaviour | ||
| ) |
Configure the UNDERRUN condition and behavior of slave transmitter.
| hspi,: | pointer to a SPI_HandleTypeDef structure that contains the configuration information for SPI module. |
| UnderrunDetection | : Detection of underrun condition at slave transmitter This parameter can be a value of SPI Underrun Detection. |
| UnderrunBehaviour | : Behavior of slave transmitter at underrun condition This parameter can be a value of SPI Underrun Behavior. |
| None |
Definition at line 162 of file stm32h7xx_hal_spi_ex.c.
References __HAL_SPI_DISABLE, __HAL_SPI_ENABLE, assert_param, HAL_SPI_STATE_READY, __SPI_HandleTypeDef::Init, __SPI_HandleTypeDef::Instance, IS_SPI_UNDERRUN_BEHAVIOUR, IS_SPI_UNDERRUN_DETECTION, SPI_InitTypeDef::Mode, SPI_MODE_SLAVE, and __SPI_HandleTypeDef::State.
| HAL_StatusTypeDef HAL_SPIEx_EnableLockConfiguration | ( | SPI_HandleTypeDef * | hspi | ) |
Enable the Lock for the AF configuration of associated IOs and write protect the Content of Configuration register 2 when SPI is enabled.
| hspi,: | pointer to a SPI_HandleTypeDef structure that contains the configuration information for SPI module. |
| None |
Definition at line 114 of file stm32h7xx_hal_spi_ex.c.
References __HAL_SPI_DISABLE, __HAL_SPI_ENABLE, HAL_SPI_STATE_READY, __SPI_HandleTypeDef::Instance, and __SPI_HandleTypeDef::State.
| HAL_StatusTypeDef HAL_SPIEx_FlushRxFifo | ( | SPI_HandleTypeDef * | hspi | ) |
Flush the RX fifo.
| hspi,: | pointer to a SPI_HandleTypeDef structure that contains the configuration information for the specified SPI module. |
| HAL | status |
Definition at line 75 of file stm32h7xx_hal_spi_ex.c.
References __SPI_HandleTypeDef::Instance, SPI_FLAG_FRLVL, SPI_FLAG_RXWNE, SPI_HIGHEND_FIFO_SIZE, SPI_LOWEND_FIFO_SIZE, and SPI_RX_FIFO_0PACKET.
1.7.6.1