Type Alias rp2040_pac::busctrl::perfctr0::W

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

Register PERFCTR0 writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn perfctr0(&mut self) -> PERFCTR0_W<'_, PERFCTR0_SPEC>

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

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