Struct vl53l1_reg::structs::ShadowCoreResults
source · pub struct ShadowCoreResults {
pub shadow_result_core__ambient_window_events_sd0: SHADOW_RESULT_CORE__AMBIENT_WINDOW_EVENTS_SD0,
pub shadow_result_core__ranging_total_events_sd0: SHADOW_RESULT_CORE__RANGING_TOTAL_EVENTS_SD0,
pub shadow_result_core__signal_total_events_sd0: SHADOW_RESULT_CORE__SIGNAL_TOTAL_EVENTS_SD0,
pub shadow_result_core__total_periods_elapsed_sd0: SHADOW_RESULT_CORE__TOTAL_PERIODS_ELAPSED_SD0,
pub shadow_result_core__ambient_window_events_sd1: SHADOW_RESULT_CORE__AMBIENT_WINDOW_EVENTS_SD1,
pub shadow_result_core__ranging_total_events_sd1: SHADOW_RESULT_CORE__RANGING_TOTAL_EVENTS_SD1,
pub shadow_result_core__signal_total_events_sd1: SHADOW_RESULT_CORE__SIGNAL_TOTAL_EVENTS_SD1,
pub shadow_result_core__total_periods_elapsed_sd1: SHADOW_RESULT_CORE__TOTAL_PERIODS_ELAPSED_SD1,
pub shadow_result_core__spare_0: SHADOW_RESULT_CORE__SPARE_0,
}
Fields§
§shadow_result_core__ambient_window_events_sd0: SHADOW_RESULT_CORE__AMBIENT_WINDOW_EVENTS_SD0
§shadow_result_core__ranging_total_events_sd0: SHADOW_RESULT_CORE__RANGING_TOTAL_EVENTS_SD0
§shadow_result_core__signal_total_events_sd0: SHADOW_RESULT_CORE__SIGNAL_TOTAL_EVENTS_SD0
§shadow_result_core__total_periods_elapsed_sd0: SHADOW_RESULT_CORE__TOTAL_PERIODS_ELAPSED_SD0
§shadow_result_core__ambient_window_events_sd1: SHADOW_RESULT_CORE__AMBIENT_WINDOW_EVENTS_SD1
§shadow_result_core__ranging_total_events_sd1: SHADOW_RESULT_CORE__RANGING_TOTAL_EVENTS_SD1
§shadow_result_core__signal_total_events_sd1: SHADOW_RESULT_CORE__SIGNAL_TOTAL_EVENTS_SD1
§shadow_result_core__total_periods_elapsed_sd1: SHADOW_RESULT_CORE__TOTAL_PERIODS_ELAPSED_SD1
§shadow_result_core__spare_0: SHADOW_RESULT_CORE__SPARE_0
Trait Implementations§
source§impl Clone for ShadowCoreResults
impl Clone for ShadowCoreResults
source§fn clone(&self) -> ShadowCoreResults
fn clone(&self) -> ShadowCoreResults
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 ShadowCoreResults
impl Debug for ShadowCoreResults
source§impl Default for ShadowCoreResults
impl Default for ShadowCoreResults
source§fn default() -> ShadowCoreResults
fn default() -> ShadowCoreResults
Returns the “default value” for a type. Read more
source§impl Entries for ShadowCoreResults
impl Entries for ShadowCoreResults
source§const INDEX: Index = <crate::SHADOW_RESULT_CORE__AMBIENT_WINDOW_EVENTS_SD0 as crate::Entry>::INDEX
const INDEX: Index = <crate::SHADOW_RESULT_CORE__AMBIENT_WINDOW_EVENTS_SD0 as crate::Entry>::INDEX
The index of the first entry.
source§const LEN_BYTES: usize = 33usize
const LEN_BYTES: usize = 33usize
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