Enum d1_pac::usb1::ehci_operational::portsc::PORT_TEST_CONTROL_A
source · #[repr(u8)]pub enum PORT_TEST_CONTROL_A {
NOT_OPERATING = 0,
TEST_J_STATE = 1,
TEST_K_STATE = 2,
TEST_SE0_NAK = 3,
TEST_PACKET = 4,
TEST_FORCE_ENABLE = 5,
}
Expand description
Port Test Control
The value in this field specifies the test mode of the port.
Value on reset: 0
Variants§
NOT_OPERATING = 0
0: The port is NOT operating in a test mode.
TEST_J_STATE = 1
1: Test J_STATE
TEST_K_STATE = 2
2: Test K_STATE
TEST_SE0_NAK = 3
3: Test SE0_NAK
TEST_PACKET = 4
4: Test Packet
TEST_FORCE_ENABLE = 5
5: Test FORCE_ENABLE
Trait Implementations§
source§impl Clone for PORT_TEST_CONTROL_A
impl Clone for PORT_TEST_CONTROL_A
source§fn clone(&self) -> PORT_TEST_CONTROL_A
fn clone(&self) -> PORT_TEST_CONTROL_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 PORT_TEST_CONTROL_A
impl Debug for PORT_TEST_CONTROL_A
source§impl From<PORT_TEST_CONTROL_A> for u8
impl From<PORT_TEST_CONTROL_A> for u8
source§fn from(variant: PORT_TEST_CONTROL_A) -> Self
fn from(variant: PORT_TEST_CONTROL_A) -> Self
Converts to this type from the input type.
source§impl PartialEq for PORT_TEST_CONTROL_A
impl PartialEq for PORT_TEST_CONTROL_A
impl Copy for PORT_TEST_CONTROL_A
impl Eq for PORT_TEST_CONTROL_A
impl StructuralPartialEq for PORT_TEST_CONTROL_A
Auto Trait Implementations§
impl Freeze for PORT_TEST_CONTROL_A
impl RefUnwindSafe for PORT_TEST_CONTROL_A
impl Send for PORT_TEST_CONTROL_A
impl Sync for PORT_TEST_CONTROL_A
impl Unpin for PORT_TEST_CONTROL_A
impl UnwindSafe for PORT_TEST_CONTROL_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
)