Enum nrf52840_pac::clock::traceconfig::TRACEMUX_A
source · #[repr(u8)]pub enum TRACEMUX_A {
GPIO = 0,
SERIAL = 1,
PARALLEL = 2,
}
Expand description
Pin multiplexing of trace signals. See pin assignment chapter for more details.
Value on reset: 0
Variants§
GPIO = 0
0: No trace signals routed to pins. All pins can be used as regular GPIOs.
SERIAL = 1
1: SWO trace signal routed to pin. Remaining pins can be used as regular GPIOs.
PARALLEL = 2
2: All trace signals (TRACECLK and TRACEDATA[n]) routed to pins.
Trait Implementations§
source§impl Clone for TRACEMUX_A
impl Clone for TRACEMUX_A
source§fn clone(&self) -> TRACEMUX_A
fn clone(&self) -> TRACEMUX_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 TRACEMUX_A
impl Debug for TRACEMUX_A
source§impl From<TRACEMUX_A> for u8
impl From<TRACEMUX_A> for u8
source§fn from(variant: TRACEMUX_A) -> Self
fn from(variant: TRACEMUX_A) -> Self
Converts to this type from the input type.
source§impl PartialEq for TRACEMUX_A
impl PartialEq for TRACEMUX_A
impl Copy for TRACEMUX_A
impl StructuralPartialEq for TRACEMUX_A
Auto Trait Implementations§
impl Freeze for TRACEMUX_A
impl RefUnwindSafe for TRACEMUX_A
impl Send for TRACEMUX_A
impl Sync for TRACEMUX_A
impl Unpin for TRACEMUX_A
impl UnwindSafe for TRACEMUX_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
)