[−][src]Struct bq24195_i2c::InputSourceControl
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.
fn bitand(self, rhs: Self) -> Self
[src]
impl BitAndAssign<InputSourceControl> for InputSourceControl
[src]
fn bitand_assign(&mut self, rhs: Self)
[src]
impl BitOr<InputSourceControl> for InputSourceControl
[src]
type Output = Self
The resulting type after applying the |
operator.
fn bitor(self, rhs: Self) -> Self
[src]
impl BitOrAssign<InputSourceControl> for InputSourceControl
[src]
fn bitor_assign(&mut self, rhs: Self)
[src]
impl BitXor<InputSourceControl> for InputSourceControl
[src]
type Output = Self
The resulting type after applying the ^
operator.
fn bitxor(self, rhs: Self) -> Self
[src]
impl BitXorAssign<InputSourceControl> for InputSourceControl
[src]
fn bitxor_assign(&mut self, rhs: Self)
[src]
impl Clone for InputSourceControl
[src]
fn clone(&self) -> InputSourceControl
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for InputSourceControl
[src]
impl Debug for InputSourceControl
[src]
impl Default for InputSourceControl
[src]
fn default() -> InputSourceControl
[src]
impl Eq for InputSourceControl
[src]
impl From<u8> for InputSourceControl
[src]
fn from(bits: u8) -> InputSourceControl
[src]
impl Into<u8> for InputSourceControl
[src]
impl PartialEq<InputSourceControl> for InputSourceControl
[src]
fn eq(&self, other: &InputSourceControl) -> bool
[src]
fn ne(&self, other: &InputSourceControl) -> bool
[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]
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>,