Trait capsules_extra::ltc294x::LTC294XClient
source · pub trait LTC294XClient {
// Required methods
fn interrupt(&self);
fn status(
&self,
undervolt_lockout: bool,
vbat_alert: bool,
charge_alert_low: bool,
charge_alert_high: bool,
accumulated_charge_overflow: bool,
);
fn charge(&self, charge: u16);
fn voltage(&self, voltage: u16);
fn current(&self, current: u16);
fn done(&self);
}
Expand description
Supported events for the LTC294X.