G32R430 Device Driver Layer v1.0.4
G32R4xx Device Driver Layer API Reference
Interrupt Management

Functions

__STATIC_INLINE void DDL_SPI_EnableIT_ERR (SPI_TypeDef *SPIx)
 Enable error interrupt.
__STATIC_INLINE void DDL_SPI_DisableIT_ERR (SPI_TypeDef *SPIx)
 Disable error interrupt.
__STATIC_INLINE uint32_t DDL_SPI_IsEnabledIT_ERR (SPI_TypeDef *SPIx)
 Check if error interrupt is enabled.
__STATIC_INLINE void DDL_SPI_EnableIT_RXNE (SPI_TypeDef *SPIx)
 Enable Rx buffer not empty interrupt.
__STATIC_INLINE void DDL_SPI_DisableIT_RXNE (SPI_TypeDef *SPIx)
 Disable Rx buffer not empty interrupt.
__STATIC_INLINE uint32_t DDL_SPI_IsEnabledIT_RXNE (SPI_TypeDef *SPIx)
 Check if Rx buffer not empty interrupt is enabled.
__STATIC_INLINE void DDL_SPI_EnableIT_TXE (SPI_TypeDef *SPIx)
 Enable Tx buffer empty interrupt.
__STATIC_INLINE void DDL_SPI_DisableIT_TXE (SPI_TypeDef *SPIx)
 Disable Tx buffer empty interrupt.
__STATIC_INLINE uint32_t DDL_SPI_IsEnabledIT_TXE (SPI_TypeDef *SPIx)
 Check if Tx buffer empty interrupt.
__STATIC_INLINE void DDL_SPI_EnableIT_CDM (SPI_TypeDef *SPIx)
 Enable CDM interrupt.
__STATIC_INLINE void DDL_SPI_DisableIT_CDM (SPI_TypeDef *SPIx)
 Disable CDM interrupt.
__STATIC_INLINE uint32_t DDL_SPI_IsEnabledIT_CDM (SPI_TypeDef *SPIx)
 Check if CDM interrupt is enabled.

Detailed Description

Function Documentation

◆ DDL_SPI_DisableIT_CDM()

__STATIC_INLINE void DDL_SPI_DisableIT_CDM ( SPI_TypeDef * SPIx)

Disable CDM interrupt.

Parameters
SPIxSPI Instance
Return values
None

Definition at line 1128 of file g32r4xx_ddl_spi.h.

◆ DDL_SPI_DisableIT_ERR()

__STATIC_INLINE void DDL_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).
Parameters
SPIxSPI Instance
Return values
None

Definition at line 1038 of file g32r4xx_ddl_spi.h.

◆ DDL_SPI_DisableIT_RXNE()

__STATIC_INLINE void DDL_SPI_DisableIT_RXNE ( SPI_TypeDef * SPIx)

Disable Rx buffer not empty interrupt.

Parameters
SPIxSPI Instance
Return values
None

Definition at line 1068 of file g32r4xx_ddl_spi.h.

◆ DDL_SPI_DisableIT_TXE()

__STATIC_INLINE void DDL_SPI_DisableIT_TXE ( SPI_TypeDef * SPIx)

Disable Tx buffer empty interrupt.

Parameters
SPIxSPI Instance
Return values
None

Definition at line 1098 of file g32r4xx_ddl_spi.h.

◆ DDL_SPI_EnableIT_CDM()

__STATIC_INLINE void DDL_SPI_EnableIT_CDM ( SPI_TypeDef * SPIx)

Enable CDM interrupt.

Parameters
SPIxSPI Instance
Return values
None

Definition at line 1118 of file g32r4xx_ddl_spi.h.

◆ DDL_SPI_EnableIT_ERR()

__STATIC_INLINE void DDL_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).
Parameters
SPIxSPI Instance
Return values
None

Definition at line 1027 of file g32r4xx_ddl_spi.h.

◆ DDL_SPI_EnableIT_RXNE()

__STATIC_INLINE void DDL_SPI_EnableIT_RXNE ( SPI_TypeDef * SPIx)

Enable Rx buffer not empty interrupt.

Parameters
SPIxSPI Instance
Return values
None

Definition at line 1058 of file g32r4xx_ddl_spi.h.

◆ DDL_SPI_EnableIT_TXE()

__STATIC_INLINE void DDL_SPI_EnableIT_TXE ( SPI_TypeDef * SPIx)

Enable Tx buffer empty interrupt.

Parameters
SPIxSPI Instance
Return values
None

Definition at line 1088 of file g32r4xx_ddl_spi.h.

◆ DDL_SPI_IsEnabledIT_CDM()

__STATIC_INLINE uint32_t DDL_SPI_IsEnabledIT_CDM ( SPI_TypeDef * SPIx)

Check if CDM interrupt is enabled.

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

Definition at line 1138 of file g32r4xx_ddl_spi.h.

◆ DDL_SPI_IsEnabledIT_ERR()

__STATIC_INLINE uint32_t DDL_SPI_IsEnabledIT_ERR ( SPI_TypeDef * SPIx)

Check if error interrupt is enabled.

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

Definition at line 1048 of file g32r4xx_ddl_spi.h.

◆ DDL_SPI_IsEnabledIT_RXNE()

__STATIC_INLINE uint32_t DDL_SPI_IsEnabledIT_RXNE ( SPI_TypeDef * SPIx)

Check if Rx buffer not empty interrupt is enabled.

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

Definition at line 1078 of file g32r4xx_ddl_spi.h.

◆ DDL_SPI_IsEnabledIT_TXE()

__STATIC_INLINE uint32_t DDL_SPI_IsEnabledIT_TXE ( SPI_TypeDef * SPIx)

Check if Tx buffer empty interrupt.

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

Definition at line 1108 of file g32r4xx_ddl_spi.h.