#[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