[−]Enum sodaq_one::target_device::adc::inputctrl::MUXNEGR
Possible values of the field MUXNEG
Variants
PIN0
ADC AIN0 Pin
PIN1
ADC AIN1 Pin
PIN2
ADC AIN2 Pin
PIN3
ADC AIN3 Pin
PIN4
ADC AIN4 Pin
PIN5
ADC AIN5 Pin
PIN6
ADC AIN6 Pin
PIN7
ADC AIN7 Pin
GND
Internal Ground
IOGND
I/O Ground
_Reserved(u8)
Reserved
Methods
impl MUXNEGR
pub fn bits(&self) -> u8
Value of the field as raw bits
pub fn is_pin0(&self) -> bool
Checks if the value of the field is PIN0
pub fn is_pin1(&self) -> bool
Checks if the value of the field is PIN1
pub fn is_pin2(&self) -> bool
Checks if the value of the field is PIN2
pub fn is_pin3(&self) -> bool
Checks if the value of the field is PIN3
pub fn is_pin4(&self) -> bool
Checks if the value of the field is PIN4
pub fn is_pin5(&self) -> bool
Checks if the value of the field is PIN5
pub fn is_pin6(&self) -> bool
Checks if the value of the field is PIN6
pub fn is_pin7(&self) -> bool
Checks if the value of the field is PIN7
pub fn is_gnd(&self) -> bool
Checks if the value of the field is GND
pub fn is_iognd(&self) -> bool
Checks if the value of the field is IOGND
Trait Implementations
impl PartialEq<MUXNEGR> for MUXNEGR
impl Debug for MUXNEGR
impl Copy for MUXNEGR
impl Clone for MUXNEGR
fn clone(&self) -> MUXNEGR
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
Auto Trait Implementations
Blanket Implementations
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same<T> for T
type Output = T
Should always be Self