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

## 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 / 2000000U),\
.rx_sample_delay = 0U \
}

LL SPIM InitStrcut default configuartion.

Definition at line 333 of file 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 347 of file ll_spi.h.

LL_SPI_FULL_DUPLEX
#define LL_SPI_FULL_DUPLEX
Definition: ll_spi.h:261
LL_SPI_SCPOL_LOW
#define LL_SPI_SCPOL_LOW
Definition: ll_spi.h:277
LL_SPI_SLAVE0
#define LL_SPI_SLAVE0
Definition: ll_spi.h:306
LL_SPI_DATASIZE_8BIT
#define LL_SPI_DATASIZE_8BIT
Definition: ll_spi.h:196
LL_SPI_SCPHA_1EDGE
#define LL_SPI_SCPHA_1EDGE
Definition: ll_spi.h:270