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