pub trait SensorCurrent {
// Required method
fn get_current(&mut self) -> Result<[I16F16; 3]>;
}Required Methods§
Sourcefn get_current(&mut self) -> Result<[I16F16; 3]>
fn get_current(&mut self) -> Result<[I16F16; 3]>
Retrieve the current from the sensor. Return on success the current array from the sensor, in amperes In case 2 phases are sample set the third phase to zero here