Type Alias nrf52840_pac::clock::traceconfig::TRACEPORTSPEED_W

source ·
pub type TRACEPORTSPEED_W<'a, const O: u8> = FieldWriterSafe<'a, u32, TRACECONFIG_SPEC, u8, TRACEPORTSPEED_A, 2, O>;
Expand description

Field TRACEPORTSPEED writer - Speed of trace port clock. Note that the TRACECLK pin will output this clock divided by two.

Aliased Type§

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

Implementations§

source§

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

source

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

32 MHz trace port clock (TRACECLK = 16 MHz)

source

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

16 MHz trace port clock (TRACECLK = 8 MHz)

source

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

8 MHz trace port clock (TRACECLK = 4 MHz)

source

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

4 MHz trace port clock (TRACECLK = 2 MHz)