Struct Optr
#[repr(transparent)]pub struct Optr(pub u32);
Expand description
desc OPTR.
Tuple Fields§
§0: u32
Implementations§
§impl Optr
impl Optr
pub fn set_iwdg_sw(&mut self, val: bool)
pub fn set_iwdg_sw(&mut self, val: bool)
desc IWDG_SW.
pub fn set_wwdg_sw(&mut self, val: bool)
pub fn set_wwdg_sw(&mut self, val: bool)
desc WWDG_SW.
pub fn set_nrst_mode(&mut self, val: bool)
pub fn set_nrst_mode(&mut self, val: bool)
desc NRST_MODE.
pub fn set_nboot1(&mut self, val: bool)
pub fn set_nboot1(&mut self, val: bool)
desc nBOOT1.
pub fn set_iwdg_stop(&mut self, val: bool)
pub fn set_iwdg_stop(&mut self, val: bool)
desc IWDG_STOP.
Trait Implementations§
impl Copy for Optr
impl Eq for Optr
impl StructuralPartialEq for Optr
Auto Trait Implementations§
impl Freeze for Optr
impl RefUnwindSafe for Optr
impl Send for Optr
impl Sync for Optr
impl Unpin for Optr
impl UnwindSafe for Optr
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