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

Functions

__STATIC_INLINE void DDL_SPI_EnableDMAReq_RX (SPI_TypeDef *SPIx)
 Enable DMA Rx.
__STATIC_INLINE void DDL_SPI_DisableDMAReq_RX (SPI_TypeDef *SPIx)
 Disable DMA Rx.
__STATIC_INLINE uint32_t DDL_SPI_IsEnabledDMAReq_RX (SPI_TypeDef *SPIx)
 Check if DMA Rx is enabled.
__STATIC_INLINE void DDL_SPI_EnableDMAReq_TX (SPI_TypeDef *SPIx)
 Enable DMA Tx.
__STATIC_INLINE void DDL_SPI_DisableDMAReq_TX (SPI_TypeDef *SPIx)
 Disable DMA Tx.
__STATIC_INLINE uint32_t DDL_SPI_IsEnabledDMAReq_TX (SPI_TypeDef *SPIx)
 Check if DMA Tx is enabled.
__STATIC_INLINE void DDL_SPI_EnableDMAReq_CDM (SPI_TypeDef *SPIx)
 Enable CDM dma require.
__STATIC_INLINE void DDL_SPI_DisableDMAReq_CDM (SPI_TypeDef *SPIx)
 Disable CDM dma require.
__STATIC_INLINE uint32_t DDL_SPI_IsEnabledDMAReq_CDM (SPI_TypeDef *SPIx)
 Check if CDM dma require is enabled.
__STATIC_INLINE uint32_t DDL_SPI_DMA_GetRegAddr (SPI_TypeDef *SPIx)
 Get the data register address used for DMA transfer.

Detailed Description

Function Documentation

◆ DDL_SPI_DisableDMAReq_CDM()

__STATIC_INLINE void DDL_SPI_DisableDMAReq_CDM ( SPI_TypeDef * SPIx)

Disable CDM dma require.

Parameters
SPIxSPI Instance
Return values
None

Definition at line 1226 of file g32r4xx_ddl_spi.h.

◆ DDL_SPI_DisableDMAReq_RX()

__STATIC_INLINE void DDL_SPI_DisableDMAReq_RX ( SPI_TypeDef * SPIx)

Disable DMA Rx.

Parameters
SPIxSPI Instance
Return values
None

Definition at line 1166 of file g32r4xx_ddl_spi.h.

◆ DDL_SPI_DisableDMAReq_TX()

__STATIC_INLINE void DDL_SPI_DisableDMAReq_TX ( SPI_TypeDef * SPIx)

Disable DMA Tx.

Parameters
SPIxSPI Instance
Return values
None

Definition at line 1196 of file g32r4xx_ddl_spi.h.

◆ DDL_SPI_DMA_GetRegAddr()

__STATIC_INLINE uint32_t DDL_SPI_DMA_GetRegAddr ( SPI_TypeDef * SPIx)

Get the data register address used for DMA transfer.

Parameters
SPIxSPI Instance
Return values
Addressof data register

Definition at line 1246 of file g32r4xx_ddl_spi.h.

◆ DDL_SPI_EnableDMAReq_CDM()

__STATIC_INLINE void DDL_SPI_EnableDMAReq_CDM ( SPI_TypeDef * SPIx)

Enable CDM dma require.

Parameters
SPIxSPI Instance
Return values
None

Definition at line 1216 of file g32r4xx_ddl_spi.h.

◆ DDL_SPI_EnableDMAReq_RX()

__STATIC_INLINE void DDL_SPI_EnableDMAReq_RX ( SPI_TypeDef * SPIx)

Enable DMA Rx.

Parameters
SPIxSPI Instance
Return values
None

Definition at line 1156 of file g32r4xx_ddl_spi.h.

◆ DDL_SPI_EnableDMAReq_TX()

__STATIC_INLINE void DDL_SPI_EnableDMAReq_TX ( SPI_TypeDef * SPIx)

Enable DMA Tx.

Parameters
SPIxSPI Instance
Return values
None

Definition at line 1186 of file g32r4xx_ddl_spi.h.

◆ DDL_SPI_IsEnabledDMAReq_CDM()

__STATIC_INLINE uint32_t DDL_SPI_IsEnabledDMAReq_CDM ( SPI_TypeDef * SPIx)

Check if CDM dma require is enabled.

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

Definition at line 1236 of file g32r4xx_ddl_spi.h.

◆ DDL_SPI_IsEnabledDMAReq_RX()

__STATIC_INLINE uint32_t DDL_SPI_IsEnabledDMAReq_RX ( SPI_TypeDef * SPIx)

Check if DMA Rx is enabled.

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

Definition at line 1176 of file g32r4xx_ddl_spi.h.

◆ DDL_SPI_IsEnabledDMAReq_TX()

__STATIC_INLINE uint32_t DDL_SPI_IsEnabledDMAReq_TX ( SPI_TypeDef * SPIx)

Check if DMA Tx is enabled.

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

Definition at line 1206 of file g32r4xx_ddl_spi.h.