[]Struct bq24195::PowerOnConfiguration

pub struct PowerOnConfiguration(pub u8);

Methods

impl PowerOnConfiguration

pub fn register_reset(&self) -> bool

pub fn set_reset(&mut self, value: bool)

pub fn watchdog_reset(&self) -> bool

pub fn set_watchdog_reset(&mut self, value: bool)

pub fn charger_configuration(&self) -> ChargerConfiguration

pub fn set_charger_configuration(&mut self, value: ChargerConfiguration)

pub fn minimum_system_voltage(&self) -> MinimumSystemVoltage

pub fn set_minimum_system_voltage(&mut self, value: MinimumSystemVoltage)

Trait Implementations

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

impl Debug for PowerOnConfiguration

impl Default for PowerOnConfiguration[src]

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.