Struct vl53l1_reg::structs::StaticConfig
source · pub struct StaticConfig {Show 30 fields
pub dss_config__target_total_rate_mcps: DSS_CONFIG__TARGET_TOTAL_RATE_MCPS,
pub debug__ctrl: DEBUG__CTRL,
pub test_mode__ctrl: TEST_MODE__CTRL,
pub clk_gating__ctrl: CLK_GATING__CTRL,
pub nvm_bist__ctrl: NVM_BIST__CTRL,
pub nvm_bist__num_nvm_words: NVM_BIST__NUM_NVM_WORDS,
pub nvm_bist__start_address: NVM_BIST__START_ADDRESS,
pub host_if__status: HOST_IF__STATUS,
pub pad_i2c_hv__config: PAD_I2C_HV__CONFIG,
pub pad_i2c_hv__extsup_config: PAD_I2C_HV__EXTSUP_CONFIG,
pub gpio_hv_pad__ctrl: GPIO_HV_PAD__CTRL,
pub gpio_hv_mux__ctrl: GPIO_HV_MUX__CTRL,
pub gpio__tio_hv_status: GPIO__TIO_HV_STATUS,
pub gpio__fio_hv_status: GPIO__FIO_HV_STATUS,
pub ana_config__spad_sel_pswidth: ANA_CONFIG__SPAD_SEL_PSWIDTH,
pub ana_config__vcsel_pulse_width_offset: ANA_CONFIG__VCSEL_PULSE_WIDTH_OFFSET,
pub ana_config__fast_osc__config_ctrl: ANA_CONFIG__FAST_OSC__CONFIG_CTRL,
pub sigma_estimator__effective_pulse_width_ns: SIGMA_ESTIMATOR__EFFECTIVE_PULSE_WIDTH_NS,
pub sigma_estimator__effective_ambient_width_ns: SIGMA_ESTIMATOR__EFFECTIVE_AMBIENT_WIDTH_NS,
pub sigma_estimator__sigma_ref_mm: SIGMA_ESTIMATOR__SIGMA_REF_MM,
pub algo__crosstalk_compensation_valid_height_mm: ALGO__CROSSTALK_COMPENSATION_VALID_HEIGHT_MM,
pub spare_host_config__static_config_spare_0: SPARE_HOST_CONFIG__STATIC_CONFIG_SPARE_0,
pub spare_host_config__static_config_spare_1: SPARE_HOST_CONFIG__STATIC_CONFIG_SPARE_1,
pub algo__range_ignore_threshold_mcps: ALGO__RANGE_IGNORE_THRESHOLD_MCPS,
pub algo__range_ignore_valid_height_mm: ALGO__RANGE_IGNORE_VALID_HEIGHT_MM,
pub algo__range_min_clip: ALGO__RANGE_MIN_CLIP,
pub algo__consistency_check__tolerance: ALGO__CONSISTENCY_CHECK__TOLERANCE,
pub spare_host_config__static_config_spare_2: SPARE_HOST_CONFIG__STATIC_CONFIG_SPARE_2,
pub sd_config__reset_stages_msb: SD_CONFIG__RESET_STAGES_MSB,
pub sd_config__reset_stages_lsb: SD_CONFIG__RESET_STAGES_LSB,
}
Fields§
§dss_config__target_total_rate_mcps: DSS_CONFIG__TARGET_TOTAL_RATE_MCPS
§debug__ctrl: DEBUG__CTRL
§test_mode__ctrl: TEST_MODE__CTRL
§clk_gating__ctrl: CLK_GATING__CTRL
§nvm_bist__ctrl: NVM_BIST__CTRL
§nvm_bist__num_nvm_words: NVM_BIST__NUM_NVM_WORDS
§nvm_bist__start_address: NVM_BIST__START_ADDRESS
§host_if__status: HOST_IF__STATUS
§pad_i2c_hv__config: PAD_I2C_HV__CONFIG
§pad_i2c_hv__extsup_config: PAD_I2C_HV__EXTSUP_CONFIG
§gpio_hv_pad__ctrl: GPIO_HV_PAD__CTRL
§gpio_hv_mux__ctrl: GPIO_HV_MUX__CTRL
§gpio__tio_hv_status: GPIO__TIO_HV_STATUS
§gpio__fio_hv_status: GPIO__FIO_HV_STATUS
§ana_config__spad_sel_pswidth: ANA_CONFIG__SPAD_SEL_PSWIDTH
§ana_config__vcsel_pulse_width_offset: ANA_CONFIG__VCSEL_PULSE_WIDTH_OFFSET
§ana_config__fast_osc__config_ctrl: ANA_CONFIG__FAST_OSC__CONFIG_CTRL
§sigma_estimator__effective_pulse_width_ns: SIGMA_ESTIMATOR__EFFECTIVE_PULSE_WIDTH_NS
§sigma_estimator__effective_ambient_width_ns: SIGMA_ESTIMATOR__EFFECTIVE_AMBIENT_WIDTH_NS
§sigma_estimator__sigma_ref_mm: SIGMA_ESTIMATOR__SIGMA_REF_MM
§algo__crosstalk_compensation_valid_height_mm: ALGO__CROSSTALK_COMPENSATION_VALID_HEIGHT_MM
§spare_host_config__static_config_spare_0: SPARE_HOST_CONFIG__STATIC_CONFIG_SPARE_0
§spare_host_config__static_config_spare_1: SPARE_HOST_CONFIG__STATIC_CONFIG_SPARE_1
§algo__range_ignore_threshold_mcps: ALGO__RANGE_IGNORE_THRESHOLD_MCPS
§algo__range_ignore_valid_height_mm: ALGO__RANGE_IGNORE_VALID_HEIGHT_MM
§algo__range_min_clip: ALGO__RANGE_MIN_CLIP
§algo__consistency_check__tolerance: ALGO__CONSISTENCY_CHECK__TOLERANCE
§spare_host_config__static_config_spare_2: SPARE_HOST_CONFIG__STATIC_CONFIG_SPARE_2
§sd_config__reset_stages_msb: SD_CONFIG__RESET_STAGES_MSB
§sd_config__reset_stages_lsb: SD_CONFIG__RESET_STAGES_LSB
Trait Implementations§
source§impl Clone for StaticConfig
impl Clone for StaticConfig
source§fn clone(&self) -> StaticConfig
fn clone(&self) -> StaticConfig
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 StaticConfig
impl Debug for StaticConfig
source§impl Default for StaticConfig
impl Default for StaticConfig
source§fn default() -> StaticConfig
fn default() -> StaticConfig
Returns the “default value” for a type. Read more
source§impl Entries for StaticConfig
impl Entries for StaticConfig
source§const INDEX: Index = <crate::DSS_CONFIG__TARGET_TOTAL_RATE_MCPS as crate::Entry>::INDEX
const INDEX: Index = <crate::DSS_CONFIG__TARGET_TOTAL_RATE_MCPS as crate::Entry>::INDEX
The index of the first entry.
source§const LEN_BYTES: usize = 32usize
const LEN_BYTES: usize = 32usize
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