Type Alias StatusRegister

Source
pub type StatusRegister = status_register_t;

Aliased Type§

pub struct StatusRegister {
    pub status: u32,
    pub addr_4b: bool,
}

Fields§

§status: u32§addr_4b: bool

Implementations§

Source§

impl StatusRegister

Source

pub fn read(uart: &dyn Uart) -> Result<Self>

Source

pub fn write(&self, uart: &dyn Uart) -> Result<()>