[−][src]Enum nrf52832_hal::nrf52832_pac::comp::extrefsel::EXTREFSELR
Possible values of the field EXTREFSEL
Variants
ANALOGREFERENCE0
Use AIN0 as external analog reference
ANALOGREFERENCE1
Use AIN1 as external analog reference
ANALOGREFERENCE2
Use AIN2 as external analog reference
ANALOGREFERENCE3
Use AIN3 as external analog reference
ANALOGREFERENCE4
Use AIN4 as external analog reference
ANALOGREFERENCE5
Use AIN5 as external analog reference
ANALOGREFERENCE6
Use AIN6 as external analog reference
ANALOGREFERENCE7
Use AIN7 as external analog reference
Methods
impl EXTREFSELR
[src]
impl EXTREFSELR
pub fn bits(&self) -> u8
[src]
pub fn bits(&self) -> u8
Value of the field as raw bits
pub fn is_analog_reference0(&self) -> bool
[src]
pub fn is_analog_reference0(&self) -> bool
Checks if the value of the field is ANALOGREFERENCE0
pub fn is_analog_reference1(&self) -> bool
[src]
pub fn is_analog_reference1(&self) -> bool
Checks if the value of the field is ANALOGREFERENCE1
pub fn is_analog_reference2(&self) -> bool
[src]
pub fn is_analog_reference2(&self) -> bool
Checks if the value of the field is ANALOGREFERENCE2
pub fn is_analog_reference3(&self) -> bool
[src]
pub fn is_analog_reference3(&self) -> bool
Checks if the value of the field is ANALOGREFERENCE3
pub fn is_analog_reference4(&self) -> bool
[src]
pub fn is_analog_reference4(&self) -> bool
Checks if the value of the field is ANALOGREFERENCE4
pub fn is_analog_reference5(&self) -> bool
[src]
pub fn is_analog_reference5(&self) -> bool
Checks if the value of the field is ANALOGREFERENCE5
pub fn is_analog_reference6(&self) -> bool
[src]
pub fn is_analog_reference6(&self) -> bool
Checks if the value of the field is ANALOGREFERENCE6
pub fn is_analog_reference7(&self) -> bool
[src]
pub fn is_analog_reference7(&self) -> bool
Checks if the value of the field is ANALOGREFERENCE7
Trait Implementations
impl Copy for EXTREFSELR
[src]
impl Copy for EXTREFSELR
impl Clone for EXTREFSELR
[src]
impl Clone for EXTREFSELR
fn clone(&self) -> EXTREFSELR
[src]
fn clone(&self) -> EXTREFSELR
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for EXTREFSELR
[src]
impl Debug for EXTREFSELR
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl PartialEq<EXTREFSELR> for EXTREFSELR
[src]
impl PartialEq<EXTREFSELR> for EXTREFSELR
Auto Trait Implementations
impl Send for EXTREFSELR
impl Send for EXTREFSELR
impl Sync for EXTREFSELR
impl Sync for EXTREFSELR
Blanket Implementations
impl<T> From for T
[src]
impl<T> From for T
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
try_from
)Performs the conversion.
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
try_from
)Performs the conversion.
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T> Borrow for T where
T: ?Sized,
[src]
impl<T> Borrow for T where
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId
[src]
fn get_type_id(&self) -> TypeId
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static
Gets the TypeId
of self
. Read more