Skip to main content

shunt_nanovolts

Function shunt_nanovolts 

Source
pub fn shunt_nanovolts(raw: i16) -> i32
Expand description

Decodes the shunt voltage register to nanovolts.

§Arguments

  • raw - the signed shunt voltage register.

§Returns

The shunt voltage in nanovolts, at 2.5 µV per count.