Prusa MINI Firmware overview
Collaboration diagram for SPI Mode:

Macros

#define SPI_MODE_SLAVE   0x00000000U
 
#define SPI_MODE_MASTER   (SPI_CR1_MSTR | SPI_CR1_SSI)
 

Detailed Description

Macro Definition Documentation

◆ SPI_MODE_SLAVE

#define SPI_MODE_SLAVE   0x00000000U

◆ SPI_MODE_MASTER

#define SPI_MODE_MASTER   (SPI_CR1_MSTR | SPI_CR1_SSI)