HAL
__HAL_SPI_DISABLE is only used within HAL.
 
Symbols
loading...
Files
loading...

__HAL_SPI_DISABLE macro

Disable the SPI peripheral.

Syntax

#define __HAL_SPI_DISABLE(__HANDLE__) CLEAR_BIT((__HANDLE__)->Instance->CR1, SPI_CR1_SPE)

Arguments

__HANDLE__

specifies the SPI Handle. This parameter can be SPI where x: 1, 2, or 3 to select the SPI peripheral.

Return value

None

References

LocationText
stm32f4xx_hal_spi.h:461
#define __HAL_SPI_DISABLE(__HANDLE__) CLEAR_BIT((__HANDLE__)->Instance->CR1, SPI_CR1_SPE)
stm32f4xx_hal_spi.c:393
__HAL_SPI_DISABLE(hspi);
stm32f4xx_hal_spi.c:451
__HAL_SPI_DISABLE(hspi);
stm32f4xx_hal_spi.c:815
__HAL_SPI_DISABLE(hspi);
stm32f4xx_hal_spi.c:1000
__HAL_SPI_DISABLE(hspi);
stm32f4xx_hal_spi.c:1443
__HAL_SPI_DISABLE(hspi);
stm32f4xx_hal_spi.c:1534
__HAL_SPI_DISABLE(hspi);
stm32f4xx_hal_spi.c:1707
__HAL_SPI_DISABLE(hspi);
stm32f4xx_hal_spi.c:1821
__HAL_SPI_DISABLE(hspi);
stm32f4xx_hal_spi.c:2127
__HAL_SPI_DISABLE(hspi);
stm32f4xx_hal_spi.c:3103
__HAL_SPI_DISABLE(hspi);
stm32f4xx_hal_spi.c:3547
__HAL_SPI_DISABLE(hspi);
stm32f4xx_hal_spi.c:3589
__HAL_SPI_DISABLE(hspi);
stm32f4xx_hal_spi.c:3916
__HAL_SPI_DISABLE(hspi);
stm32f4xx_hal_spi.c:3941
__HAL_SPI_DISABLE(hspi);