|
SensorLib 0.5.0
Multi-platform sensor driver library for Arduino, PlatformIO, and ESP-IDF
|
SPI communication parameters. More...
#include <SensorCommBase.hpp>
Public Member Functions | |
| SPIParam (SPISettings setting) | |
| Construct an SPI parameter object from an SPISettings. | |
| SPISettings | getSetting () const |
| Retrieve the stored SPI settings. | |
Public Member Functions inherited from CommParamsBase | |
| virtual | ~CommParamsBase ()=default |
SPI communication parameters.
Wraps an SPISettings object.
Definition at line 186 of file SensorCommBase.hpp.
|
inline |
Construct an SPI parameter object from an SPISettings.
| setting | The SPI configuration to use. |
Definition at line 196 of file SensorCommBase.hpp.
|
inline |
Retrieve the stored SPI settings.
Definition at line 202 of file SensorCommBase.hpp.