[][src]Function vl53l1_reg::read_word

pub fn read_word<I>(i2c: &mut I, index: Index) -> Result<u16, I::Error> where
    I: WriteRead

Shorthand for reading two consecutive bytes from the given index.