rp2040_pac::busctrl::perfctr0

Type Alias 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