[−][src]Struct bq24195_i2c::Fault
Methods
impl Fault
[src]
pub const WATCHDOG_FAULT: Self
[src]
Watchdog Fault Status (0 = normal, 1 = watchdog timer expired)
pub const RESERVED: Self
[src]
Reserved, always 0
pub const CHRG_FAULT_1: Self
[src]
Charging Fault Bit 1 (10 = Thermal shutdown, 11 = Charge Safety Timer Expiration)
pub const CHRG_FAULT_0: Self
[src]
Charging Fault Bit 0 (00 = Normal, 01 = Input Fault (VBUS OVP or VBAT < VBUS < 3.8V))
pub const BAT_FAULT: Self
[src]
Battery Fault: (0 = Normal, 1 = BATOVP)
pub const NTC_FAULT_2: Self
[src]
NTC Fault Bit 2 (110 = Hot, 101 = Cold)
pub const NTC_FAULT_1: Self
[src]
NTC Fault Bit 1 (110 = Hot)
pub const NTC_FAULT_0: Self
[src]
NTC Fault Bit 0 (000 = Normal, 101 = Cold)
Trait Implementations
impl BitAnd<Fault> for Fault
[src]
type Output = Self
The resulting type after applying the &
operator.
fn bitand(self, rhs: Self) -> Self
[src]
impl BitAndAssign<Fault> for Fault
[src]
fn bitand_assign(&mut self, rhs: Self)
[src]
impl BitOr<Fault> for Fault
[src]
type Output = Self
The resulting type after applying the |
operator.
fn bitor(self, rhs: Self) -> Self
[src]
impl BitOrAssign<Fault> for Fault
[src]
fn bitor_assign(&mut self, rhs: Self)
[src]
impl BitXor<Fault> for Fault
[src]
type Output = Self
The resulting type after applying the ^
operator.
fn bitxor(self, rhs: Self) -> Self
[src]
impl BitXorAssign<Fault> for Fault
[src]
fn bitxor_assign(&mut self, rhs: Self)
[src]
impl Clone for Fault
[src]
fn clone(&self) -> Fault
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for Fault
[src]
impl Debug for Fault
[src]
impl Default for Fault
[src]
impl Eq for Fault
[src]
impl From<u8> for Fault
[src]
impl Into<u8> for Fault
[src]
impl PartialEq<Fault> for Fault
[src]
impl StructuralEq for Fault
[src]
impl StructuralPartialEq for Fault
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,