#include <spi.h>
|
enum class | Peripheral {
SPI_1
, SPI_2
, SPI_3
, SPI_4
,
SPI_5
, SPI_6
} |
|
enum class | Mode { MASTER
, SLAVE
} |
|
enum class | Direction { TWO_LINES
, TWO_LINES_TX_ONLY
, TWO_LINES_RX_ONLY
, ONE_LINE
} |
|
enum class | ClockPolarity { LOW
, HIGH
} |
|
enum class | ClockPhase { ONE_EDGE
, TWO_EDGE
} |
|
enum class | NSS { SOFT
, HARD_INPUT
, HARD_OUTPUT
} |
|
enum class | BaudPrescaler {
PS_2
, PS_4
, PS_8
, PS_16
,
PS_32
, PS_64
, PS_128
, PS_256
} |
|
◆ BaudPrescaler
Enumerator |
---|
PS_2 | |
PS_4 | |
PS_8 | |
PS_16 | |
PS_32 | |
PS_64 | |
PS_128 | |
PS_256 | |
◆ ClockPhase
Enumerator |
---|
ONE_EDGE | |
TWO_EDGE | |
◆ ClockPolarity
◆ Direction
Enumerator |
---|
TWO_LINES | |
TWO_LINES_TX_ONLY | |
TWO_LINES_RX_ONLY | |
ONE_LINE | |
◆ Mode
◆ NSS
Enumerator |
---|
SOFT | |
HARD_INPUT | |
HARD_OUTPUT | |
◆ Peripheral
Enumerator |
---|
SPI_1 | |
SPI_2 | |
SPI_3 | |
SPI_4 | |
SPI_5 | |
SPI_6 | |
◆ Config()
daisy::SpiHandle::Config::Config |
( |
| ) |
|
|
inline |
◆ baud_prescaler
◆ clock_phase
◆ clock_polarity
◆ datasize
◆ direction
Direction daisy::SpiHandle::Config::direction |
◆ miso
Pin daisy::SpiHandle::Config::miso |
◆ mode
Mode daisy::SpiHandle::Config::mode |
◆ mosi
Pin daisy::SpiHandle::Config::mosi |
◆ nss [1/2]
Pin daisy::SpiHandle::Config::nss |
◆ nss [2/2]
NSS daisy::SpiHandle::Config::nss |
◆ periph
◆ [struct]
struct { ... } daisy::SpiHandle::Config::pin_config |
◆ sclk
Pin daisy::SpiHandle::Config::sclk |
The documentation for this struct was generated from the following file: