#[repr(u8)]pub enum Resp {
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_GPIO
VDD1_2 = 3
Set input at VDD_GPIO/2
Implementations§
Trait Implementations§
Source§impl Ord for Resp
impl Ord for Resp
Source§impl PartialOrd for Resp
impl PartialOrd for Resp
impl Copy for Resp
impl Eq for Resp
impl StructuralPartialEq for Resp
Auto Trait Implementations§
impl Freeze for Resp
impl RefUnwindSafe for Resp
impl Send for Resp
impl Sync for Resp
impl Unpin for Resp
impl UnwindSafe for Resp
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
)