Struct capsules::max17205::MAX17205 [] [src]

pub struct MAX17205<'a> {
    i2c_lower: &'a I2CDevice,
    i2c_upper: &'a I2CDevice,
    state: Cell<State>,
    soc: Cell<u16>,
    soc_mah: Cell<u16>,
    voltage: Cell<u16>,
    buffer: TakeCell<'static, [u8]>,
    client: Cell<Option<&'static MAX17205Client>>,
}

Fields

Methods

impl<'a> MAX17205<'a>
[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

Trait Implementations

impl<'a> I2CClient for MAX17205<'a>
[src]

[src]

Called when an I2C command completed. The error denotes whether the command completed successfully or if an error occured. Read more