pub fn shunt_register(microvolts: i32) -> i16Expand description
Builds the shunt voltage register a monitor reports for a shunt voltage.
The inverse of shunt_microvolts, so a node can be written and tested against
what a monitor sends without one attached.
§Arguments
microvolts- the shunt voltage in microvolts.
§Returns
The signed shunt voltage register, at 10 µV per count.