Type Alias gd32e1::gd32e103::usart0::ctl0::W

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

Register CTL0 writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn sbkcmd(&mut self) -> SbkcmdW<'_, Ctl0Spec>

Bit 0 - Send break command

source

pub fn rwu(&mut self) -> RwuW<'_, Ctl0Spec>

Bit 1 - Receiver wakeup from mute mode

source

pub fn ren(&mut self) -> RenW<'_, Ctl0Spec>

Bit 2 - Receiver enable

source

pub fn ten(&mut self) -> TenW<'_, Ctl0Spec>

Bit 3 - Transmitter enable

source

pub fn idleie(&mut self) -> IdleieW<'_, Ctl0Spec>

Bit 4 - IDLE line detected interrupt enable

source

pub fn rbneie(&mut self) -> RbneieW<'_, Ctl0Spec>

Bit 5 - Read data buffer not empty interrupt and overrun error interrupt enable

source

pub fn tcie(&mut self) -> TcieW<'_, Ctl0Spec>

Bit 6 - Transmission complete interrupt enable

source

pub fn tbeie(&mut self) -> TbeieW<'_, Ctl0Spec>

Bit 7 - Transmitter buffer empty interrupt enable

source

pub fn perrie(&mut self) -> PerrieW<'_, Ctl0Spec>

Bit 8 - Parity error interrupt enable

source

pub fn pm(&mut self) -> PmW<'_, Ctl0Spec>

Bit 9 - Parity mode

source

pub fn pcen(&mut self) -> PcenW<'_, Ctl0Spec>

Bit 10 - Parity check function enable

source

pub fn wm(&mut self) -> WmW<'_, Ctl0Spec>

Bit 11 - Wakeup method in mute mode

source

pub fn wl(&mut self) -> WlW<'_, Ctl0Spec>

Bit 12 - Word length

source

pub fn uen(&mut self) -> UenW<'_, Ctl0Spec>

Bit 13 - USART enable