pub struct RTC_OSC_PD_R(/* private fields */);Expand description
Field RTC_OSC_PD reader - RTC oscillator power-down control.
Implementations§
Source§impl RTC_OSC_PD_R
impl RTC_OSC_PD_R
Sourcepub fn variant(&self) -> RTC_OSC_PD_A
pub fn variant(&self) -> RTC_OSC_PD_A
Get enumerated values variant
Sourcepub fn is_power_up(&self) -> bool
pub fn is_power_up(&self) -> bool
Checks if the value of the field is POWER_UP
Sourcepub fn is_powered_down(&self) -> bool
pub fn is_powered_down(&self) -> bool
Checks if the value of the field is POWERED_DOWN
Methods from Deref<Target = FieldReader<bool, RTC_OSC_PD_A>>§
Trait Implementations§
Source§impl Deref for RTC_OSC_PD_R
impl Deref for RTC_OSC_PD_R
Source§type Target = FieldReader<bool, RTC_OSC_PD_A>
type Target = FieldReader<bool, RTC_OSC_PD_A>
The resulting type after dereferencing.
Auto Trait Implementations§
impl Freeze for RTC_OSC_PD_R
impl RefUnwindSafe for RTC_OSC_PD_R
impl Send for RTC_OSC_PD_R
impl Sync for RTC_OSC_PD_R
impl Unpin for RTC_OSC_PD_R
impl UnwindSafe for RTC_OSC_PD_R
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more