opentitanlib::test_utils::i2c_target

Type Alias I2cTargetAddress

Source
pub type I2cTargetAddress = i2c_target_address_t;

Aliased Type§

struct I2cTargetAddress {
    pub instance: u8,
    pub id0: u8,
    pub mask0: u8,
    pub id1: u8,
    pub mask1: u8,
}

Fields§

§instance: u8§id0: u8§mask0: u8§id1: u8§mask1: u8

Implementations§

Source§

impl I2cTargetAddress

Source

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