pub type W = W<UartCtlSpec>;Expand description
Register UART_CTL writer
Aliased Type§
pub struct W { /* private fields */ }Implementations§
Source§impl W
impl W
Sourcepub fn div_en(&mut self) -> DivEnW<'_, UartCtlSpec>
pub fn div_en(&mut self) -> DivEnW<'_, UartCtlSpec>
Bit 0 - Divider enable: 0=div accessible when not busy; 1=div accessible anytime
Sourcepub fn xbreak(&mut self) -> XbreakW<'_, UartCtlSpec>
pub fn xbreak(&mut self) -> XbreakW<'_, UartCtlSpec>
Bit 1 - Break control: 0=normal; 1=force TX to space
Sourcepub fn dlen(&mut self) -> DlenW<'_, UartCtlSpec>
pub fn dlen(&mut self) -> DlenW<'_, UartCtlSpec>
Bits 2:3 - Data length: 00=5bit; 01=6bit; 10=7bit; 11=8bit
Sourcepub fn eps(&mut self) -> EpsW<'_, UartCtlSpec>
pub fn eps(&mut self) -> EpsW<'_, UartCtlSpec>
Bit 4 - Parity select: 0=odd; 1=even
Sourcepub fn pen(&mut self) -> PenW<'_, UartCtlSpec>
pub fn pen(&mut self) -> PenW<'_, UartCtlSpec>
Bit 5 - Parity enable: 0=disabled; 1=enabled
Sourcepub fn sps(&mut self) -> SpsW<'_, UartCtlSpec>
pub fn sps(&mut self) -> SpsW<'_, UartCtlSpec>
Bit 6 - Sticky parity: 0=disabled; 1=enabled
Sourcepub fn stp(&mut self) -> StpW<'_, UartCtlSpec>
pub fn stp(&mut self) -> StpW<'_, UartCtlSpec>
Bit 7 - Stop bits: 0=1bit; 1=1.5/2bit