(&self, ec: &CrosEc, reg: u8, data: &[u8])
| 861 | } |
| 862 | |
| 863 | fn smbus_write_block(&self, ec: &CrosEc, reg: u8, data: &[u8]) -> EcResult<()> { |
| 864 | i2c_write_block(ec, self.i2c_port, self.i2c_addr >> 1, reg, data)?; |
| 865 | Ok(()) |
| 866 | } |
| 867 | |
| 868 | /// Read a ManufacturerAccess block command by writing the sub-command |
| 869 | /// to register 0x00 and reading the response from 0x44 |
no test coverage detected