TUKS MCU Introductory course / TUKS-COURSE-THERMOMETER

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

Embed: (wiki syntax)

« Back to documentation index

Interrupt Management

Interrupt Management
[SPI Exported Functions]

Functions

__STATIC_INLINE void LL_SPI_EnableIT_ERR (SPI_TypeDef *SPIx)
 Enable error interrupt.
__STATIC_INLINE void LL_SPI_EnableIT_RXNE (SPI_TypeDef *SPIx)
 Enable Rx buffer not empty interrupt CR2 RXNEIE LL_SPI_EnableIT_RXNE.
__STATIC_INLINE void LL_SPI_EnableIT_TXE (SPI_TypeDef *SPIx)
 Enable Tx buffer empty interrupt CR2 TXEIE LL_SPI_EnableIT_TXE.
__STATIC_INLINE void LL_SPI_DisableIT_ERR (SPI_TypeDef *SPIx)
 Disable error interrupt.
__STATIC_INLINE void LL_SPI_DisableIT_RXNE (SPI_TypeDef *SPIx)
 Disable Rx buffer not empty interrupt CR2 RXNEIE LL_SPI_DisableIT_RXNE.
__STATIC_INLINE void LL_SPI_DisableIT_TXE (SPI_TypeDef *SPIx)
 Disable Tx buffer empty interrupt CR2 TXEIE LL_SPI_DisableIT_TXE.
__STATIC_INLINE uint32_t LL_SPI_IsEnabledIT_ERR (SPI_TypeDef *SPIx)
 Check if error interrupt is enabled CR2 ERRIE LL_SPI_IsEnabledIT_ERR.
__STATIC_INLINE uint32_t LL_SPI_IsEnabledIT_RXNE (SPI_TypeDef *SPIx)
 Check if Rx buffer not empty interrupt is enabled CR2 RXNEIE LL_SPI_IsEnabledIT_RXNE.
__STATIC_INLINE uint32_t LL_SPI_IsEnabledIT_TXE (SPI_TypeDef *SPIx)
 Check if Tx buffer empty interrupt CR2 TXEIE LL_SPI_IsEnabledIT_TXE.

Function Documentation

__STATIC_INLINE void LL_SPI_DisableIT_ERR ( SPI_TypeDef *  SPIx )

Disable error interrupt.

Note:
This bit controls the generation of an interrupt when an error condition occurs (CRCERR, OVR, MODF in SPI mode, FRE at TI mode). CR2 ERRIE LL_SPI_DisableIT_ERR
Parameters:
SPIxSPI Instance
Return values:
None

Definition at line 1141 of file stm32l4xx_ll_spi.h.

__STATIC_INLINE void LL_SPI_DisableIT_RXNE ( SPI_TypeDef *  SPIx )

Disable Rx buffer not empty interrupt CR2 RXNEIE LL_SPI_DisableIT_RXNE.

Parameters:
SPIxSPI Instance
Return values:
None

Definition at line 1152 of file stm32l4xx_ll_spi.h.

__STATIC_INLINE void LL_SPI_DisableIT_TXE ( SPI_TypeDef *  SPIx )

Disable Tx buffer empty interrupt CR2 TXEIE LL_SPI_DisableIT_TXE.

Parameters:
SPIxSPI Instance
Return values:
None

Definition at line 1163 of file stm32l4xx_ll_spi.h.

__STATIC_INLINE void LL_SPI_EnableIT_ERR ( SPI_TypeDef *  SPIx )

Enable error interrupt.

Note:
This bit controls the generation of an interrupt when an error condition occurs (CRCERR, OVR, MODF in SPI mode, FRE at TI mode). CR2 ERRIE LL_SPI_EnableIT_ERR
Parameters:
SPIxSPI Instance
Return values:
None

Definition at line 1107 of file stm32l4xx_ll_spi.h.

__STATIC_INLINE void LL_SPI_EnableIT_RXNE ( SPI_TypeDef *  SPIx )

Enable Rx buffer not empty interrupt CR2 RXNEIE LL_SPI_EnableIT_RXNE.

Parameters:
SPIxSPI Instance
Return values:
None

Definition at line 1118 of file stm32l4xx_ll_spi.h.

__STATIC_INLINE void LL_SPI_EnableIT_TXE ( SPI_TypeDef *  SPIx )

Enable Tx buffer empty interrupt CR2 TXEIE LL_SPI_EnableIT_TXE.

Parameters:
SPIxSPI Instance
Return values:
None

Definition at line 1129 of file stm32l4xx_ll_spi.h.

__STATIC_INLINE uint32_t LL_SPI_IsEnabledIT_ERR ( SPI_TypeDef *  SPIx )

Check if error interrupt is enabled CR2 ERRIE LL_SPI_IsEnabledIT_ERR.

Parameters:
SPIxSPI Instance
Return values:
Stateof bit (1 or 0).

Definition at line 1174 of file stm32l4xx_ll_spi.h.

__STATIC_INLINE uint32_t LL_SPI_IsEnabledIT_RXNE ( SPI_TypeDef *  SPIx )

Check if Rx buffer not empty interrupt is enabled CR2 RXNEIE LL_SPI_IsEnabledIT_RXNE.

Parameters:
SPIxSPI Instance
Return values:
Stateof bit (1 or 0).

Definition at line 1185 of file stm32l4xx_ll_spi.h.

__STATIC_INLINE uint32_t LL_SPI_IsEnabledIT_TXE ( SPI_TypeDef *  SPIx )

Check if Tx buffer empty interrupt CR2 TXEIE LL_SPI_IsEnabledIT_TXE.

Parameters:
SPIxSPI Instance
Return values:
Stateof bit (1 or 0).

Definition at line 1196 of file stm32l4xx_ll_spi.h.