async fn write_reg(&mut self, i2c_addr: u8, val: E::Val) -> Result<(), Error> { let mut buf = [0u8; size_of::() + size_of::()]; /* ... fill the bytes with right endianness ... */ i2c.write(i2c_addr, &buf).await }