#[repr(transparent)]pub struct Stat(pub u32);Expand description
Status.
Tuple Fields§
§0: u32Implementations§
Source§impl Stat
impl Stat
Sourcepub const fn tc(&self) -> bool
pub const fn tc(&self) -> bool
Transmission Complete Flag. Raw bit values: false (0) = Active: Transmitter active.; true (1) = Complete: Transmitter idle.
Sourcepub const fn set_tc(&mut self, val: bool)
pub const fn set_tc(&mut self, val: bool)
Transmission Complete Flag. Raw bit values: false (0) = Active: Transmitter active.; true (1) = Complete: Transmitter idle.
Sourcepub const fn tdre(&self) -> bool
pub const fn tdre(&self) -> bool
Transmit Data Register Empty Flag. Raw bit values: false (0) = Txdata: Greater than watermark.; true (1) = NoTxdata: Equal to or less than watermark.
Sourcepub const fn set_tdre(&mut self, val: bool)
pub const fn set_tdre(&mut self, val: bool)
Transmit Data Register Empty Flag. Raw bit values: false (0) = Txdata: Greater than watermark.; true (1) = NoTxdata: Equal to or less than watermark.
Sourcepub const fn raf(&self) -> bool
pub const fn raf(&self) -> bool
Receiver Active Flag. Raw bit values: false (0) = Idle: Idle, waiting for a start bit.; true (1) = Active: Receiver active (RXD pin input not idle).
Sourcepub const fn set_raf(&mut self, val: bool)
pub const fn set_raf(&mut self, val: bool)
Receiver Active Flag. Raw bit values: false (0) = Idle: Idle, waiting for a start bit.; true (1) = Active: Receiver active (RXD pin input not idle).
Sourcepub const fn brk13(&self) -> bool
pub const fn brk13(&self) -> bool
Break Character Generation Length. Raw bit values: false (0) = Short: 9 to 13 bit times.; true (1) = Long: 12 to 15 bit times.
Sourcepub const fn set_brk13(&mut self, val: bool)
pub const fn set_brk13(&mut self, val: bool)
Break Character Generation Length. Raw bit values: false (0) = Short: 9 to 13 bit times.; true (1) = Long: 12 to 15 bit times.
Sourcepub const fn rwuid(&self) -> bool
pub const fn rwuid(&self) -> bool
Receive Wake Up Idle Detect. Raw bit values: false (0) = IdleNotset: STAT[IDLE] does not become 1.; true (1) = IdleSet: STAT[IDLE] becomes 1.
Sourcepub const fn set_rwuid(&mut self, val: bool)
pub const fn set_rwuid(&mut self, val: bool)
Receive Wake Up Idle Detect. Raw bit values: false (0) = IdleNotset: STAT[IDLE] does not become 1.; true (1) = IdleSet: STAT[IDLE] becomes 1.
Sourcepub const fn msbf(&self) -> bool
pub const fn msbf(&self) -> bool
MSB First. Raw bit values: false (0) = LsbFirst: LSB.; true (1) = MsbFirst: MSB.
Sourcepub const fn set_msbf(&mut self, val: bool)
pub const fn set_msbf(&mut self, val: bool)
MSB First. Raw bit values: false (0) = LsbFirst: LSB.; true (1) = MsbFirst: MSB.
Sourcepub const fn set_rxedgif(&mut self, val: bool)
pub const fn set_rxedgif(&mut self, val: bool)
RXD Pin Active Edge Interrupt Flag.
Sourcepub const fn set_lbkdif(&mut self, val: bool)
pub const fn set_lbkdif(&mut self, val: bool)
LIN Break Detect Interrupt Flag.