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

__HAL_SPI_DISABLE_IT macro

Disable the specified SPI interrupts.

Syntax

#define __HAL_SPI_DISABLE_IT(__HANDLE__, __INTERRUPT__) CLEAR_BIT((__HANDLE__)->Instance->CR2, (__INTERRUPT__))

Arguments

__HANDLE__

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

__INTERRUPT__

specifies the interrupt source to disable. This parameter can be one of the following values: @arg SPI_IT_TXE: Tx buffer empty interrupt enable @arg SPI_IT_RXNE: RX buffer not empty interrupt enable @arg SPI_IT_ERR: Error interrupt enable

Return value

None

References

LocationText
stm32f4xx_hal_spi.h:373
#define __HAL_SPI_DISABLE_IT(__HANDLE__, __INTERRUPT__) CLEAR_BIT((__HANDLE__)->Instance->CR2, (__INTERRUPT__))
stm32f4xx_hal_spi.c:2471
__HAL_SPI_DISABLE_IT(hspi, SPI_IT_RXNE | SPI_IT_TXE | SPI_IT_ERR);
stm32f4xx_hal_spi.c:2720
__HAL_SPI_DISABLE_IT(hspi, SPI_IT_ERR);
stm32f4xx_hal_spi.c:2780
__HAL_SPI_DISABLE_IT(hspi, SPI_IT_ERR);
stm32f4xx_hal_spi.c:2869
__HAL_SPI_DISABLE_IT(hspi, SPI_IT_ERR);
stm32f4xx_hal_spi.c:3176
__HAL_SPI_DISABLE_IT(hspi, (SPI_IT_RXNE | SPI_IT_ERR));
stm32f4xx_hal_spi.c:3205
__HAL_SPI_DISABLE_IT(hspi, (SPI_IT_RXNE | SPI_IT_ERR));
stm32f4xx_hal_spi.c:3235
__HAL_SPI_DISABLE_IT(hspi, SPI_IT_TXE);
stm32f4xx_hal_spi.c:3241
__HAL_SPI_DISABLE_IT(hspi, SPI_IT_TXE);
stm32f4xx_hal_spi.c:3274
__HAL_SPI_DISABLE_IT(hspi, SPI_IT_RXNE);
stm32f4xx_hal_spi.c:3300
__HAL_SPI_DISABLE_IT(hspi, SPI_IT_RXNE);
stm32f4xx_hal_spi.c:3328
__HAL_SPI_DISABLE_IT(hspi, SPI_IT_TXE);
stm32f4xx_hal_spi.c:3334
__HAL_SPI_DISABLE_IT(hspi, SPI_IT_TXE);
stm32f4xx_hal_spi.c:3416
__HAL_SPI_DISABLE_IT(hspi, (SPI_IT_RXNE | SPI_IT_ERR));
stm32f4xx_hal_spi.c:3541
__HAL_SPI_DISABLE_IT(hspi, (SPI_IT_TXE | SPI_IT_RXNE | SPI_IT_ERR));
stm32f4xx_hal_spi.c:3689
__HAL_SPI_DISABLE_IT(hspi, SPI_IT_ERR);
stm32f4xx_hal_spi.c:3778
__HAL_SPI_DISABLE_IT(hspi, (SPI_IT_RXNE | SPI_IT_ERR));
stm32f4xx_hal_spi.c:3858
__HAL_SPI_DISABLE_IT(hspi, (SPI_IT_TXE | SPI_IT_ERR));