#[repr(C)]pub struct rc_mpu_config_t {Show 20 fields
pub gpio_interrupt_pin_chip: c_int,
pub gpio_interrupt_pin: c_int,
pub i2c_bus: c_int,
pub i2c_addr: u8,
pub show_warnings: c_int,
pub accel_fsr: rc_mpu_accel_fsr_t,
pub gyro_fsr: rc_mpu_gyro_fsr_t,
pub accel_dlpf: rc_mpu_accel_dlpf_t,
pub gyro_dlpf: rc_mpu_gyro_dlpf_t,
pub enable_magnetometer: c_int,
pub dmp_sample_rate: c_int,
pub dmp_fetch_accel_gyro: c_int,
pub dmp_auto_calibrate_gyro: c_int,
pub orient: rc_mpu_orientation_t,
pub compass_time_constant: f64,
pub dmp_interrupt_sched_policy: c_int,
pub dmp_interrupt_priority: c_int,
pub read_mag_after_callback: c_int,
pub mag_sample_rate_div: c_int,
pub tap_threshold: c_int,
}Fields§
§gpio_interrupt_pin_chip: c_int§gpio_interrupt_pin: c_int§i2c_bus: c_int§i2c_addr: u8§show_warnings: c_int§accel_fsr: rc_mpu_accel_fsr_t§gyro_fsr: rc_mpu_gyro_fsr_t§accel_dlpf: rc_mpu_accel_dlpf_t§gyro_dlpf: rc_mpu_gyro_dlpf_t§enable_magnetometer: c_int§dmp_sample_rate: c_int§dmp_fetch_accel_gyro: c_int§dmp_auto_calibrate_gyro: c_int§orient: rc_mpu_orientation_t§compass_time_constant: f64§dmp_interrupt_sched_policy: c_int§dmp_interrupt_priority: c_int§read_mag_after_callback: c_int§mag_sample_rate_div: c_int§tap_threshold: c_intTrait Implementations§
Source§impl Clone for rc_mpu_config_t
impl Clone for rc_mpu_config_t
Source§fn clone(&self) -> rc_mpu_config_t
fn clone(&self) -> rc_mpu_config_t
Returns a duplicate 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 rc_mpu_config_t
impl Debug for rc_mpu_config_t
Source§impl Default for rc_mpu_config_t
impl Default for rc_mpu_config_t
impl Copy for rc_mpu_config_t
Auto Trait Implementations§
impl Freeze for rc_mpu_config_t
impl RefUnwindSafe for rc_mpu_config_t
impl Send for rc_mpu_config_t
impl Sync for rc_mpu_config_t
impl Unpin for rc_mpu_config_t
impl UnwindSafe for rc_mpu_config_t
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more