pub fn shunt_register(nanovolts: i32) -> i16Expand description
Builds the shunt voltage register a monitor reports for a shunt voltage.
The inverse of shunt_nanovolts, so a node can be written and tested against
what a monitor sends without one attached. The same value serves as the alert
limit for the shunt over- and under-limit functions.
§Arguments
nanovolts- the shunt voltage in nanovolts.
§Returns
The signed shunt voltage register, at 2.5 µV per count.