Struct vl53l1_reg::structs::GphGeneralConfig
source · pub struct GphGeneralConfig {
pub gph__system__thresh_rate_high: GPH__SYSTEM__THRESH_RATE_HIGH,
pub gph__system__thresh_rate_low: GPH__SYSTEM__THRESH_RATE_LOW,
pub gph__system__interrupt_config_gpio: GPH__SYSTEM__INTERRUPT_CONFIG_GPIO,
}
Fields§
§gph__system__thresh_rate_high: GPH__SYSTEM__THRESH_RATE_HIGH
§gph__system__thresh_rate_low: GPH__SYSTEM__THRESH_RATE_LOW
§gph__system__interrupt_config_gpio: GPH__SYSTEM__INTERRUPT_CONFIG_GPIO
Trait Implementations§
source§impl Clone for GphGeneralConfig
impl Clone for GphGeneralConfig
source§fn clone(&self) -> GphGeneralConfig
fn clone(&self) -> GphGeneralConfig
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for GphGeneralConfig
impl Debug for GphGeneralConfig
source§impl Default for GphGeneralConfig
impl Default for GphGeneralConfig
source§fn default() -> GphGeneralConfig
fn default() -> GphGeneralConfig
Returns the “default value” for a type. Read more
source§impl Entries for GphGeneralConfig
impl Entries for GphGeneralConfig
source§const INDEX: Index = <crate::GPH__SYSTEM__THRESH_RATE_HIGH as crate::Entry>::INDEX
const INDEX: Index = <crate::GPH__SYSTEM__THRESH_RATE_HIGH as crate::Entry>::INDEX
The index of the first entry.
source§const LEN_BYTES: usize = 5usize
const LEN_BYTES: usize = 5usize
The total length of the buffer necessary for I2C reading/writing.
source§fn write_to_slice(&self, slice: &mut [u8])
fn write_to_slice(&self, slice: &mut [u8])
Write the entries to a single slice. Read more