Struct stm32wlxx_hal::pac::lpuart::icr::W
pub struct W(/* private fields */);
Available on crate feature
stm32wl5x_cm4
only.Expand description
Register ICR
writer
Implementations§
§impl W
impl W
pub fn wucf(&mut self) -> BitWriterRaw<'_, u32, ICR_SPEC, WUCF_AW, BitM, 20>
pub fn wucf(&mut self) -> BitWriterRaw<'_, u32, ICR_SPEC, WUCF_AW, BitM, 20>
Bit 20 - Wakeup from Stop mode clear flag
pub fn cmcf(&mut self) -> BitWriterRaw<'_, u32, ICR_SPEC, CMCF_AW, BitM, 17>
pub fn cmcf(&mut self) -> BitWriterRaw<'_, u32, ICR_SPEC, CMCF_AW, BitM, 17>
Bit 17 - Character match clear flag
pub fn tccf(&mut self) -> BitWriterRaw<'_, u32, ICR_SPEC, TCCF_AW, BitM, 6>
pub fn tccf(&mut self) -> BitWriterRaw<'_, u32, ICR_SPEC, TCCF_AW, BitM, 6>
Bit 6 - Transmission complete clear flag
pub fn idlecf(&mut self) -> BitWriterRaw<'_, u32, ICR_SPEC, IDLECF_AW, BitM, 4>
pub fn idlecf(&mut self) -> BitWriterRaw<'_, u32, ICR_SPEC, IDLECF_AW, BitM, 4>
Bit 4 - Idle line detected clear flag
pub fn orecf(&mut self) -> BitWriterRaw<'_, u32, ICR_SPEC, ORECF_AW, BitM, 3>
pub fn orecf(&mut self) -> BitWriterRaw<'_, u32, ICR_SPEC, ORECF_AW, BitM, 3>
Bit 3 - Overrun error clear flag
pub fn ncf(&mut self) -> BitWriterRaw<'_, u32, ICR_SPEC, NCF_AW, BitM, 2>
pub fn ncf(&mut self) -> BitWriterRaw<'_, u32, ICR_SPEC, NCF_AW, BitM, 2>
Bit 2 - Noise detected clear flag
pub fn fecf(&mut self) -> BitWriterRaw<'_, u32, ICR_SPEC, FECF_AW, BitM, 1>
pub fn fecf(&mut self) -> BitWriterRaw<'_, u32, ICR_SPEC, FECF_AW, BitM, 1>
Bit 1 - Framing error clear flag
Methods from Deref<Target = W<ICR_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