Struct stm32wlxx_hal::pac::usart1::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 low-power 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 udrcf(&mut self) -> BitWriterRaw<'_, u32, ICR_SPEC, UDRCF_AW, BitM, 13>
pub fn udrcf(&mut self) -> BitWriterRaw<'_, u32, ICR_SPEC, UDRCF_AW, BitM, 13>
Bit 13 - SPI slave underrun clear flag
pub fn eobcf(&mut self) -> BitWriterRaw<'_, u32, ICR_SPEC, EOBCF_AW, BitM, 12>
pub fn eobcf(&mut self) -> BitWriterRaw<'_, u32, ICR_SPEC, EOBCF_AW, BitM, 12>
Bit 12 - End of block clear flag
pub fn rtocf(&mut self) -> BitWriterRaw<'_, u32, ICR_SPEC, RTOCF_AW, BitM, 11>
pub fn rtocf(&mut self) -> BitWriterRaw<'_, u32, ICR_SPEC, RTOCF_AW, BitM, 11>
Bit 11 - Receiver timeout clear flag
pub fn lbdcf(&mut self) -> BitWriterRaw<'_, u32, ICR_SPEC, LBDCF_AW, BitM, 8>
pub fn lbdcf(&mut self) -> BitWriterRaw<'_, u32, ICR_SPEC, LBDCF_AW, BitM, 8>
Bit 8 - LIN break detection clear flag
pub fn tcbgtcf(
&mut self
) -> BitWriterRaw<'_, u32, ICR_SPEC, TCBGTCF_AW, BitM, 7>
pub fn tcbgtcf( &mut self ) -> BitWriterRaw<'_, u32, ICR_SPEC, TCBGTCF_AW, BitM, 7>
Bit 7 - Transmission complete before Guard time 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 txfecf(&mut self) -> BitWriterRaw<'_, u32, ICR_SPEC, TXFECF_AW, BitM, 5>
pub fn txfecf(&mut self) -> BitWriterRaw<'_, u32, ICR_SPEC, TXFECF_AW, BitM, 5>
Bit 5 - TXFIFO empty 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