Type Alias nrf52840_pac::clock::traceconfig::TRACEMUX_W

source ·
pub type TRACEMUX_W<'a, const O: u8> = FieldWriter<'a, u32, TRACECONFIG_SPEC, u8, TRACEMUX_A, 2, O>;
Expand description

Field TRACEMUX writer - Pin multiplexing of trace signals. See pin assignment chapter for more details.

Aliased Type§

struct TRACEMUX_W<'a, const O: u8> { /* private fields */ }

Implementations§

source§

impl<'a, const O: u8> TRACEMUX_W<'a, O>

source

pub fn gpio(self) -> &'a mut W

No trace signals routed to pins. All pins can be used as regular GPIOs.

source

pub fn serial(self) -> &'a mut W

SWO trace signal routed to pin. Remaining pins can be used as regular GPIOs.

source

pub fn parallel(self) -> &'a mut W

All trace signals (TRACECLK and TRACEDATA[n]) routed to pins.