Type Alias nrf52840_pac::clock::traceconfig::TRACEPORTSPEED_R

source ·
pub type TRACEPORTSPEED_R = FieldReader<u8, TRACEPORTSPEED_A>;
Expand description

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

Aliased Type§

struct TRACEPORTSPEED_R { /* private fields */ }

Implementations§

source§

impl TRACEPORTSPEED_R

source

pub fn variant(&self) -> TRACEPORTSPEED_A

Get enumerated values variant

source

pub fn is_32mhz(&self) -> bool

Checks if the value of the field is _32MHZ

source

pub fn is_16mhz(&self) -> bool

Checks if the value of the field is _16MHZ

source

pub fn is_8mhz(&self) -> bool

Checks if the value of the field is _8MHZ

source

pub fn is_4mhz(&self) -> bool

Checks if the value of the field is _4MHZ