Enum d1_pac::usb1::ohci_root_hub_partition::hc_rh_port_status::PORT_OVER_CURRENT_INDICATOR_CHANGE_A
source · pub enum PORT_OVER_CURRENT_INDICATOR_CHANGE_A {
NO_CHANGE = 0,
CHANGE = 1,
}
Expand description
This bit is valid only if overcurrent conditions are reported on a per-port basis. This bit is set when Root Hub changes the PortOverCurrentIndicator bit. The HCD writes a ‘1’ to clear this bit. Writing a ‘0’ has no effect.
Value on reset: 0
Variants§
NO_CHANGE = 0
0: no change in PortOverCurrentIndicator
CHANGE = 1
1: PortOverCurrentIndicator has changed
Trait Implementations§
source§impl Clone for PORT_OVER_CURRENT_INDICATOR_CHANGE_A
impl Clone for PORT_OVER_CURRENT_INDICATOR_CHANGE_A
source§fn clone(&self) -> PORT_OVER_CURRENT_INDICATOR_CHANGE_A
fn clone(&self) -> PORT_OVER_CURRENT_INDICATOR_CHANGE_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 From<PORT_OVER_CURRENT_INDICATOR_CHANGE_A> for bool
impl From<PORT_OVER_CURRENT_INDICATOR_CHANGE_A> for bool
source§fn from(variant: PORT_OVER_CURRENT_INDICATOR_CHANGE_A) -> Self
fn from(variant: PORT_OVER_CURRENT_INDICATOR_CHANGE_A) -> Self
Converts to this type from the input type.
source§impl PartialEq for PORT_OVER_CURRENT_INDICATOR_CHANGE_A
impl PartialEq for PORT_OVER_CURRENT_INDICATOR_CHANGE_A
source§fn eq(&self, other: &PORT_OVER_CURRENT_INDICATOR_CHANGE_A) -> bool
fn eq(&self, other: &PORT_OVER_CURRENT_INDICATOR_CHANGE_A) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Copy for PORT_OVER_CURRENT_INDICATOR_CHANGE_A
impl Eq for PORT_OVER_CURRENT_INDICATOR_CHANGE_A
impl StructuralPartialEq for PORT_OVER_CURRENT_INDICATOR_CHANGE_A
Auto Trait Implementations§
impl Freeze for PORT_OVER_CURRENT_INDICATOR_CHANGE_A
impl RefUnwindSafe for PORT_OVER_CURRENT_INDICATOR_CHANGE_A
impl Send for PORT_OVER_CURRENT_INDICATOR_CHANGE_A
impl Sync for PORT_OVER_CURRENT_INDICATOR_CHANGE_A
impl Unpin for PORT_OVER_CURRENT_INDICATOR_CHANGE_A
impl UnwindSafe for PORT_OVER_CURRENT_INDICATOR_CHANGE_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
)