|
ADS7952 Driver 0.1.0
API reference
|
The result of one Auto-1 or Auto-2 scan: one code per channel of the sequence. More...
#include <ads7952_types.hpp>
Public Member Functions | |
| constexpr bool | Has (uint8_t channel) const noexcept |
Public Attributes | |
| std::array< uint16_t, kMaxChannels > | code {} |
| Result of channel n at index n, 0 to 4095. | |
| uint16_t | mask {0} |
| Range | range {Range::Vref} |
The result of one Auto-1 or Auto-2 scan: one code per channel of the sequence.
Every channel in mask was received exactly once, in one pass of the sequence; the other entries of code are 0.
|
inlineconstexprnoexcept |
| channel | 0 to 15. |
channel. | uint16_t ads7952::Bank::mask {0} |
The channels of the scan, bit n for channel n.
| Range ads7952::Bank::range {Range::Vref} |
The range every code of the scan was converted in, so a bank kept across SetRange() still converts with its own scale (ADS7952::ToMicrovolts(const Bank&, uint8_t)).