Type Alias gd32e1::gd32e103::usart0::ctl0::R

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

Register CTL0 reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn sbkcmd(&self) -> SbkcmdR

Bit 0 - Send break command

source

pub fn rwu(&self) -> RwuR

Bit 1 - Receiver wakeup from mute mode

source

pub fn ren(&self) -> RenR

Bit 2 - Receiver enable

source

pub fn ten(&self) -> TenR

Bit 3 - Transmitter enable

source

pub fn idleie(&self) -> IdleieR

Bit 4 - IDLE line detected interrupt enable

source

pub fn rbneie(&self) -> RbneieR

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

source

pub fn tcie(&self) -> TcieR

Bit 6 - Transmission complete interrupt enable

source

pub fn tbeie(&self) -> TbeieR

Bit 7 - Transmitter buffer empty interrupt enable

source

pub fn perrie(&self) -> PerrieR

Bit 8 - Parity error interrupt enable

source

pub fn pm(&self) -> PmR

Bit 9 - Parity mode

source

pub fn pcen(&self) -> PcenR

Bit 10 - Parity check function enable

source

pub fn wm(&self) -> WmR

Bit 11 - Wakeup method in mute mode

source

pub fn wl(&self) -> WlR

Bit 12 - Word length

source

pub fn uen(&self) -> UenR

Bit 13 - USART enable