#[repr(u8)]pub enum AnactrlSetDevPulldown {
DEV_PULLDOWN_0 = 0,
DEV_PULLDOWN_1 = 1,
}Variants§
DEV_PULLDOWN_0 = 0
The 15kohm nominal pulldowns on the USB_DP and USB_DM pinsare disabled in device mode.
DEV_PULLDOWN_1 = 1
The 15kohm nominal pulldowns on the USB_DP and USB_DM pinsare enabled in device mode.
Implementations§
Trait Implementations§
Source§impl Clone for AnactrlSetDevPulldown
impl Clone for AnactrlSetDevPulldown
Source§fn clone(&self) -> AnactrlSetDevPulldown
fn clone(&self) -> AnactrlSetDevPulldown
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 AnactrlSetDevPulldown
impl Debug for AnactrlSetDevPulldown
Source§impl From<AnactrlSetDevPulldown> for u8
impl From<AnactrlSetDevPulldown> for u8
Source§fn from(val: AnactrlSetDevPulldown) -> u8
fn from(val: AnactrlSetDevPulldown) -> u8
Converts to this type from the input type.
Source§impl From<u8> for AnactrlSetDevPulldown
impl From<u8> for AnactrlSetDevPulldown
Source§fn from(val: u8) -> AnactrlSetDevPulldown
fn from(val: u8) -> AnactrlSetDevPulldown
Converts to this type from the input type.
Source§impl Ord for AnactrlSetDevPulldown
impl Ord for AnactrlSetDevPulldown
Source§fn cmp(&self, other: &AnactrlSetDevPulldown) -> Ordering
fn cmp(&self, other: &AnactrlSetDevPulldown) -> 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 AnactrlSetDevPulldown
impl PartialEq for AnactrlSetDevPulldown
Source§impl PartialOrd for AnactrlSetDevPulldown
impl PartialOrd for AnactrlSetDevPulldown
impl Copy for AnactrlSetDevPulldown
impl Eq for AnactrlSetDevPulldown
impl StructuralPartialEq for AnactrlSetDevPulldown
Auto Trait Implementations§
impl Freeze for AnactrlSetDevPulldown
impl RefUnwindSafe for AnactrlSetDevPulldown
impl Send for AnactrlSetDevPulldown
impl Sync for AnactrlSetDevPulldown
impl Unpin for AnactrlSetDevPulldown
impl UnwindSafe for AnactrlSetDevPulldown
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