Skip to main content

math_overflow

Function math_overflow 

Source
pub fn math_overflow(raw: u16) -> bool
Expand description

Returns whether the bus voltage register’s math-overflow (OVF) flag is set.

§Arguments

  • raw - the bus voltage register.

§Returns

true if the power or current calculation overflowed and the readings are invalid.