Enum nrf52840_pac::clock::traceconfig::TRACEPORTSPEED_A
source · #[repr(u8)]pub enum TRACEPORTSPEED_A {
_32MHZ = 0,
_16MHZ = 1,
_8MHZ = 2,
_4MHZ = 3,
}
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
0: 32 MHz trace port clock (TRACECLK = 16 MHz)
_16MHZ = 1
1: 16 MHz trace port clock (TRACECLK = 8 MHz)
_8MHZ = 2
2: 8 MHz trace port clock (TRACECLK = 4 MHz)
_4MHZ = 3
3: 4 MHz trace port clock (TRACECLK = 2 MHz)
Trait Implementations§
source§impl Clone for TRACEPORTSPEED_A
impl Clone for TRACEPORTSPEED_A
source§fn clone(&self) -> TRACEPORTSPEED_A
fn clone(&self) -> TRACEPORTSPEED_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 TRACEPORTSPEED_A
impl Debug for TRACEPORTSPEED_A
source§impl From<TRACEPORTSPEED_A> for u8
impl From<TRACEPORTSPEED_A> for u8
source§fn from(variant: TRACEPORTSPEED_A) -> Self
fn from(variant: TRACEPORTSPEED_A) -> Self
Converts to this type from the input type.
source§impl PartialEq for TRACEPORTSPEED_A
impl PartialEq for TRACEPORTSPEED_A
impl Copy for TRACEPORTSPEED_A
impl StructuralPartialEq for TRACEPORTSPEED_A
Auto Trait Implementations§
impl Freeze for TRACEPORTSPEED_A
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§
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§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
)