pub struct W(/* private fields */);Expand description
Register CR1 writer
Implementations§
Source§impl W
impl W
Sourcepub 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
Sourcepub 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
Sourcepub 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
Sourcepub 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
Sourcepub fn mme(&mut self) -> BitWriterRaw<'_, u32, CR1_SPEC, MME_A, BitM, 13>
pub fn mme(&mut self) -> BitWriterRaw<'_, u32, CR1_SPEC, MME_A, BitM, 13>
Bit 13 - Mute mode enable
Sourcepub 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
Sourcepub 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
Sourcepub fn ps(&mut self) -> BitWriterRaw<'_, u32, CR1_SPEC, PS_A, BitM, 9>
pub fn ps(&mut self) -> BitWriterRaw<'_, u32, CR1_SPEC, PS_A, BitM, 9>
Bit 9 - Parity selection
Sourcepub 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
Sourcepub 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
Sourcepub 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
Sourcepub 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
Sourcepub 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
Sourcepub fn te(&mut self) -> BitWriterRaw<'_, u32, CR1_SPEC, TE_A, BitM, 3>
pub fn te(&mut self) -> BitWriterRaw<'_, u32, CR1_SPEC, TE_A, BitM, 3>
Bit 3 - Transmitter enable
Sourcepub 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 Stop mode
Sourcepub 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>>§
Sourcepub 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§
impl Freeze for W
impl RefUnwindSafe for W
impl Send for W
impl Sync for W
impl Unpin for W
impl UnwindSafe for W
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