Type Alias rp2040_pac::busctrl::perfctr1::W

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

Register PERFCTR1 writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn perfctr1(&mut self) -> PERFCTR1_W<'_, PERFCTR1_SPEC>

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

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