Macros
Transfer Mode
Peripheral Driver » LL Driver » SPI » Defines » SPI Exported Constants

## Macros
#define | LL_SPI_FULL_DUPLEX 0x00000000UL
#define | LL_SPI_SIMPLEX_TX (1UL << SPI_CTRL0_XFE_MODE_POS)
#define | LL_SPI_SIMPLEX_RX (2UL << SPI_CTRL0_XFE_MODE_POS)
#define | LL_SPI_READ_EEPROM (3UL << SPI_CTRL0_XFE_MODE_POS)

## Detailed Description

## Macro Definition Documentation

## ◆ LL_SPI_FULL_DUPLEX

#define LL_SPI_FULL_DUPLEX 0x00000000UL

Full-Duplex mode. Rx and Tx transfer on 2 lines

Definition at line 261 of file gr533x_ll_spi.h.

## ◆ LL_SPI_READ_EEPROM

#define LL_SPI_READ_EEPROM (3UL << SPI_CTRL0_XFE_MODE_POS)

Read EEPROM mode. Rx transfer only on 1 line

Definition at line 264 of file gr533x_ll_spi.h.

## ◆ LL_SPI_SIMPLEX_RX

#define LL_SPI_SIMPLEX_RX (2UL << SPI_CTRL0_XFE_MODE_POS)

Simplex Rx mode. Rx transfer only on 1 line

Definition at line 263 of file gr533x_ll_spi.h.

## ◆ LL_SPI_SIMPLEX_TX

#define LL_SPI_SIMPLEX_TX (1UL << SPI_CTRL0_XFE_MODE_POS)

Simplex Tx mode. Tx transfer only on 1 line

Definition at line 262 of file gr533x_ll_spi.h.