Type Alias atsame53n::etm::cr::W

source ·
pub type W = W<CR_SPEC>;
Expand description

Register CR writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn etmpd(&mut self) -> ETMPD_W<'_, CR_SPEC, 0>

Bit 0 - ETM Power Down

source

pub fn portsize(&mut self) -> PORTSIZE_W<'_, CR_SPEC, 4>

Bits 4:6 - Port Size bits 2:0

source

pub fn stall(&mut self) -> STALL_W<'_, CR_SPEC, 7>

Bit 7 - Stall Processor

source

pub fn brout(&mut self) -> BROUT_W<'_, CR_SPEC, 8>

Bit 8 - Branch Output

source

pub fn dbgrq(&mut self) -> DBGRQ_W<'_, CR_SPEC, 9>

Bit 9 - Debug Request Control

source

pub fn prog(&mut self) -> PROG_W<'_, CR_SPEC, 10>

Bit 10 - ETM Programming

source

pub fn portsel(&mut self) -> PORTSEL_W<'_, CR_SPEC, 11>

Bit 11 - ETM Port Select

source

pub fn portmode2(&mut self) -> PORTMODE2_W<'_, CR_SPEC, 13>

Bit 13 - Port Mode bit 2

source

pub fn portmode(&mut self) -> PORTMODE_W<'_, CR_SPEC, 16>

Bits 16:17 - Port Mode bits 1:0

source

pub fn portsize3(&mut self) -> PORTSIZE3_W<'_, CR_SPEC, 21>

Bit 21 - Port Size bit 3

source

pub fn tsen(&mut self) -> TSEN_W<'_, CR_SPEC, 28>

Bit 28 - TimeStamp Enable

source

pub unsafe fn bits(&mut self, bits: u32) -> &mut Self

Writes raw bits to the register.

§Safety

Passing incorrect value can cause undefined behaviour. See reference manual