#[non_exhaustive]pub enum Resistor {
Bypass = 0,
Pulldown = 1,
Pullup = 2,
Vdd1_2 = 3,
}Expand description
Positive channel resistor control
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Bypass = 0
Bypass resistor ladder
Pulldown = 1
Pull-down to GND
Pullup = 2
Pull-up to VDD
Vdd1_2 = 3
Set input at VDD/2
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Resistor
impl RefUnwindSafe for Resistor
impl Send for Resistor
impl Sync for Resistor
impl Unpin for Resistor
impl UnsafeUnpin for Resistor
impl UnwindSafe for Resistor
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