Type Alias gd32e5::gd32e508::uart4::ctl2::W

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

Register CTL2 writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn errie(&mut self) -> ErrieW<'_, Ctl2Spec>

Bit 0 - Error interrupt enable

source

pub fn iren(&mut self) -> IrenW<'_, Ctl2Spec>

Bit 1 - IrDA mode enable

source

pub fn irlp(&mut self) -> IrlpW<'_, Ctl2Spec>

Bit 2 - IrDA low-power

source

pub fn hden(&mut self) -> HdenW<'_, Ctl2Spec>

Bit 3 - Half-duplex selection

source

pub fn denr(&mut self) -> DenrW<'_, Ctl2Spec>

Bit 6 - DMA request enable for reception

source

pub fn dent(&mut self) -> DentW<'_, Ctl2Spec>

Bit 7 - DMA request enable for transmission

source

pub fn osb(&mut self) -> OsbW<'_, Ctl2Spec>

Bit 11 - One sample bit method enable