Enum nrf52840_pac::clock::traceconfig::TRACEPORTSPEED_A
source · [−]#[repr(u8)]
pub enum TRACEPORTSPEED_A {
_32MHZ,
_16MHZ,
_8MHZ,
_4MHZ,
}
Expand description
Speed of trace port clock. Note that the TRACECLK pin will output this clock divided by two.
Value on reset: 0
Variants
_32MHZ
0: 32 MHz trace port clock (TRACECLK = 16 MHz)
_16MHZ
1: 16 MHz trace port clock (TRACECLK = 8 MHz)
_8MHZ
2: 8 MHz trace port clock (TRACECLK = 4 MHz)
_4MHZ
3: 4 MHz trace port clock (TRACECLK = 2 MHz)
Trait Implementations
sourceimpl Clone for TRACEPORTSPEED_A
impl Clone for TRACEPORTSPEED_A
sourcefn clone(&self) -> TRACEPORTSPEED_A
fn clone(&self) -> TRACEPORTSPEED_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 moresourceimpl Debug for TRACEPORTSPEED_A
impl Debug for TRACEPORTSPEED_A
sourceimpl From<TRACEPORTSPEED_A> for u8
impl From<TRACEPORTSPEED_A> for u8
sourcefn from(variant: TRACEPORTSPEED_A) -> Self
fn from(variant: TRACEPORTSPEED_A) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<TRACEPORTSPEED_A> for TRACEPORTSPEED_A
impl PartialEq<TRACEPORTSPEED_A> for TRACEPORTSPEED_A
sourcefn eq(&self, other: &TRACEPORTSPEED_A) -> bool
fn eq(&self, other: &TRACEPORTSPEED_A) -> bool
impl Copy for TRACEPORTSPEED_A
impl StructuralPartialEq for TRACEPORTSPEED_A
Auto Trait Implementations
impl RefUnwindSafe for TRACEPORTSPEED_A
impl Send for TRACEPORTSPEED_A
impl Sync for TRACEPORTSPEED_A
impl Unpin for TRACEPORTSPEED_A
impl UnwindSafe for TRACEPORTSPEED_A
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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