Enum Pincfg
#[repr(u8)]pub enum Pincfg {
_000 = 0,
_001 = 1,
_010 = 2,
_011 = 3,
_100 = 4,
_101 = 5,
_110 = 6,
_111 = 7,
}Expand description
Pin Configuration
Value on reset: 0
Variants§
_000 = 0
0: LPI2C configured for 2-pin open drain mode.
_001 = 1
1: LPI2C configured for 2-pin output only mode (ultra-fast mode).
_010 = 2
2: LPI2C configured for 2-pin push-pull mode.
_011 = 3
3: LPI2C configured for 4-pin push-pull mode.
_100 = 4
4: LPI2C configured for 2-pin open drain mode with separate LPI2C slave.
_101 = 5
5: LPI2C configured for 2-pin output only mode (ultra-fast mode) with separate LPI2C slave.
_110 = 6
6: LPI2C configured for 2-pin push-pull mode with separate LPI2C slave.
_111 = 7
7: LPI2C configured for 4-pin push-pull mode (inverted outputs).
Trait Implementations§
impl Copy for Pincfg
impl Eq for Pincfg
impl IsEnum for Pincfg
impl StructuralPartialEq for Pincfg
Auto Trait Implementations§
impl Freeze for Pincfg
impl RefUnwindSafe for Pincfg
impl Send for Pincfg
impl Sync for Pincfg
impl Unpin for Pincfg
impl UnwindSafe for Pincfg
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more