#[repr(u8)]pub enum SwPadCtlPadTestModePue {
PUE_0_KEEPER = 0,
PUE_1_PULL = 1,
}Variants§
PUE_0_KEEPER = 0
Keep the previous output value when the output driver is disabled.
PUE_1_PULL = 1
Pull-up or pull-down (determined by PUS field).
Implementations§
Trait Implementations§
Source§impl Clone for SwPadCtlPadTestModePue
impl Clone for SwPadCtlPadTestModePue
Source§fn clone(&self) -> SwPadCtlPadTestModePue
fn clone(&self) -> SwPadCtlPadTestModePue
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 SwPadCtlPadTestModePue
impl Debug for SwPadCtlPadTestModePue
Source§impl From<SwPadCtlPadTestModePue> for u8
impl From<SwPadCtlPadTestModePue> for u8
Source§fn from(val: SwPadCtlPadTestModePue) -> u8
fn from(val: SwPadCtlPadTestModePue) -> u8
Converts to this type from the input type.
Source§impl From<u8> for SwPadCtlPadTestModePue
impl From<u8> for SwPadCtlPadTestModePue
Source§fn from(val: u8) -> SwPadCtlPadTestModePue
fn from(val: u8) -> SwPadCtlPadTestModePue
Converts to this type from the input type.
Source§impl Ord for SwPadCtlPadTestModePue
impl Ord for SwPadCtlPadTestModePue
Source§fn cmp(&self, other: &SwPadCtlPadTestModePue) -> Ordering
fn cmp(&self, other: &SwPadCtlPadTestModePue) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SwPadCtlPadTestModePue
impl PartialEq for SwPadCtlPadTestModePue
Source§impl PartialOrd for SwPadCtlPadTestModePue
impl PartialOrd for SwPadCtlPadTestModePue
impl Copy for SwPadCtlPadTestModePue
impl Eq for SwPadCtlPadTestModePue
impl StructuralPartialEq for SwPadCtlPadTestModePue
Auto Trait Implementations§
impl Freeze for SwPadCtlPadTestModePue
impl RefUnwindSafe for SwPadCtlPadTestModePue
impl Send for SwPadCtlPadTestModePue
impl Sync for SwPadCtlPadTestModePue
impl Unpin for SwPadCtlPadTestModePue
impl UnwindSafe for SwPadCtlPadTestModePue
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