[]Struct bq24195::SystemStatus

pub struct SystemStatus(pub u8);

Methods

impl SystemStatus

pub fn vbus_status(&self) -> VbusStatus

pub fn charge_status(&self) -> ChargeStatus

pub fn dpm_status(&self) -> DpmStatus

pub fn power_status(&self) -> PowerStatus

pub fn thermal_status(&self) -> ThermalStatus

pub fn vsys_status(&self) -> VsysStatus

Trait Implementations

impl<T> BitRange<T> for SystemStatus where
    u8: BitRange<T>, 

impl Debug for SystemStatus

Auto Trait Implementations

Blanket Implementations

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

impl<T> Bit for T where
    T: BitRange<u8>, 
[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.