#[repr(transparent)]pub struct Pofcon(pub u32);
Expand description
Power-fail comparator configuration
Tuple Fields§
§0: u32
Implementations§
Source§impl Pofcon
impl Pofcon
Sourcepub fn set_threshold(&mut self, val: Threshold)
pub fn set_threshold(&mut self, val: Threshold)
Power-fail comparator threshold setting
Sourcepub const fn thresholdvddh(&self) -> Thresholdvddh
pub const fn thresholdvddh(&self) -> Thresholdvddh
Power-fail comparator threshold setting for voltage supply on VDDH
Sourcepub fn set_thresholdvddh(&mut self, val: Thresholdvddh)
pub fn set_thresholdvddh(&mut self, val: Thresholdvddh)
Power-fail comparator threshold setting for voltage supply on VDDH
Trait Implementations§
impl Copy for Pofcon
impl Eq for Pofcon
impl StructuralPartialEq for Pofcon
Auto Trait Implementations§
impl Freeze for Pofcon
impl RefUnwindSafe for Pofcon
impl Send for Pofcon
impl Sync for Pofcon
impl Unpin for Pofcon
impl UnwindSafe for Pofcon
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)