Struct stm32wlxx_hal::pac::lpuart::cr1::W
pub struct W(/* private fields */);
Available on crate feature
stm32wl5x_cm4
only.Expand description
Register CR1
writer
Implementations§
§impl W
impl W
pub fn rxffie(&mut self) -> BitWriterRaw<'_, u32, CR1_SPEC, RXFFIE_A, BitM, 31>
pub fn rxffie(&mut self) -> BitWriterRaw<'_, u32, CR1_SPEC, RXFFIE_A, BitM, 31>
Bit 31 - RXFIFO Full interrupt enable
pub fn txfeie(&mut self) -> BitWriterRaw<'_, u32, CR1_SPEC, TXFEIE_A, BitM, 30>
pub fn txfeie(&mut self) -> BitWriterRaw<'_, u32, CR1_SPEC, TXFEIE_A, BitM, 30>
Bit 30 - TXFIFO empty interrupt enable
pub fn fifoen(&mut self) -> BitWriterRaw<'_, u32, CR1_SPEC, FIFOEN_A, BitM, 29>
pub fn fifoen(&mut self) -> BitWriterRaw<'_, u32, CR1_SPEC, FIFOEN_A, BitM, 29>
Bit 29 - FIFO mode enable
pub fn cmie(&mut self) -> BitWriterRaw<'_, u32, CR1_SPEC, CMIE_A, BitM, 14>
pub fn cmie(&mut self) -> BitWriterRaw<'_, u32, CR1_SPEC, CMIE_A, BitM, 14>
Bit 14 - Character match interrupt enable
pub fn wake(&mut self) -> BitWriterRaw<'_, u32, CR1_SPEC, WAKE_A, BitM, 11>
pub fn wake(&mut self) -> BitWriterRaw<'_, u32, CR1_SPEC, WAKE_A, BitM, 11>
Bit 11 - Receiver wakeup method
pub fn pce(&mut self) -> BitWriterRaw<'_, u32, CR1_SPEC, PCE_A, BitM, 10>
pub fn pce(&mut self) -> BitWriterRaw<'_, u32, CR1_SPEC, PCE_A, BitM, 10>
Bit 10 - Parity control enable
pub fn peie(&mut self) -> BitWriterRaw<'_, u32, CR1_SPEC, PEIE_A, BitM, 8>
pub fn peie(&mut self) -> BitWriterRaw<'_, u32, CR1_SPEC, PEIE_A, BitM, 8>
Bit 8 - PE interrupt enable
pub fn txeie(&mut self) -> BitWriterRaw<'_, u32, CR1_SPEC, TXEIE_A, BitM, 7>
pub fn txeie(&mut self) -> BitWriterRaw<'_, u32, CR1_SPEC, TXEIE_A, BitM, 7>
Bit 7 - interrupt enable
pub fn tcie(&mut self) -> BitWriterRaw<'_, u32, CR1_SPEC, TCIE_A, BitM, 6>
pub fn tcie(&mut self) -> BitWriterRaw<'_, u32, CR1_SPEC, TCIE_A, BitM, 6>
Bit 6 - Transmission complete interrupt enable
pub fn rxneie(&mut self) -> BitWriterRaw<'_, u32, CR1_SPEC, RXNEIE_A, BitM, 5>
pub fn rxneie(&mut self) -> BitWriterRaw<'_, u32, CR1_SPEC, RXNEIE_A, BitM, 5>
Bit 5 - RXNE interrupt enable
pub fn idleie(&mut self) -> BitWriterRaw<'_, u32, CR1_SPEC, IDLEIE_A, BitM, 4>
pub fn idleie(&mut self) -> BitWriterRaw<'_, u32, CR1_SPEC, IDLEIE_A, BitM, 4>
Bit 4 - IDLE interrupt enable
Methods from Deref<Target = W<CR1_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