Type Alias gd32f1::gd32f190::usart0::ctl1::R

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

Register CTL1 reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn addm(&self) -> AddmR

Bit 4 - Address detection mode

source

pub fn lblen(&self) -> LblenR

Bit 5 - LIN break frame length

source

pub fn lbdie(&self) -> LbdieR

Bit 6 - LIN break detection interrupt enable

source

pub fn clen(&self) -> ClenR

Bit 8 - CK length

source

pub fn cph(&self) -> CphR

Bit 9 - Clock phase

source

pub fn cpl(&self) -> CplR

Bit 10 - Clock polarity

source

pub fn cken(&self) -> CkenR

Bit 11 - CK pin enable

source

pub fn stb(&self) -> StbR

Bits 12:13 - STOP bits length

source

pub fn lmen(&self) -> LmenR

Bit 14 - LIN mode enable

source

pub fn strp(&self) -> StrpR

Bit 15 - Swap TX/RX pins

source

pub fn rinv(&self) -> RinvR

Bit 16 - RX pin level inversion

source

pub fn tinv(&self) -> TinvR

Bit 17 - TX pin level inversion

source

pub fn dinv(&self) -> DinvR

Bit 18 - Data bit level inversion

source

pub fn msbf(&self) -> MsbfR

Bit 19 - Most significant bit first

source

pub fn abden(&self) -> AbdenR

Bit 20 - Auto baud rate enable

source

pub fn abdm(&self) -> AbdmR

Bits 21:22 - Auto baud rate mode

source

pub fn rten(&self) -> RtenR

Bit 23 - Receiver timeout enable

source

pub fn addr(&self) -> AddrR

Bits 24:31 - Address of the USART terminal