Type Alias gd32f1::gd32f190::usart0::ctl2::R

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

Register CTL2 reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn errie(&self) -> ErrieR

Bit 0 - Error interrupt enable

source

pub fn iren(&self) -> IrenR

Bit 1 - IrDA mode enable

source

pub fn irlp(&self) -> IrlpR

Bit 2 - IrDA low-power

source

pub fn hden(&self) -> HdenR

Bit 3 - Half-duplex selection

source

pub fn nken(&self) -> NkenR

Bit 4 - NKEN enable in Smartcard mode

source

pub fn scen(&self) -> ScenR

Bit 5 - Smartcard mode enable

source

pub fn denr(&self) -> DenrR

Bit 6 - DMA enable for reception

source

pub fn dent(&self) -> DentR

Bit 7 - DMA enable transmitter

source

pub fn rtsen(&self) -> RtsenR

Bit 8 - RTS enable

source

pub fn ctsen(&self) -> CtsenR

Bit 9 - CTS enable

source

pub fn ctsie(&self) -> CtsieR

Bit 10 - CTS interrupt enable

source

pub fn osb(&self) -> OsbR

Bit 11 - One sample bit method

source

pub fn ovrd(&self) -> OvrdR

Bit 12 - Overrun Disable

source

pub fn ddre(&self) -> DdreR

Bit 13 - Disable DMA on reception error

source

pub fn dem(&self) -> DemR

Bit 14 - Driver enable mode

source

pub fn dep(&self) -> DepR

Bit 15 - Driver enable polarity mode

source

pub fn scrtnum(&self) -> ScrtnumR

Bits 17:19 - Smartcard auto-retry number

source

pub fn wum(&self) -> WumR

Bits 20:21 - Wakeup mode from Deep-sleep mode

source

pub fn wuie(&self) -> WuieR

Bit 22 - Wakeup from Deep-sleep mode interrupt enable