Skip to main content

conversion_ready

Function conversion_ready 

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

Returns whether the bus voltage register’s conversion-ready (CNVR) flag is set.

§Arguments

  • raw - the bus voltage register.

§Returns

true if a conversion has completed and the data is ready to read.