nrf52840_pac::clock::traceconfig

Type Alias 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.