pub struct TimingConfig {
Show 16 fields pub mm_config__timeout_macrop_a_hi: MM_CONFIG__TIMEOUT_MACROP_A_HI, pub mm_config__timeout_macrop_a_lo: MM_CONFIG__TIMEOUT_MACROP_A_LO, pub mm_config__timeout_macrop_b_hi: MM_CONFIG__TIMEOUT_MACROP_B_HI, pub mm_config__timeout_macrop_b_lo: MM_CONFIG__TIMEOUT_MACROP_B_LO, pub range_config__timeout_macrop_a_hi: RANGE_CONFIG__TIMEOUT_MACROP_A_HI, pub range_config__timeout_macrop_a_lo: RANGE_CONFIG__TIMEOUT_MACROP_A_LO, pub range_config__vcsel_period_a: RANGE_CONFIG__VCSEL_PERIOD_A, pub range_config__timeout_macrop_b_hi: RANGE_CONFIG__TIMEOUT_MACROP_B_HI, pub range_config__timeout_macrop_b_lo: RANGE_CONFIG__TIMEOUT_MACROP_B_LO, pub range_config__vcsel_period_b: RANGE_CONFIG__VCSEL_PERIOD_B, pub range_config__sigma_thresh: RANGE_CONFIG__SIGMA_THRESH, pub range_config__min_count_rate_rtn_limit_mcps: RANGE_CONFIG__MIN_COUNT_RATE_RTN_LIMIT_MCPS, pub range_config__valid_phase_low: RANGE_CONFIG__VALID_PHASE_LOW, pub range_config__valid_phase_high: RANGE_CONFIG__VALID_PHASE_HIGH, pub system__intermeasurement_period: SYSTEM__INTERMEASUREMENT_PERIOD, pub system__fractional_enable: SYSTEM__FRACTIONAL_ENABLE,
}

Fields§

§mm_config__timeout_macrop_a_hi: MM_CONFIG__TIMEOUT_MACROP_A_HI§mm_config__timeout_macrop_a_lo: MM_CONFIG__TIMEOUT_MACROP_A_LO§mm_config__timeout_macrop_b_hi: MM_CONFIG__TIMEOUT_MACROP_B_HI§mm_config__timeout_macrop_b_lo: MM_CONFIG__TIMEOUT_MACROP_B_LO§range_config__timeout_macrop_a_hi: RANGE_CONFIG__TIMEOUT_MACROP_A_HI§range_config__timeout_macrop_a_lo: RANGE_CONFIG__TIMEOUT_MACROP_A_LO§range_config__vcsel_period_a: RANGE_CONFIG__VCSEL_PERIOD_A§range_config__timeout_macrop_b_hi: RANGE_CONFIG__TIMEOUT_MACROP_B_HI§range_config__timeout_macrop_b_lo: RANGE_CONFIG__TIMEOUT_MACROP_B_LO§range_config__vcsel_period_b: RANGE_CONFIG__VCSEL_PERIOD_B§range_config__sigma_thresh: RANGE_CONFIG__SIGMA_THRESH§range_config__min_count_rate_rtn_limit_mcps: RANGE_CONFIG__MIN_COUNT_RATE_RTN_LIMIT_MCPS§range_config__valid_phase_low: RANGE_CONFIG__VALID_PHASE_LOW§range_config__valid_phase_high: RANGE_CONFIG__VALID_PHASE_HIGH§system__intermeasurement_period: SYSTEM__INTERMEASUREMENT_PERIOD§system__fractional_enable: SYSTEM__FRACTIONAL_ENABLE

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more
The index of the first entry.
The total length of the buffer necessary for I2C reading/writing.
Write the entries to a single slice. Read more
Write the entries via I2C. Read more
Read a new instance of the Entries struct from I2C.

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.