rp2040_pac::busctrl::perfsel1

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