Macros
InitStrcut default configuartion
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...
#define | LL_QSPI_DEFAULT_CONFIG
| LL QSPI InitStrcut default configuartion. More...

## Detailed Description

## Macro Definition Documentation

## ◆ LL_QSPI_DEFAULT_CONFIG

#define LL_QSPI_DEFAULT_CONFIG

Value:
{ \
.transfer_direction = LL_SSI_SIMPLEX_TX, \
.instruction_size = LL_SSI_INSTSIZE_8BIT, \
.address_size = LL_SSI_ADDRSIZE_24BIT, \
.inst_addr_transfer_format = LL_SSI_INST_ADDR_ALL_IN_SPI,\
.wait_cycles = 0, \
.data_size = LL_SSI_DATASIZE_8BIT, \
.clock_polarity = LL_SSI_SCPOL_LOW, \
.clock_phase = LL_SSI_SCPHA_1EDGE, \
.baud_rate = SystemCoreClock / 1000000, \
.rx_sample_delay = 0, \
}

LL QSPI InitStrcut default configuartion.

## ◆ LL_SPIM_DEFAULT_CONFIG

#define LL_SPIM_DEFAULT_CONFIG

Value:
{ \
.transfer_direction = LL_SSI_FULL_DUPLEX, \
.data_size = LL_SSI_DATASIZE_8BIT, \
.clock_polarity = LL_SSI_SCPOL_LOW, \
.clock_phase = LL_SSI_SCPHA_1EDGE, \
.slave_select = LL_SSI_SLAVE0, \
.baud_rate = SystemCoreClock / 2000000, \
}

LL SPIM InitStrcut default configuartion.

## ◆ LL_SPIS_DEFAULT_CONFIG

#define LL_SPIS_DEFAULT_CONFIG

Value:
{ \
.data_size = LL_SSI_DATASIZE_8BIT, \
.clock_polarity = LL_SSI_SCPOL_LOW, \
.clock_phase = LL_SSI_SCPHA_1EDGE, \
}

LL SPIS InitStrcut default configuartion.

LL_SSI_ADDRSIZE_24BIT
#define LL_SSI_ADDRSIZE_24BIT
Definition: gr55xx_ll_spi.h:396
LL_SSI_INSTSIZE_8BIT
#define LL_SSI_INSTSIZE_8BIT
Definition: gr55xx_ll_spi.h:383
LL_SSI_SLAVE0
#define LL_SSI_SLAVE0
Definition: gr55xx_ll_spi.h:365
LL_SSI_FULL_DUPLEX
#define LL_SSI_FULL_DUPLEX
Definition: gr55xx_ll_spi.h:320
LL_SSI_SCPOL_LOW
#define LL_SSI_SCPOL_LOW
Definition: gr55xx_ll_spi.h:336
LL_SSI_INST_ADDR_ALL_IN_SPI
#define LL_SSI_INST_ADDR_ALL_IN_SPI
Definition: gr55xx_ll_spi.h:411
LL_SSI_SIMPLEX_TX
#define LL_SSI_SIMPLEX_TX
Definition: gr55xx_ll_spi.h:321
LL_SSI_DATASIZE_8BIT
#define LL_SSI_DATASIZE_8BIT
Definition: gr55xx_ll_spi.h:255
LL_SSI_SCPHA_1EDGE
#define LL_SSI_SCPHA_1EDGE
Definition: gr55xx_ll_spi.h:329