pub struct W(/* private fields */);Expand description
Register UCSR2C writer
Implementations§
source§impl W
impl W
sourcepub fn ucpol2(&mut self) -> BitWriterRaw<'_, u8, UCSR2C_SPEC, UCPOL2_A, BitM, 0>
pub fn ucpol2(&mut self) -> BitWriterRaw<'_, u8, UCSR2C_SPEC, UCPOL2_A, BitM, 0>
Bit 0 - Clock Polarity
sourcepub fn ucsz2(
&mut self
) -> FieldWriterRaw<'_, u8, UCSR2C_SPEC, u8, UCSZ2_A, Safe, 2, 1>
pub fn ucsz2( &mut self ) -> FieldWriterRaw<'_, u8, UCSR2C_SPEC, u8, UCSZ2_A, Safe, 2, 1>
Bits 1:2 - Character Size
sourcepub fn usbs2(&mut self) -> BitWriterRaw<'_, u8, UCSR2C_SPEC, USBS2_A, BitM, 3>
pub fn usbs2(&mut self) -> BitWriterRaw<'_, u8, UCSR2C_SPEC, USBS2_A, BitM, 3>
Bit 3 - Stop Bit Select
sourcepub fn upm2(
&mut self
) -> FieldWriterRaw<'_, u8, UCSR2C_SPEC, u8, UPM2_A, Unsafe, 2, 4>
pub fn upm2( &mut self ) -> FieldWriterRaw<'_, u8, UCSR2C_SPEC, u8, UPM2_A, Unsafe, 2, 4>
Bits 4:5 - Parity Mode Bits
sourcepub fn umsel2(
&mut self
) -> FieldWriterRaw<'_, u8, UCSR2C_SPEC, u8, UMSEL2_A, Unsafe, 2, 6>
pub fn umsel2( &mut self ) -> FieldWriterRaw<'_, u8, UCSR2C_SPEC, u8, UMSEL2_A, Unsafe, 2, 6>
Bits 6:7 - USART Mode Select