Struct nrf52840_pac::power::pofcon::R
source · pub struct R(/* private fields */);
Expand description
Register POFCON
reader
Implementations§
source§impl R
impl R
sourcepub fn threshold(&self) -> THRESHOLD_R
pub fn threshold(&self) -> THRESHOLD_R
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(&self) -> THRESHOLDVDDH_R
pub fn thresholdvddh(&self) -> THRESHOLDVDDH_R
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 = R<POFCON_SPEC>>§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for R
impl RefUnwindSafe for R
impl Send for R
impl Sync for R
impl Unpin for R
impl UnwindSafe for 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