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.
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)
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".