Macros
InitStrcut default configuartion
Peripheral Driver » LL Driver » SPI » Defines » SPI Exported Constants
Collaboration diagram for InitStrcut default configuartion:

## Macros
#define | LL_SPIM_DEFAULT_CONFIG
| LL SPIM InitStrcut default configuartion. More...
#define | LL_SPIS_DEFAULT_CONFIG
| LL SPIS InitStrcut default configuartion. More...

## Detailed Description

## Macro Definition Documentation

## ◆ LL_SPIM_DEFAULT_CONFIG

#define LL_SPIM_DEFAULT_CONFIG

Value:
{ \
.transfer_direction = LL_SPI_FULL_DUPLEX, \
.data_size = LL_SPI_DATASIZE_8BIT, \
.clock_polarity = LL_SPI_SCPOL_LOW, \
.clock_phase = LL_SPI_SCPHA_1EDGE, \
.slave_select = LL_SPI_SLAVE0, \
.baud_rate = SystemCoreClock / 2000000, \
.rx_sample_delay = 0, \
}

LL SPIM InitStrcut default configuartion.

Definition at line 331 of file gr55xx_ll_spi.h.

## ◆ LL_SPIS_DEFAULT_CONFIG

#define LL_SPIS_DEFAULT_CONFIG

Value:
{ \
.data_size = LL_SPI_DATASIZE_8BIT, \
.clock_polarity = LL_SPI_SCPOL_LOW, \
.clock_phase = LL_SPI_SCPHA_1EDGE, \
}

LL SPIS InitStrcut default configuartion.

Definition at line 345 of file gr55xx_ll_spi.h.

LL_SPI_FULL_DUPLEX
#define LL_SPI_FULL_DUPLEX
Full-Duplex mode.
Definition: gr55xx_ll_spi.h:259
LL_SPI_SCPOL_LOW
#define LL_SPI_SCPOL_LOW
Clock to 0 when idle.
Definition: gr55xx_ll_spi.h:275
LL_SPI_SLAVE0
#define LL_SPI_SLAVE0
Enable slave0 select pin for SPI transfer
Definition: gr55xx_ll_spi.h:304
LL_SPI_DATASIZE_8BIT
#define LL_SPI_DATASIZE_8BIT
Data length for SPI transfer: 8 bits.
Definition: gr55xx_ll_spi.h:194
LL_SPI_SCPHA_1EDGE
#define LL_SPI_SCPHA_1EDGE
First clock transition is the first data capture edge
Definition: gr55xx_ll_spi.h:268