Skip to main content

low_alert

Function low_alert 

Source
pub fn low_alert(config: u16) -> bool
Expand description

Returns whether the configuration register’s LOW_Alert flag (bit 14) is set.

The flag means the last result was below the low limit; it always reads 0 in therm mode.

§Arguments

  • config - the configuration register.

§Returns

true if the low alert flag is set.