Struct l3gd20::Status
[−]
[src]
pub struct Status { pub overrun: bool, pub z_overrun: bool, pub y_overrun: bool, pub x_overrun: bool, pub new_data: bool, pub z_new: bool, pub y_new: bool, pub x_new: bool, }
Sensor status
Fields
overrun: bool
Overrun (data has overwritten previously unread data) has occurred on at least one axis
z_overrun: bool
Overrun occurred on Z-axis
y_overrun: bool
Overrun occurred on Y-axis
x_overrun: bool
Overrun occurred on X-axis
new_data: bool
New data is available for either X, Y, Z - axis
z_new: bool
New data is available on Z-axis
y_new: bool
New data is available on Y-axis
x_new: bool
New data is available on X-axis
Trait Implementations
impl Debug for Status
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for Status
[src]
fn clone(&self) -> Status
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more