#[repr(u8)]pub enum PowerDownMode {
Normal = 0,
OneK = 1,
OneHundredK = 2,
FiveHundredK = 3,
}
Expand description
Power down modes
Variants§
Normal = 0
Normal mode
OneK = 1
1k ohm resistor to ground
OneHundredK = 2
100k ohm resistor to ground
FiveHundredK = 3
500k ohm resistor to ground
Trait Implementations§
Source§impl Clone for PowerDownMode
impl Clone for PowerDownMode
Source§fn clone(&self) -> PowerDownMode
fn clone(&self) -> PowerDownMode
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 PowerDownMode
impl Debug for PowerDownMode
Source§impl PartialEq for PowerDownMode
impl PartialEq for PowerDownMode
impl Copy for PowerDownMode
impl Eq for PowerDownMode
impl StructuralPartialEq for PowerDownMode
Auto Trait Implementations§
impl Freeze for PowerDownMode
impl RefUnwindSafe for PowerDownMode
impl Send for PowerDownMode
impl Sync for PowerDownMode
impl Unpin for PowerDownMode
impl UnwindSafe for PowerDownMode
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