Struct nrf52840_pac::power::pofcon::W
source · pub struct W(/* private fields */);
Expand description
Register POFCON
writer
Implementations§
source§impl W
impl W
sourcepub fn threshold(&mut self) -> THRESHOLD_W<'_, 1>
pub fn threshold(&mut self) -> THRESHOLD_W<'_, 1>
Bits 1:4 - Power-fail comparator threshold setting. This setting applies both for normal voltage mode (supply connected to both VDD and VDDH) and high voltage mode (supply connected to VDDH only). Values 0-3 set threshold below 1.7 V and should not be used as brown out detection will be activated before power failure warning on such low voltages.
sourcepub fn thresholdvddh(&mut self) -> THRESHOLDVDDH_W<'_, 8>
pub fn thresholdvddh(&mut self) -> THRESHOLDVDDH_W<'_, 8>
Bits 8:11 - Power-fail comparator threshold setting for high voltage mode (supply connected to VDDH only). This setting does not apply for normal voltage mode (supply connected to both VDD and VDDH).
Methods from Deref<Target = W<POFCON_SPEC>>§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for W
impl RefUnwindSafe for W
impl Send for W
impl Sync for W
impl Unpin for W
impl UnwindSafe for W
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