Trait capsules_extra::max17205::MAX17205Client
source · pub trait MAX17205Client {
// Required methods
fn status(&self, status: u16, error: Result<(), ErrorCode>);
fn state_of_charge(
&self,
percent: u16,
capacity: u16,
full_capacity: u16,
error: Result<(), ErrorCode>,
);
fn voltage_current(
&self,
voltage: u16,
current: u16,
error: Result<(), ErrorCode>,
);
fn coulomb(&self, coulomb: u16, error: Result<(), ErrorCode>);
fn romid(&self, rid: u64, error: Result<(), ErrorCode>);
}