Enum efm32lg390_pac::gpio::pc_ctrl::DRIVEMODE_A
source · [−]#[repr(u8)]
pub enum DRIVEMODE_A {
STANDARD,
LOWEST,
HIGH,
LOW,
}
Expand description
Drive Mode Select
Value on reset: 0
Variants
STANDARD
0: 6 mA drive current
LOWEST
1: 0.1 mA drive current
HIGH
2: 20 mA drive current
LOW
3: 1 mA drive current
Trait Implementations
sourceimpl Clone for DRIVEMODE_A
impl Clone for DRIVEMODE_A
sourcefn clone(&self) -> DRIVEMODE_A
fn clone(&self) -> DRIVEMODE_A
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for DRIVEMODE_A
impl Debug for DRIVEMODE_A
sourceimpl From<DRIVEMODE_A> for u8
impl From<DRIVEMODE_A> for u8
sourcefn from(variant: DRIVEMODE_A) -> Self
fn from(variant: DRIVEMODE_A) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<DRIVEMODE_A> for DRIVEMODE_A
impl PartialEq<DRIVEMODE_A> for DRIVEMODE_A
impl Copy for DRIVEMODE_A
impl StructuralPartialEq for DRIVEMODE_A
Auto Trait Implementations
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more