pub fn high_alert(config: u16) -> boolExpand description
Returns whether the configuration register’s HIGH_Alert flag (bit 15) is set.
In alert mode the flag means the last result was above the high limit and reading the configuration register clears it; in therm mode it stays set until a result falls below the low limit.
§Arguments
config- the configuration register.
§Returns
true if the high alert flag is set.