|
libxr
Embedded C++ framework for bare-metal, RTOS and Linux
|
存储 SPI 配置参数的结构体。 Structure for storing SPI configuration parameters. More...
#include <spi.hpp>
Public Attributes | |
| ClockPolarity | clock_polarity |
| SPI 时钟极性 / SPI clock polarity. | |
| ClockPhase | clock_phase = ClockPhase::EDGE_1 |
| SPI 时钟相位 / SPI clock phase. | |
| Prescaler | prescaler = Prescaler::UNKNOWN |
| SPI 分频系数 / SPI prescaler. | |
| bool | double_buffer = false |
| 是否使用双缓冲区 / Whether to use double buffer. | |
| ClockPhase LibXR::SPI::Configuration::clock_phase = ClockPhase::EDGE_1 |
| ClockPolarity LibXR::SPI::Configuration::clock_polarity |
| bool LibXR::SPI::Configuration::double_buffer = false |
| Prescaler LibXR::SPI::Configuration::prescaler = Prescaler::UNKNOWN |