[][src]Struct bq24195_i2c::InputSourceControl

pub struct InputSourceControl { /* fields omitted */ }

Register 0x00

VINDPM[3:0] is added to 3.88V

IINLIM[2:0] is scaled in an odd manner:

000 = 100  mA
001 = 150  mA
010 = 500  mA
011 = 900  mA
100 = 1200 mA
101 = 1500 mA
110 = 2000 mA
111 = 3000 mA

Methods

impl InputSourceControl[src]

pub const EN_HIZ: Self[src]

Buck Converter Control (0 = Restart Buck Converter, 1 = Buck Converter Stops, system load supplied by battery)

pub const VINDPM_3: Self[src]

Input Voltage Limit Offset Bit 3: 640mV

pub const VINDPM_2: Self[src]

Input Voltage Limit Offset Bit 2: 320 mV

pub const VINDPM_1: Self[src]

Input Voltage Limit Offset Bit 1: 160 mV

pub const VINDPM_0: Self[src]

Input Voltage Limit Offset Bit 0: 80 mV

pub const IINLIM_2: Self[src]

Input Current Limit Bit 2

pub const IINLIM_1: Self[src]

Input Current Limit Bit 1

pub const IINLIM_0: Self[src]

Input Current Limit Bit 0

Trait Implementations

impl BitAnd<InputSourceControl> for InputSourceControl[src]

type Output = Self

The resulting type after applying the & operator.

impl BitAndAssign<InputSourceControl> for InputSourceControl[src]

impl BitOr<InputSourceControl> for InputSourceControl[src]

type Output = Self

The resulting type after applying the | operator.

impl BitOrAssign<InputSourceControl> for InputSourceControl[src]

impl BitXor<InputSourceControl> for InputSourceControl[src]

type Output = Self

The resulting type after applying the ^ operator.

impl BitXorAssign<InputSourceControl> for InputSourceControl[src]

impl Clone for InputSourceControl[src]

impl Copy for InputSourceControl[src]

impl Debug for InputSourceControl[src]

impl Default for InputSourceControl[src]

impl Eq for InputSourceControl[src]

impl From<u8> for InputSourceControl[src]

impl Into<u8> for InputSourceControl[src]

impl PartialEq<InputSourceControl> for InputSourceControl[src]

impl StructuralEq for InputSourceControl[src]

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