|
MCP9700 Driver 0.1.0
API reference
|
What the user declares for Variant::Custom. Every field must be set (an all-zero declaration fails Validate()); every field must stay zero for a named variant.
More...
#include <mcp9700_types.hpp>
Public Attributes | |
| uint32_t | v0_mv {0U} |
| Output at 0 C, millivolts (0 is valid). | |
| uint32_t | tc_uv_per_c {0U} |
| Slope, microvolts per C, 1000 to 100000 (positive only). | |
| int32_t | min_mc {0} |
| Lowest specified temperature, milli-C. | |
| int32_t | max_mc {0} |
| Highest specified temperature, milli-C. | |
| int32_t | accuracy_min_mc {0} |
| int32_t | accuracy_max_mc {0} |
What the user declares for Variant::Custom. Every field must be set (an all-zero declaration fails Validate()); every field must stay zero for a named variant.
The driver cannot check that these numbers describe the part: a wrong value gives wrong temperatures that look plausible.
| int32_t mcp9700::CustomSpec::accuracy_max_mc {0} |
Worst-case error over [min, max], upper limit, milli-C (at least 0).
| int32_t mcp9700::CustomSpec::accuracy_min_mc {0} |
Worst-case error over [min, max], lower limit, milli-C (at most 0).