pub struct W(/* private fields */);Expand description
Register OPTR writer
Implementations§
Source§impl W
impl W
Sourcepub fn n_rst_stop(&mut self) -> NRST_STOP_W<'_>
pub fn n_rst_stop(&mut self) -> NRST_STOP_W<'_>
Bit 12 - nRST_STOP
Sourcepub fn n_rst_stdby(&mut self) -> NRST_STDBY_W<'_>
pub fn n_rst_stdby(&mut self) -> NRST_STDBY_W<'_>
Bit 13 - nRST_STDBY
Sourcepub fn iwdg_stop(&mut self) -> IWDG_STOP_W<'_>
pub fn iwdg_stop(&mut self) -> IWDG_STOP_W<'_>
Bit 17 - Independent watchdog counter freeze in Stop mode
Sourcepub fn iwdg_stdby(&mut self) -> IWDG_STDBY_W<'_>
pub fn iwdg_stdby(&mut self) -> IWDG_STDBY_W<'_>
Bit 18 - Independent watchdog counter freeze in Standby mode
Sourcepub fn dualbank(&mut self) -> DUALBANK_W<'_>
pub fn dualbank(&mut self) -> DUALBANK_W<'_>
Bit 21 - Dual-Bank on 512 KB or 256 KB Flash memory devices
Sourcepub fn sram2_pe(&mut self) -> SRAM2_PE_W<'_>
pub fn sram2_pe(&mut self) -> SRAM2_PE_W<'_>
Bit 24 - SRAM2 parity check enable
Sourcepub fn sram2_rst(&mut self) -> SRAM2_RST_W<'_>
pub fn sram2_rst(&mut self) -> SRAM2_RST_W<'_>
Bit 25 - SRAM2 Erase when system reset
Sourcepub fn n_swboot0(&mut self) -> NSWBOOT0_W<'_>
pub fn n_swboot0(&mut self) -> NSWBOOT0_W<'_>
Bit 26 - Software BOOT0
Methods from Deref<Target = W<OPTR_SPEC>>§
Sourcepub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
pub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
Writes raw bits to the register.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for W
impl RefUnwindSafe for W
impl Send for W
impl Sync for W
impl Unpin for W
impl UnwindSafe for W
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