|
STM32F479xx HAL User Manual
|
SPI control functions. More...
Functions | |
| HAL_SPI_StateTypeDef | HAL_SPI_GetState (SPI_HandleTypeDef *hspi) |
| Return the SPI handle state. | |
| uint32_t | HAL_SPI_GetError (SPI_HandleTypeDef *hspi) |
| Return the SPI error code. | |
SPI control functions.
===============================================================================
##### Peripheral State and Errors functions #####
===============================================================================
[..]
This subsection provides a set of functions allowing to control the SPI.
(+) HAL_SPI_GetState() API can be helpful to check in run-time the state of the SPI peripheral
(+) HAL_SPI_GetError() check in run-time Errors occurring during communication
| uint32_t HAL_SPI_GetError | ( | SPI_HandleTypeDef * | hspi | ) |
Return the SPI error code.
| hspi | pointer to a SPI_HandleTypeDef structure that contains the configuration information for SPI module. |
| SPI | error code in bitmap format |
Definition at line 2648 of file stm32f4xx_hal_spi.c.
References __SPI_HandleTypeDef::ErrorCode.
Return the SPI handle state.
| hspi | pointer to a SPI_HandleTypeDef structure that contains the configuration information for SPI module. |
| SPI | state |
Definition at line 2636 of file stm32f4xx_hal_spi.c.
References __SPI_HandleTypeDef::State.
1.7.6.1