[][src]Struct bq24195_i2c::SystemStatus

pub struct SystemStatus { /* fields omitted */ }

Methods

impl SystemStatus[src]

pub const VBUS_STAT_1: Self[src]

VBUS Status Bit 1 (10 = Adapter port, 11 = OTG)

pub const VBUS_STAT_0: Self[src]

VBUS Status Bit 0 (00 = Unknown, 01 = USB host)

pub const CHRG_STAT_1: Self[src]

Charging Status Bit 1 (10 = Fast Charging, 11 = Charge Termination Done)

pub const CHRG_STAT_0: Self[src]

Charging Status Bit 0 (00 = Not Charging, 01 = Pre-Charge)

pub const DPM_STAT: Self[src]

DPM Status (0 = Not DPM, 1 = VINDPM / IINDPM)

pub const PG_STAT: Self[src]

Power Good Status (0 = not good, 1 = good)

pub const THERM_STAT: Self[src]

Thermal Regulation Status (0 = normal, 1 = thermal regulation)

pub const VSYS_STAT: Self[src]

VSYSMIN Regulation Status (0 = BAT > VSYSTMIN, 1 = BAT < VSYSMIN)

Trait Implementations

impl BitAnd<SystemStatus> for SystemStatus[src]

type Output = Self

The resulting type after applying the & operator.

impl BitAndAssign<SystemStatus> for SystemStatus[src]

impl BitOr<SystemStatus> for SystemStatus[src]

type Output = Self

The resulting type after applying the | operator.

impl BitOrAssign<SystemStatus> for SystemStatus[src]

impl BitXor<SystemStatus> for SystemStatus[src]

type Output = Self

The resulting type after applying the ^ operator.

impl BitXorAssign<SystemStatus> for SystemStatus[src]

impl Clone for SystemStatus[src]

impl Copy for SystemStatus[src]

impl Debug for SystemStatus[src]

impl Default for SystemStatus[src]

impl Eq for SystemStatus[src]

impl From<u8> for SystemStatus[src]

impl Into<u8> for SystemStatus[src]

impl PartialEq<SystemStatus> for SystemStatus[src]

impl StructuralEq for SystemStatus[src]

impl StructuralPartialEq for SystemStatus[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.