|
HF-ADS7952 Driver 0.1.0-dev
HF-ADS7952 C++ Driver
|
#include <ads7952_types.hpp>
Public Member Functions | |
| bool | ok () const noexcept |
| True when error equals Error::Ok. | |
Public Attributes | |
| uint16_t | count = 0 |
| Raw 12-bit ADC count (0-4095) | |
| float | voltage = 0.0f |
| Converted voltage. | |
| uint8_t | channel = 0 |
| Channel that was read (from response) | |
| Error | error = Error::Ok |
Definition at line 134 of file ads7952_types.hpp.
|
inlinenoexcept |
True when error equals Error::Ok.
Definition at line 141 of file ads7952_types.hpp.
References error, and ads7952::Ok.
| uint8_t ads7952::ReadResult::channel = 0 |
Channel that was read (from response)
Definition at line 137 of file ads7952_types.hpp.
| uint16_t ads7952::ReadResult::count = 0 |
Raw 12-bit ADC count (0-4095)
Definition at line 135 of file ads7952_types.hpp.
Definition at line 138 of file ads7952_types.hpp.
Referenced by ok(), and ads7952::ADS7952< SpiType >::ReadChannel().
| float ads7952::ReadResult::voltage = 0.0f |
Converted voltage.
Definition at line 136 of file ads7952_types.hpp.