pub type W = W<CTRLB_SPEC>;
Expand description
Register CTRLB
writer
Aliased Type§
struct W { /* private fields */ }
Implementations§
source§impl W
impl W
sourcepub fn chsize(&mut self) -> CHSIZE_W<'_, CTRLB_SPEC, 0>
pub fn chsize(&mut self) -> CHSIZE_W<'_, CTRLB_SPEC, 0>
Bits 0:2 - Character Size
sourcepub fn sbmode(&mut self) -> SBMODE_W<'_, CTRLB_SPEC, 6>
pub fn sbmode(&mut self) -> SBMODE_W<'_, CTRLB_SPEC, 6>
Bit 6 - Stop Bit Mode
sourcepub fn colden(&mut self) -> COLDEN_W<'_, CTRLB_SPEC, 8>
pub fn colden(&mut self) -> COLDEN_W<'_, CTRLB_SPEC, 8>
Bit 8 - Collision Detection Enable
sourcepub fn sfde(&mut self) -> SFDE_W<'_, CTRLB_SPEC, 9>
pub fn sfde(&mut self) -> SFDE_W<'_, CTRLB_SPEC, 9>
Bit 9 - Start of Frame Detection Enable
sourcepub fn enc(&mut self) -> ENC_W<'_, CTRLB_SPEC, 10>
pub fn enc(&mut self) -> ENC_W<'_, CTRLB_SPEC, 10>
Bit 10 - Encoding Format
sourcepub fn pmode(&mut self) -> PMODE_W<'_, CTRLB_SPEC, 13>
pub fn pmode(&mut self) -> PMODE_W<'_, CTRLB_SPEC, 13>
Bit 13 - Parity Mode
sourcepub fn txen(&mut self) -> TXEN_W<'_, CTRLB_SPEC, 16>
pub fn txen(&mut self) -> TXEN_W<'_, CTRLB_SPEC, 16>
Bit 16 - Transmitter Enable
sourcepub fn rxen(&mut self) -> RXEN_W<'_, CTRLB_SPEC, 17>
pub fn rxen(&mut self) -> RXEN_W<'_, CTRLB_SPEC, 17>
Bit 17 - Receiver Enable
sourcepub fn lincmd(&mut self) -> LINCMD_W<'_, CTRLB_SPEC, 24>
pub fn lincmd(&mut self) -> LINCMD_W<'_, CTRLB_SPEC, 24>
Bits 24:25 - LIN Command