Enum efm32lg390_pac::usb::hprt::PRTTSTCTL_A
source · [−]#[repr(u8)]
pub enum PRTTSTCTL_A {
DISABLE,
J,
K,
SE0NAK,
PACKET,
FORCE,
}
Expand description
Port Test Control
Value on reset: 0
Variants
DISABLE
0: Test mode disabled.
J
1: Test_J mode.
K
2: Test_K mode.
SE0NAK
3: Test_SE0_NAK mode.
PACKET
4: Test_Packet mode.
FORCE
5: Test_Force_Enable.
Trait Implementations
sourceimpl Clone for PRTTSTCTL_A
impl Clone for PRTTSTCTL_A
sourcefn clone(&self) -> PRTTSTCTL_A
fn clone(&self) -> PRTTSTCTL_A
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for PRTTSTCTL_A
impl Debug for PRTTSTCTL_A
sourceimpl From<PRTTSTCTL_A> for u8
impl From<PRTTSTCTL_A> for u8
sourcefn from(variant: PRTTSTCTL_A) -> Self
fn from(variant: PRTTSTCTL_A) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<PRTTSTCTL_A> for PRTTSTCTL_A
impl PartialEq<PRTTSTCTL_A> for PRTTSTCTL_A
impl Copy for PRTTSTCTL_A
impl StructuralPartialEq for PRTTSTCTL_A
Auto Trait Implementations
impl RefUnwindSafe for PRTTSTCTL_A
impl Send for PRTTSTCTL_A
impl Sync for PRTTSTCTL_A
impl Unpin for PRTTSTCTL_A
impl UnwindSafe for PRTTSTCTL_A
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more