pub struct R(_);
Expand description
Register POFCON
reader
Implementations
sourceimpl 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
sourceimpl From<R<POFCON_SPEC>> for R
impl From<R<POFCON_SPEC>> for R
sourcefn from(reader: R<POFCON_SPEC>) -> Self
fn from(reader: R<POFCON_SPEC>) -> Self
Converts to this type from the input type.
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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