[][src]Enum nrf52840_hal::saadc::Resistor

#[repr(u8)]pub enum Resistor {
    BYPASS,
    PULLDOWN,
    PULLUP,
    VDD1_2,
}

Positive channel resistor control

Value on reset: 0

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

impl Clone for RESP_A[src]

impl Copy for RESP_A[src]

impl Debug for RESP_A[src]

impl PartialEq<RESP_A> for RESP_A[src]

impl StructuralPartialEq for RESP_A[src]

Auto Trait Implementations

impl Send for RESP_A

impl Sync for RESP_A

impl Unpin for RESP_A

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.