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

Functions

__STATIC_INLINE uint8_t DDL_SPI_ReceiveData8 (SPI_TypeDef *SPIx)
 Read 8-Bits in the data register.
__STATIC_INLINE uint16_t DDL_SPI_ReceiveData16 (SPI_TypeDef *SPIx)
 Read 16-Bits in the data register.
__STATIC_INLINE void DDL_SPI_TransmitData8 (SPI_TypeDef *SPIx, uint8_t TxData)
 Write 8-Bits in the data register.
__STATIC_INLINE void DDL_SPI_TransmitData16 (SPI_TypeDef *SPIx, uint16_t TxData)
 Write 16-Bits in the data register.

Detailed Description

Function Documentation

◆ DDL_SPI_ReceiveData16()

__STATIC_INLINE uint16_t DDL_SPI_ReceiveData16 ( SPI_TypeDef * SPIx)

Read 16-Bits in the data register.

Parameters
SPIxSPI Instance
Return values
RxDataValue between Min_Data=0x00 and Max_Data=0xFFFF

Definition at line 1274 of file g32r4xx_ddl_spi.h.

◆ DDL_SPI_ReceiveData8()

__STATIC_INLINE uint8_t DDL_SPI_ReceiveData8 ( SPI_TypeDef * SPIx)

Read 8-Bits in the data register.

Parameters
SPIxSPI Instance
Return values
RxDataValue between Min_Data=0x00 and Max_Data=0xFF

Definition at line 1264 of file g32r4xx_ddl_spi.h.

◆ DDL_SPI_TransmitData16()

__STATIC_INLINE void DDL_SPI_TransmitData16 ( SPI_TypeDef * SPIx,
uint16_t TxData )

Write 16-Bits in the data register.

Parameters
SPIxSPI Instance
TxDataValue between Min_Data=0x00 and Max_Data=0xFFFF
Return values
None

Definition at line 1301 of file g32r4xx_ddl_spi.h.

◆ DDL_SPI_TransmitData8()

__STATIC_INLINE void DDL_SPI_TransmitData8 ( SPI_TypeDef * SPIx,
uint8_t TxData )

Write 8-Bits in the data register.

Parameters
SPIxSPI Instance
TxDataValue between Min_Data=0x00 and Max_Data=0xFF
Return values
None

Definition at line 1285 of file g32r4xx_ddl_spi.h.