Type Alias gd32e1::gd32e103::usart0::ctl1::W

source ·
pub type W = W<Ctl1Spec>;
Expand description

Register CTL1 writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn addr(&mut self) -> AddrW<'_, Ctl1Spec>

Bits 0:3 - Address of the USART

source

pub fn lblen(&mut self) -> LblenW<'_, Ctl1Spec>

Bit 5 - LIN break frame length

source

pub fn lbdie(&mut self) -> LbdieW<'_, Ctl1Spec>

Bit 6 - LIN break detection interrupt enable

source

pub fn clen(&mut self) -> ClenW<'_, Ctl1Spec>

Bit 8 - CK Length

source

pub fn cph(&mut self) -> CphW<'_, Ctl1Spec>

Bit 9 - Clock phase

source

pub fn cpl(&mut self) -> CplW<'_, Ctl1Spec>

Bit 10 - Clock polarity

source

pub fn cken(&mut self) -> CkenW<'_, Ctl1Spec>

Bit 11 - CK pin enable

source

pub fn stb(&mut self) -> StbW<'_, Ctl1Spec>

Bits 12:13 - STOP bits length

source

pub fn lmen(&mut self) -> LmenW<'_, Ctl1Spec>

Bit 14 - LIN mode enable