Struct vl53l1_reg::structs::GeneralConfig
source · pub struct GeneralConfig {Show 17 fields
pub gph_config__stream_count_update_value: GPH_CONFIG__STREAM_COUNT_UPDATE_VALUE,
pub global_config__stream_divider: GLOBAL_CONFIG__STREAM_DIVIDER,
pub system__interrupt_config_gpio: SYSTEM__INTERRUPT_CONFIG_GPIO,
pub cal_config__vcsel_start: CAL_CONFIG__VCSEL_START,
pub cal_config__repeat_rate: CAL_CONFIG__REPEAT_RATE,
pub global_config__vcsel_width: GLOBAL_CONFIG__VCSEL_WIDTH,
pub phasecal_config__timeout_macrop: PHASECAL_CONFIG__TIMEOUT_MACROP,
pub phasecal_config__target: PHASECAL_CONFIG__TARGET,
pub phasecal_config__override: PHASECAL_CONFIG__OVERRIDE,
pub dss_config__roi_mode_control: DSS_CONFIG__ROI_MODE_CONTROL,
pub system__thresh_rate_high: SYSTEM__THRESH_RATE_HIGH,
pub system__thresh_rate_low: SYSTEM__THRESH_RATE_LOW,
pub dss_config__manual_effective_spads_select: DSS_CONFIG__MANUAL_EFFECTIVE_SPADS_SELECT,
pub dss_config__manual_block_select: DSS_CONFIG__MANUAL_BLOCK_SELECT,
pub dss_config__aperture_attenuation: DSS_CONFIG__APERTURE_ATTENUATION,
pub dss_config__max_spads_limit: DSS_CONFIG__MAX_SPADS_LIMIT,
pub dss_config__min_spads_limit: DSS_CONFIG__MIN_SPADS_LIMIT,
}
Fields§
§gph_config__stream_count_update_value: GPH_CONFIG__STREAM_COUNT_UPDATE_VALUE
§global_config__stream_divider: GLOBAL_CONFIG__STREAM_DIVIDER
§system__interrupt_config_gpio: SYSTEM__INTERRUPT_CONFIG_GPIO
§cal_config__vcsel_start: CAL_CONFIG__VCSEL_START
§cal_config__repeat_rate: CAL_CONFIG__REPEAT_RATE
§global_config__vcsel_width: GLOBAL_CONFIG__VCSEL_WIDTH
§phasecal_config__timeout_macrop: PHASECAL_CONFIG__TIMEOUT_MACROP
§phasecal_config__target: PHASECAL_CONFIG__TARGET
§phasecal_config__override: PHASECAL_CONFIG__OVERRIDE
§dss_config__roi_mode_control: DSS_CONFIG__ROI_MODE_CONTROL
§system__thresh_rate_high: SYSTEM__THRESH_RATE_HIGH
§system__thresh_rate_low: SYSTEM__THRESH_RATE_LOW
§dss_config__manual_effective_spads_select: DSS_CONFIG__MANUAL_EFFECTIVE_SPADS_SELECT
§dss_config__manual_block_select: DSS_CONFIG__MANUAL_BLOCK_SELECT
§dss_config__aperture_attenuation: DSS_CONFIG__APERTURE_ATTENUATION
§dss_config__max_spads_limit: DSS_CONFIG__MAX_SPADS_LIMIT
§dss_config__min_spads_limit: DSS_CONFIG__MIN_SPADS_LIMIT
Trait Implementations§
source§impl Clone for GeneralConfig
impl Clone for GeneralConfig
source§fn clone(&self) -> GeneralConfig
fn clone(&self) -> GeneralConfig
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 GeneralConfig
impl Debug for GeneralConfig
source§impl Default for GeneralConfig
impl Default for GeneralConfig
source§fn default() -> GeneralConfig
fn default() -> GeneralConfig
Returns the “default value” for a type. Read more
source§impl Entries for GeneralConfig
impl Entries for GeneralConfig
source§const INDEX: Index = <crate::GPH_CONFIG__STREAM_COUNT_UPDATE_VALUE as crate::Entry>::INDEX
const INDEX: Index = <crate::GPH_CONFIG__STREAM_COUNT_UPDATE_VALUE as crate::Entry>::INDEX
The index of the first entry.
source§const LEN_BYTES: usize = 22usize
const LEN_BYTES: usize = 22usize
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