pub struct W(_);
Expand description
Register CFG2
writer
Implementations
sourceimpl W
impl W
sourcepub fn sram_pcef(
&mut self
) -> BitWriterRaw<'_, u32, CFG2_SPEC, SRAM_PCEF_AW, BitM, 8_u8>
pub fn sram_pcef(
&mut self
) -> BitWriterRaw<'_, u32, CFG2_SPEC, SRAM_PCEF_AW, BitM, 8_u8>
Bit 8 - SRAM parity check error flag
sourcepub fn lvd_lock(
&mut self
) -> BitWriterRaw<'_, u32, CFG2_SPEC, LVD_LOCK_A, BitM, 2_u8>
pub fn lvd_lock(
&mut self
) -> BitWriterRaw<'_, u32, CFG2_SPEC, LVD_LOCK_A, BitM, 2_u8>
Bit 2 - LVD lock
sourcepub fn sram_parity_error_lock(
&mut self
) -> BitWriterRaw<'_, u32, CFG2_SPEC, SRAM_PARITY_ERROR_LOCK_A, BitM, 1_u8>
pub fn sram_parity_error_lock(
&mut self
) -> BitWriterRaw<'_, u32, CFG2_SPEC, SRAM_PARITY_ERROR_LOCK_A, BitM, 1_u8>
Bit 1 - SRAM parity check error lock
sourcepub fn lockup_lock(
&mut self
) -> BitWriterRaw<'_, u32, CFG2_SPEC, LOCKUP_LOCK_A, BitM, 0_u8>
pub fn lockup_lock(
&mut self
) -> BitWriterRaw<'_, u32, CFG2_SPEC, LOCKUP_LOCK_A, BitM, 0_u8>
Bit 0 - Cortex-M3 LOCKUP output lock
Methods from Deref<Target = W<CFG2_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
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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