Struct daisy::SpiHandle::Config¶
ClassList > daisy > SpiHandle > Config
Public Types¶
Type | Name |
---|---|
enum | BaudPrescaler |
enum | ClockPhase |
enum | ClockPolarity |
enum | Direction |
enum | Mode |
enum | NSS |
enum | Peripheral |
Public Attributes¶
Type | Name |
---|---|
BaudPrescaler | baud_prescaler |
ClockPhase | clock_phase |
ClockPolarity | clock_polarity |
unsigned long | datasize |
Direction | direction |
Pin | miso |
Mode | mode |
Pin | mosi |
Pin | nss |
NSS | nss |
Peripheral | periph |
struct daisy::SpiHandle::Config | pin_config |
Pin | sclk |
Public Functions¶
Type | Name |
---|---|
Config () |
Public Types Documentation¶
enum BaudPrescaler¶
enum daisy::SpiHandle::Config::BaudPrescaler {
PS_2,
PS_4,
PS_8,
PS_16,
PS_32,
PS_64,
PS_128,
PS_256
};
enum ClockPhase¶
enum ClockPolarity¶
enum Direction¶
enum daisy::SpiHandle::Config::Direction {
TWO_LINES,
TWO_LINES_TX_ONLY,
TWO_LINES_RX_ONLY,
ONE_LINE
};
enum Mode¶
enum NSS¶
enum Peripheral¶
Public Attributes Documentation¶
variable baud_prescaler¶
variable clock_phase¶
variable clock_polarity¶
variable datasize¶
variable direction¶
variable miso¶
&
variable mode¶
variable mosi¶
&
variable nss [½]¶
&
variable nss [2/2]¶
variable periph¶
variable pin_config¶
variable sclk¶
&
Public Functions Documentation¶
function Config¶
The documentation for this class was generated from the following file external-docs/libDaisy/src/per/spi.h