pub struct PwrCtrl {
pub aux_en: bool,
pub gyr_en: bool,
pub acc_en: bool,
pub temp_en: bool,
}Expand description
Power mode control.
Fields§
§aux_en: boolEnable auxiliary device.
gyr_en: boolEnable gyroscope.
acc_en: boolEnable accelerometer.
temp_en: boolEnable temperature sensor.
Implementations§
Auto Trait Implementations§
impl Freeze for PwrCtrl
impl RefUnwindSafe for PwrCtrl
impl Send for PwrCtrl
impl Sync for PwrCtrl
impl Unpin for PwrCtrl
impl UnsafeUnpin for PwrCtrl
impl UnwindSafe for PwrCtrl
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