Struct vl53l1_reg::structs::GphStaticConfig
source · pub struct GphStaticConfig {
pub gph__dss_config__roi_mode_control: GPH__DSS_CONFIG__ROI_MODE_CONTROL,
pub gph__dss_config__manual_effective_spads_select: GPH__DSS_CONFIG__MANUAL_EFFECTIVE_SPADS_SELECT,
pub gph__dss_config__manual_block_select: GPH__DSS_CONFIG__MANUAL_BLOCK_SELECT,
pub gph__dss_config__max_spads_limit: GPH__DSS_CONFIG__MAX_SPADS_LIMIT,
pub gph__dss_config__min_spads_limit: GPH__DSS_CONFIG__MIN_SPADS_LIMIT,
}
Fields§
§gph__dss_config__roi_mode_control: GPH__DSS_CONFIG__ROI_MODE_CONTROL
§gph__dss_config__manual_effective_spads_select: GPH__DSS_CONFIG__MANUAL_EFFECTIVE_SPADS_SELECT
§gph__dss_config__manual_block_select: GPH__DSS_CONFIG__MANUAL_BLOCK_SELECT
§gph__dss_config__max_spads_limit: GPH__DSS_CONFIG__MAX_SPADS_LIMIT
§gph__dss_config__min_spads_limit: GPH__DSS_CONFIG__MIN_SPADS_LIMIT
Trait Implementations§
source§impl Clone for GphStaticConfig
impl Clone for GphStaticConfig
source§fn clone(&self) -> GphStaticConfig
fn clone(&self) -> GphStaticConfig
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 GphStaticConfig
impl Debug for GphStaticConfig
source§impl Default for GphStaticConfig
impl Default for GphStaticConfig
source§fn default() -> GphStaticConfig
fn default() -> GphStaticConfig
Returns the “default value” for a type. Read more
source§impl Entries for GphStaticConfig
impl Entries for GphStaticConfig
source§const INDEX: Index = <crate::GPH__DSS_CONFIG__ROI_MODE_CONTROL as crate::Entry>::INDEX
const INDEX: Index = <crate::GPH__DSS_CONFIG__ROI_MODE_CONTROL as crate::Entry>::INDEX
The index of the first entry.
source§const LEN_BYTES: usize = 6usize
const LEN_BYTES: usize = 6usize
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