Function vl53l1::read_word

source ·
pub fn read_word<I>(
    i2c: &mut I,
    index: Index
) -> Result<u16, <I as WriteRead<u8>>::Error>where
    I: WriteRead<u8>,
Expand description

Shorthand for reading two consecutive bytes from the given index.