Type Alias rp2040_pac::busctrl::perfctr2::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