pub struct W(_);
Expand description
Register CR2
writer
Implementations§
source§impl W
impl W
sourcepub fn add(&mut self) -> FieldWriterRaw<'_, u32, CR2_SPEC, u8, u8, Safe, 4, 0>
pub fn add(&mut self) -> FieldWriterRaw<'_, u32, CR2_SPEC, u8, u8, Safe, 4, 0>
Bits 0:3 - Address of the USART node
sourcepub fn lbdl(&mut self) -> BitWriterRaw<'_, u32, CR2_SPEC, LBDL_A, BitM, 5>
pub fn lbdl(&mut self) -> BitWriterRaw<'_, u32, CR2_SPEC, LBDL_A, BitM, 5>
Bit 5 - lin break detection length
sourcepub fn lbdie(&mut self) -> BitWriterRaw<'_, u32, CR2_SPEC, LBDIE_A, BitM, 6>
pub fn lbdie(&mut self) -> BitWriterRaw<'_, u32, CR2_SPEC, LBDIE_A, BitM, 6>
Bit 6 - LIN break detection interrupt enable
sourcepub fn stop(
&mut self
) -> FieldWriterRaw<'_, u32, CR2_SPEC, u8, STOP_A, Unsafe, 2, 12>
pub fn stop(
&mut self
) -> FieldWriterRaw<'_, u32, CR2_SPEC, u8, STOP_A, Unsafe, 2, 12>
Bits 12:13 - STOP bits
Methods from Deref<Target = W<CR2_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.