pub enum PowerMode {
Nominal = 0,
LPM1 = 1,
LPM2 = 2,
LPM3 = 3,
}Expand description
Power consumption modes of the AS5600.
Lower power modes reduce current consumption by increasing the sampling interval.
Variants§
Nominal = 0
No power saving, continuous sampling. (Current: ~6.5mA)
LPM1 = 1
Low Power Mode 1 (Sampling: 1ms)
LPM2 = 2
Low Power Mode 2 (Sampling: 10ms)
LPM3 = 3
Low Power Mode 3 (Sampling: 100ms)
Trait Implementations§
impl Copy for PowerMode
impl Eq for PowerMode
impl StructuralPartialEq for PowerMode
Auto Trait Implementations§
impl Freeze for PowerMode
impl RefUnwindSafe for PowerMode
impl Send for PowerMode
impl Sync for PowerMode
impl Unpin for PowerMode
impl UnwindSafe for PowerMode
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