|
ADS7952 Driver 0.1.0
API reference
|
The two alarm thresholds of one channel, in 12-bit result codes. The chip keeps the upper 10 bits and compares them with the upper 10 bits of each result (Table 13), so the two lowest bits of a threshold are dropped. AlarmThreshold{} is the reset state: no alarm.
More...
#include <ads7952_types.hpp>
Public Attributes | |
| uint16_t | low_code {0} |
| Low alarm when the result is below this; 0 to 4095. | |
| uint16_t | high_code {4095} |
| High alarm when the result is above this; 0 to 4095. | |
The two alarm thresholds of one channel, in 12-bit result codes. The chip keeps the upper 10 bits and compares them with the upper 10 bits of each result (Table 13), so the two lowest bits of a threshold are dropped. AlarmThreshold{} is the reset state: no alarm.