#[repr(u8)]pub enum Resn {
BYPASS = 0,
PULLDOWN = 1,
PULLUP = 2,
VDD1_2 = 3,
}
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
Implementations§
Trait Implementations§
Source§impl Ord for Resn
impl Ord for Resn
Source§impl PartialOrd for Resn
impl PartialOrd for Resn
impl Copy for Resn
impl Eq for Resn
impl StructuralPartialEq for Resn
Auto Trait Implementations§
impl Freeze for Resn
impl RefUnwindSafe for Resn
impl Send for Resn
impl Sync for Resn
impl Unpin for Resn
impl UnwindSafe for Resn
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)