#[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 eventdisable(&self) -> Eventdisable
pub const fn eventdisable(&self) -> Eventdisable
Disable the POFWARN power-fail warning event
Sourcepub fn set_eventdisable(&mut self, val: Eventdisable)
pub fn set_eventdisable(&mut self, val: Eventdisable)
Disable the POFWARN power-fail warning event
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
)