Type Definition gd32f1::gd32f130::usart0::ctl2::W[][src]

type W = W<u32, CTL2>;

Writer for register CTL2

Implementations

impl W[src]

pub fn wuie(&mut self) -> WUIE_W<'_>[src]

Bit 22 - Wakeup from Deep-sleep mode interrupt enable

pub fn wum(&mut self) -> WUM_W<'_>[src]

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

pub fn scrtnum(&mut self) -> SCRTNUM_W<'_>[src]

Bits 17:19 - Smartcard auto-retry number

pub fn dep(&mut self) -> DEP_W<'_>[src]

Bit 15 - Driver enable polarity mode

pub fn dem(&mut self) -> DEM_W<'_>[src]

Bit 14 - Driver enable mode

pub fn ddre(&mut self) -> DDRE_W<'_>[src]

Bit 13 - Disable DMA on reception error

pub fn ovrd(&mut self) -> OVRD_W<'_>[src]

Bit 12 - Overrun Disable

pub fn osb(&mut self) -> OSB_W<'_>[src]

Bit 11 - One sample bit method

pub fn ctsie(&mut self) -> CTSIE_W<'_>[src]

Bit 10 - CTS interrupt enable

pub fn ctsen(&mut self) -> CTSEN_W<'_>[src]

Bit 9 - CTS enable

pub fn rtsen(&mut self) -> RTSEN_W<'_>[src]

Bit 8 - RTS enable

pub fn dent(&mut self) -> DENT_W<'_>[src]

Bit 7 - DMA enable transmitter

pub fn denr(&mut self) -> DENR_W<'_>[src]

Bit 6 - DMA enable for reception

pub fn scen(&mut self) -> SCEN_W<'_>[src]

Bit 5 - Smartcard mode enable

pub fn nken(&mut self) -> NKEN_W<'_>[src]

Bit 4 - NKEN enable in Smartcard mode

pub fn hden(&mut self) -> HDEN_W<'_>[src]

Bit 3 - Half-duplex selection

pub fn irlp(&mut self) -> IRLP_W<'_>[src]

Bit 2 - IrDA low-power

pub fn iren(&mut self) -> IREN_W<'_>[src]

Bit 1 - IrDA mode enable

pub fn errie(&mut self) -> ERRIE_W<'_>[src]

Bit 0 - Error interrupt enable