Function power_watts_f32
Source pub fn power_watts_f32(raw: u16, current_lsb_microamps: u32) -> f32
Expand description
Decodes the power register to watts as a float.
§Arguments
raw - the power register.
current_lsb_microamps - the current LSB the calibration register was set for.
§Returns
The power in watts.