Struct stm32wlxx_hal::pac::flash::c2sr::W
pub struct W(/* private fields */);
Available on crate feature
stm32wl5x_cm4
only.Expand description
Register C2SR
writer
Implementations§
§impl W
impl W
pub fn operr(&mut self) -> BitWriterRaw<'_, u32, C2SR_SPEC, OPERR_AW, BitM, 1>
pub fn operr(&mut self) -> BitWriterRaw<'_, u32, C2SR_SPEC, OPERR_AW, BitM, 1>
Bit 1 - Operation error
pub fn progerr(
&mut self
) -> BitWriterRaw<'_, u32, C2SR_SPEC, PROGERR_AW, BitM, 3>
pub fn progerr( &mut self ) -> BitWriterRaw<'_, u32, C2SR_SPEC, PROGERR_AW, BitM, 3>
Bit 3 - Programming error
pub fn pgserr(&mut self) -> BitWriterRaw<'_, u32, C2SR_SPEC, PGSERR_AW, BitM, 7>
pub fn pgserr(&mut self) -> BitWriterRaw<'_, u32, C2SR_SPEC, PGSERR_AW, BitM, 7>
Bit 7 - Programming sequence error
pub fn misserr(
&mut self
) -> BitWriterRaw<'_, u32, C2SR_SPEC, MISSERR_AW, BitM, 8>
pub fn misserr( &mut self ) -> BitWriterRaw<'_, u32, C2SR_SPEC, MISSERR_AW, BitM, 8>
Bit 8 - Fast programming data miss error
pub fn fasterr(
&mut self
) -> BitWriterRaw<'_, u32, C2SR_SPEC, FASTERR_AW, BitM, 9>
pub fn fasterr( &mut self ) -> BitWriterRaw<'_, u32, C2SR_SPEC, FASTERR_AW, BitM, 9>
Bit 9 - Fast programming error
Methods from Deref<Target = W<C2SR_SPEC>>§
pub 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§
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