Struct stm32wlxx_hal::pac::flash::sr::W
pub struct W(/* private fields */);
Available on crate feature
stm32wl5x_cm4
only.Expand description
Register SR
writer
Implementations§
§impl W
impl W
pub fn progerr(&mut self) -> BitWriterRaw<'_, u32, SR_SPEC, PROGERR_AW, BitM, 3>
pub fn progerr(&mut self) -> BitWriterRaw<'_, u32, SR_SPEC, PROGERR_AW, BitM, 3>
Bit 3 - Programming error
pub fn wrperr(&mut self) -> BitWriterRaw<'_, u32, SR_SPEC, WRPERR_AW, BitM, 4>
pub fn wrperr(&mut self) -> BitWriterRaw<'_, u32, SR_SPEC, WRPERR_AW, BitM, 4>
Bit 4 - Write protected error
pub fn pgaerr(&mut self) -> BitWriterRaw<'_, u32, SR_SPEC, PGAERR_AW, BitM, 5>
pub fn pgaerr(&mut self) -> BitWriterRaw<'_, u32, SR_SPEC, PGAERR_AW, BitM, 5>
Bit 5 - Programming alignment error
pub fn pgserr(&mut self) -> BitWriterRaw<'_, u32, SR_SPEC, PGSERR_AW, BitM, 7>
pub fn pgserr(&mut self) -> BitWriterRaw<'_, u32, SR_SPEC, PGSERR_AW, BitM, 7>
Bit 7 - Programming sequence error
pub fn misserr(&mut self) -> BitWriterRaw<'_, u32, SR_SPEC, MISSERR_AW, BitM, 8>
pub fn misserr(&mut self) -> BitWriterRaw<'_, u32, SR_SPEC, MISSERR_AW, BitM, 8>
Bit 8 - Fast programming data miss error
pub fn fasterr(&mut self) -> BitWriterRaw<'_, u32, SR_SPEC, FASTERR_AW, BitM, 9>
pub fn fasterr(&mut self) -> BitWriterRaw<'_, u32, SR_SPEC, FASTERR_AW, BitM, 9>
Bit 9 - Fast programming error
pub fn rderr(&mut self) -> BitWriterRaw<'_, u32, SR_SPEC, RDERR_AW, BitM, 14>
pub fn rderr(&mut self) -> BitWriterRaw<'_, u32, SR_SPEC, RDERR_AW, BitM, 14>
Bit 14 - PCROP read error
pub fn optverr(
&mut self
) -> BitWriterRaw<'_, u32, SR_SPEC, OPTVERR_AW, BitM, 15>
pub fn optverr( &mut self ) -> BitWriterRaw<'_, u32, SR_SPEC, OPTVERR_AW, BitM, 15>
Bit 15 - Option validity error
Methods from Deref<Target = W<SR_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