Struct lpc82x::usart0::STAT
[−]
[src]
pub struct STAT { /* fields omitted */ }
USART Status register. The complete status value can be read here. Writing ones clears some bits in the register. Some bits can be cleared by writing a 1 to them.
Methods
impl STAT
[src]
fn modify<F>(&self, f: F) where
F: FnOnce(&R, &'w mut W) -> &'w mut W,
[src]
F: FnOnce(&R, &'w mut W) -> &'w mut W,
Modifies the contents of the register
fn read(&self) -> R
[src]
Reads the contents of the register
fn write<F>(&self, f: F) where
F: FnOnce(&mut W) -> &mut W,
[src]
F: FnOnce(&mut W) -> &mut W,
Writes to the register
fn reset(&self)
[src]
Writes the reset value to the register