pub enum MODE7W {
Show 16 variants
DISABLED,
INPUT,
INPUTPULL,
INPUTPULLFILTER,
PUSHPULL,
PUSHPULLALT,
WIREDOR,
WIREDORPULLDOWN,
WIREDAND,
WIREDANDFILTER,
WIREDANDPULLUP,
WIREDANDPULLUPFILTER,
WIREDANDALT,
WIREDANDALTFILTER,
WIREDANDALTPULLUP,
WIREDANDALTPULLUPFILTER,
}
Expand description
Values that can be written to the field MODE7
Variants§
DISABLED
Input disabled. Pullup if DOUT is set.
INPUT
Input enabled. Filter if DOUT is set
INPUTPULL
Input enabled. DOUT determines pull direction
INPUTPULLFILTER
Input enabled with filter. DOUT determines pull direction
PUSHPULL
Push-pull output
PUSHPULLALT
Push-pull using alternate control
WIREDOR
Wired-or output
WIREDORPULLDOWN
Wired-or output with pull-down
WIREDAND
Open-drain output
WIREDANDFILTER
Open-drain output with filter
WIREDANDPULLUP
Open-drain output with pullup
WIREDANDPULLUPFILTER
Open-drain output with filter and pullup
WIREDANDALT
Open-drain output using alternate control
WIREDANDALTFILTER
Open-drain output using alternate control with filter
WIREDANDALTPULLUP
Open-drain output using alternate control with pullup
WIREDANDALTPULLUPFILTER
Open-drain output using alternate control with filter and pullup
Auto Trait Implementations§
impl Freeze for MODE7W
impl RefUnwindSafe for MODE7W
impl Send for MODE7W
impl Sync for MODE7W
impl Unpin for MODE7W
impl UnwindSafe for MODE7W
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