#[repr(u8)]pub enum DRIVEMODE_A {
STANDARD = 0,
LOWEST = 1,
HIGH = 2,
LOW = 3,
}
Expand description
Drive Mode Select
Value on reset: 0
Variants§
STANDARD = 0
0: 6 mA drive current
LOWEST = 1
1: 0.1 mA drive current
HIGH = 2
2: 20 mA drive current
LOW = 3
3: 1 mA drive current
Trait Implementations§
Source§impl Clone for DRIVEMODE_A
impl Clone for DRIVEMODE_A
Source§fn clone(&self) -> DRIVEMODE_A
fn clone(&self) -> DRIVEMODE_A
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 DRIVEMODE_A
impl Debug for DRIVEMODE_A
Source§impl From<DRIVEMODE_A> for u8
impl From<DRIVEMODE_A> for u8
Source§fn from(variant: DRIVEMODE_A) -> Self
fn from(variant: DRIVEMODE_A) -> Self
Converts to this type from the input type.
Source§impl PartialEq for DRIVEMODE_A
impl PartialEq for DRIVEMODE_A
impl Copy for DRIVEMODE_A
impl StructuralPartialEq for DRIVEMODE_A
Auto Trait Implementations§
impl Freeze for DRIVEMODE_A
impl RefUnwindSafe for DRIVEMODE_A
impl Send for DRIVEMODE_A
impl Sync for DRIVEMODE_A
impl Unpin for DRIVEMODE_A
impl UnwindSafe for DRIVEMODE_A
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