Struct atsam4s8b_pac::dacc::mr::USER_SEL_R
source · [−]pub struct USER_SEL_R(_);
Expand description
Field USER_SEL
reader - User Channel Selection
Implementations
sourceimpl USER_SEL_R
impl USER_SEL_R
sourcepub fn variant(&self) -> Option<USER_SEL_A>
pub fn variant(&self) -> Option<USER_SEL_A>
Get enumerated values variant
sourcepub fn is_channel0(&self) -> bool
pub fn is_channel0(&self) -> bool
Checks if the value of the field is CHANNEL0
sourcepub fn is_channel1(&self) -> bool
pub fn is_channel1(&self) -> bool
Checks if the value of the field is CHANNEL1
Methods from Deref<Target = FieldReader<u8, USER_SEL_A>>
sourcepub fn bit_is_clear(&self) -> bool
pub fn bit_is_clear(&self) -> bool
Returns true
if the bit is clear (0).
sourcepub fn bit_is_set(&self) -> bool
pub fn bit_is_set(&self) -> bool
Returns true
if the bit is set (1).
Trait Implementations
sourceimpl Deref for USER_SEL_R
impl Deref for USER_SEL_R
type Target = FieldReader<u8, USER_SEL_A>
type Target = FieldReader<u8, USER_SEL_A>
The resulting type after dereferencing.
Auto Trait Implementations
impl RefUnwindSafe for USER_SEL_R
impl Send for USER_SEL_R
impl Sync for USER_SEL_R
impl Unpin for USER_SEL_R
impl UnwindSafe for USER_SEL_R
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more