Struct stm32wlxx_hal::pac::usart1::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 eobie(&mut self) -> BitWriterRaw<'_, u32, CR1_SPEC, EOBIE_A, BitM, 27>
pub fn eobie(&mut self) -> BitWriterRaw<'_, u32, CR1_SPEC, EOBIE_A, BitM, 27>
Bit 27 - End of Block interrupt enable
pub fn rtoie(&mut self) -> BitWriterRaw<'_, u32, CR1_SPEC, RTOIE_A, BitM, 26>
pub fn rtoie(&mut self) -> BitWriterRaw<'_, u32, CR1_SPEC, RTOIE_A, BitM, 26>
Bit 26 - Receiver timeout interrupt enable
pub fn over8(&mut self) -> BitWriterRaw<'_, u32, CR1_SPEC, OVER8_A, BitM, 15>
pub fn over8(&mut self) -> BitWriterRaw<'_, u32, CR1_SPEC, OVER8_A, BitM, 15>
Bit 15 - Oversampling mode
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 - Transmit data register empty/TXFIFO not full 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 - Receive data register not empty/RXFIFO not empty 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
pub fn uesm(&mut self) -> BitWriterRaw<'_, u32, CR1_SPEC, UESM_A, BitM, 1>
pub fn uesm(&mut self) -> BitWriterRaw<'_, u32, CR1_SPEC, UESM_A, BitM, 1>
Bit 1 - USART enable in low-power mode
pub fn deat(&mut self) -> FieldWriterRaw<'_, u32, CR1_SPEC, u8, u8, Safe, 5, 21>
pub fn deat(&mut self) -> FieldWriterRaw<'_, u32, CR1_SPEC, u8, u8, Safe, 5, 21>
Bits 21:25 - Driver Enable assertion time
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