Type Alias rp2040_pac::busctrl::perfsel1::W

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

Register PERFSEL1 writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn perfsel1(&mut self) -> PERFSEL1_W<'_, PERFSEL1_SPEC>

Bits 0:4 - Select an event for PERFCTR1. 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