Enum d1_pac::usb1::ohci_root_hub_partition::hc_rh_descriptor_a::NO_OVER_CURRENT_PROTECTION_A
source · pub enum NO_OVER_CURRENT_PROTECTION_A {
REPORT = 0,
NO_SUPPORT = 1,
}
Expand description
NoOverCurrentProtection
This bit describes how the overcurrent status for the Root Hub ports are reported. When this bit is cleared, the OverCurrentProtectionMode field specifies global or per-port reporting.
Value on reset: 1
Variants§
REPORT = 0
0: Over-current status is reported collectively for all downstream ports
NO_SUPPORT = 1
1: No over-current protection supported
Trait Implementations§
source§impl Clone for NO_OVER_CURRENT_PROTECTION_A
impl Clone for NO_OVER_CURRENT_PROTECTION_A
source§fn clone(&self) -> NO_OVER_CURRENT_PROTECTION_A
fn clone(&self) -> NO_OVER_CURRENT_PROTECTION_A
Returns a copy 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 NO_OVER_CURRENT_PROTECTION_A
impl Debug for NO_OVER_CURRENT_PROTECTION_A
source§impl From<NO_OVER_CURRENT_PROTECTION_A> for bool
impl From<NO_OVER_CURRENT_PROTECTION_A> for bool
source§fn from(variant: NO_OVER_CURRENT_PROTECTION_A) -> Self
fn from(variant: NO_OVER_CURRENT_PROTECTION_A) -> Self
Converts to this type from the input type.
source§impl PartialEq for NO_OVER_CURRENT_PROTECTION_A
impl PartialEq for NO_OVER_CURRENT_PROTECTION_A
source§fn eq(&self, other: &NO_OVER_CURRENT_PROTECTION_A) -> bool
fn eq(&self, other: &NO_OVER_CURRENT_PROTECTION_A) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Copy for NO_OVER_CURRENT_PROTECTION_A
impl Eq for NO_OVER_CURRENT_PROTECTION_A
impl StructuralPartialEq for NO_OVER_CURRENT_PROTECTION_A
Auto Trait Implementations§
impl Freeze for NO_OVER_CURRENT_PROTECTION_A
impl RefUnwindSafe for NO_OVER_CURRENT_PROTECTION_A
impl Send for NO_OVER_CURRENT_PROTECTION_A
impl Sync for NO_OVER_CURRENT_PROTECTION_A
impl Unpin for NO_OVER_CURRENT_PROTECTION_A
impl UnwindSafe for NO_OVER_CURRENT_PROTECTION_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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)