rp2040_pac::busctrl::perfctr2

Type Alias W

Source
pub type W = W<PERFCTR2_SPEC>;
Expand description

Register PERFCTR2 writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

Source§

impl W

Source

pub fn perfctr2(&mut self) -> PERFCTR2_W<'_, PERFCTR2_SPEC>

Bits 0:23 - Busfabric saturating performance counter 2
Count some event signal from the busfabric arbiters.
Write any value to clear. Select an event to count using PERFSEL2

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