[][src]Struct bq24195_i2c::ChargeCurrentControl

pub struct ChargeCurrentControl { /* fields omitted */ }

Register 0x02

ICHG[5:0] is added to 512mA

Methods

impl ChargeCurrentControl[src]

pub const ICHG_5: Self[src]

Fast Charge Current Limit Offset Bit 5: 2048 mA

pub const ICHG_4: Self[src]

Fast Charge Current Limit Offset Bit 4: 1024 mA

pub const ICHG_3: Self[src]

Fast Charge Current Limit Offset Bit 3: 512 mA

pub const ICHG_2: Self[src]

Fast Charge Current Limit Offset Bit 2: 256 mA

pub const ICHG_1: Self[src]

Fast Charge Current Limit Offset Bit 1: 128 mA

pub const ICHG_0: Self[src]

Fast Charge Current Limit Offset Bit 0: 64 mA

pub const RESERVED: Self[src]

Reserved, must write 0

pub const FORCE_20PCT: Self[src]

Force 20% of fast-charge current limit and 50% of pre-charge current limit

Trait Implementations

impl BitAnd<ChargeCurrentControl> for ChargeCurrentControl[src]

type Output = Self

The resulting type after applying the & operator.

impl BitAndAssign<ChargeCurrentControl> for ChargeCurrentControl[src]

impl BitOr<ChargeCurrentControl> for ChargeCurrentControl[src]

type Output = Self

The resulting type after applying the | operator.

impl BitOrAssign<ChargeCurrentControl> for ChargeCurrentControl[src]

impl BitXor<ChargeCurrentControl> for ChargeCurrentControl[src]

type Output = Self

The resulting type after applying the ^ operator.

impl BitXorAssign<ChargeCurrentControl> for ChargeCurrentControl[src]

impl Clone for ChargeCurrentControl[src]

impl Copy for ChargeCurrentControl[src]

impl Debug for ChargeCurrentControl[src]

impl Default for ChargeCurrentControl[src]

impl Eq for ChargeCurrentControl[src]

impl From<u8> for ChargeCurrentControl[src]

impl Into<u8> for ChargeCurrentControl[src]

impl PartialEq<ChargeCurrentControl> for ChargeCurrentControl[src]

impl StructuralEq for ChargeCurrentControl[src]

impl StructuralPartialEq for ChargeCurrentControl[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.