Type Alias rp2040_pac::busctrl::perfsel0::W

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

Register PERFSEL0 writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn perfsel0(&mut self) -> PERFSEL0_W<'_, PERFSEL0_SPEC>

Bits 0:4 - Select an event for PERFCTR0. Count either contested accesses, or all accesses, on a downstream port of the main crossbar.

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