pub struct OSEL_R(_);
Expand description
Field OSEL
reader - Output selection
Implementations
sourceimpl OSEL_R
impl OSEL_R
sourcepub fn is_disabled(&self) -> bool
pub fn is_disabled(&self) -> bool
Checks if the value of the field is DISABLED
sourcepub fn is_alarm_a(&self) -> bool
pub fn is_alarm_a(&self) -> bool
Checks if the value of the field is ALARMA
sourcepub fn is_alarm_b(&self) -> bool
pub fn is_alarm_b(&self) -> bool
Checks if the value of the field is ALARMB
Methods from Deref<Target = FieldReader<u8, OSEL_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
Auto Trait Implementations
impl RefUnwindSafe for OSEL_R
impl Send for OSEL_R
impl Sync for OSEL_R
impl Unpin for OSEL_R
impl UnwindSafe for OSEL_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