MCP9700 Driver 0.1.0
API reference
Loading...
Searching...
No Matches
Public Attributes | List of all members
mcp9700::VariantSpec Struct Reference

One row of the variant table: the only place a coefficient, range, supply, accuracy band or package list lives. The code never branches on a variant name. More...

#include <mcp9700_types.hpp>

Public Attributes

uint32_t v0_mv {0U}
 Output at 0 C, millivolts (typical).
 
uint32_t tc_uv_per_c {0U}
 Slope, microvolts per C (typical).
 
int32_t min_mc {0}
 Lowest specified temperature, milli-C.
 
int32_t max_ext_mc {0}
 Highest, Extended class, milli-C.
 
int32_t max_high_mc {0}
 Highest, High class, milli-C (= Extended when none).
 
bool has_high {false}
 The row has a High class.
 
uint32_t vdd_min_mv {0U}
 Lowest supply, mV (0 when unknown).
 
uint32_t vdd_max_mv {0U}
 Highest supply, mV (0 when unknown).
 
uint32_t tested_vdd_mv {0U}
 Supply at which the accuracy is tested, mV (0 unknown).
 
uint8_t packages {0U}
 kPackage* mask of the packages sold; 0 for Custom.
 
uint8_t high_packages {0U}
 kPackage* mask of the High option.
 
uint8_t band_count {0U}
 Used entries of bands.
 
std::array< AccuracyBand, kMaxBands > bands {}
 Accuracy bands, narrowest first.
 

Detailed Description

One row of the variant table: the only place a coefficient, range, supply, accuracy band or package list lives. The code never branches on a variant name.


The documentation for this struct was generated from the following file: