Trait capsules::ltc294x::LTC294XClient
[−]
[src]
pub trait LTC294XClient { 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); }
Supported events for the LTC294X.
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
)
&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)
Implementors
impl<'a> LTC294XClient for LTC294XDriver<'a>