k210_pac::uarths::txctrl

Type Alias R

Source
pub type R = R<u32, TXCTRL>;
Expand description

Reader of register txctrl

Aliased Type§

struct R { /* private fields */ }

Implementations§

Source§

impl R

Source

pub fn txen(&self) -> TXEN_R

Bit 0 - Transmit enable

Source

pub fn nstop(&self) -> NSTOP_R

Bit 1 - Number of stop bits

Source

pub fn txcnt(&self) -> TXCNT_R

Bits 16:18 - Transmit watermark level