SPI Exported Constants

Modules

 Defines
 
 Get Flags Defines
 Flags definitions which can be used with LL_SPI_ReadReg function.
 
 IT Defines
 Interrupt definitions which can be used with LL_SPI_ReadReg and LL_SPI_WriteReg functions.
 
 SPI Frame Format
 
 Datawidth
 
 MicroWire CommandSize
 
 Test Mode
 
 Slave Out Enable
 
 Transfer Mode
 
 Clock Phase
 
 Clock Polarity
 
 Serial Protocol
 
 MicroWire Control
 
 Slave Select
 
 DMA Defines
 
 QSPI Instruction Size
 
 QSPI Address Size
 
 QSPI RX SAMPLE EDGE
 
 QSPI Address and Instruction Transfer Format
 
 : endian mode for qspi xip
 
 : Which Slave to Enable in XIP
 
 : data frame size in xip, take effect when enable DFS_HC
 
 : mode bits length for xip mode
 
 : instruction size for concurrent xip mode
 
 : address size for concurrent xip mode
 
 : transfer of inst & address for concurrent xip mode
 
 : frame format for concurrent xip mode
 
 Mode Clock stretch mode
 
 XQSPI Xip Prefetch
 
 QSPI Xip Count Xferr
 
 QSPI Xip Inst Phase
 
 QSPI Xip Mode Enable
 
 QSPI Xip Dfs Hardcode Enable
 
 QSPI Concurrent Xip Inst Sent Mode
 
 InitStrcut default configuartion
 
 Defines
 

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

uint32_t baud_rate;

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 327 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 341 of file gr55xx_ll_spi.h.

LL_SPI_FULL_DUPLEX
#define LL_SPI_FULL_DUPLEX
Definition: gr55xx_ll_spi.h:259
LL_SPI_SCPOL_LOW
#define LL_SPI_SCPOL_LOW
Definition: gr55xx_ll_spi.h:275
LL_SPI_SLAVE0
#define LL_SPI_SLAVE0
Definition: gr55xx_ll_spi.h:304
LL_SPI_DATASIZE_8BIT
#define LL_SPI_DATASIZE_8BIT
Definition: gr55xx_ll_spi.h:194
LL_SPI_SCPHA_1EDGE
#define LL_SPI_SCPHA_1EDGE
Definition: gr55xx_ll_spi.h:268