[−][src]Trait vl53l1_reg::Entry
Implemented for all entries within the register map.
An entry represents a single value represented by 1, 2 or 4 8-bit registers.
Associated Types
type Array: AsMut<[u8]> + AsRef<[u8]> + Default
The array type representing the entry encoded in bytes ordered for I2C (MSB).
Associated Constants
Loading content...Required methods
fn into_array(self) -> Self::Array
Encode self in an array, ready for transmission over I2C (to MSB).
fn from_array(arr: Self::Array) -> Self
Decode self from an of bytes in the order they were received over I2C (from MSB).