rp2040_pac::busctrl::perfsel0

Type Alias PERFSEL0_R

Source
pub type PERFSEL0_R = FieldReader<PERFSEL0_A>;
Expand description

Field PERFSEL0 reader - Select an event for PERFCTR0. Count either contested accesses, or all accesses, on a downstream port of the main crossbar.

Aliased Type§

struct PERFSEL0_R { /* private fields */ }

Implementations§

Source§

impl PERFSEL0_R

Source

pub const fn variant(&self) -> Option<PERFSEL0_A>

Get enumerated values variant

Source

pub fn is_apb_contested(&self) -> bool

0

Source

pub fn is_apb(&self) -> bool

1

Source

pub fn is_fastperi_contested(&self) -> bool

10

Source

pub fn is_fastperi(&self) -> bool

11

Source

pub fn is_sram5_contested(&self) -> bool

100

Source

pub fn is_sram5(&self) -> bool

101

Source

pub fn is_sram4_contested(&self) -> bool

110

Source

pub fn is_sram4(&self) -> bool

111

Source

pub fn is_sram3_contested(&self) -> bool

1000

Source

pub fn is_sram3(&self) -> bool

1001

Source

pub fn is_sram2_contested(&self) -> bool

1010

Source

pub fn is_sram2(&self) -> bool

1011

Source

pub fn is_sram1_contested(&self) -> bool

1100

Source

pub fn is_sram1(&self) -> bool

1101

Source

pub fn is_sram0_contested(&self) -> bool

1110

Source

pub fn is_sram0(&self) -> bool

1111

Source

pub fn is_xip_main_contested(&self) -> bool

10000

Source

pub fn is_xip_main(&self) -> bool

10001

Source

pub fn is_rom_contested(&self) -> bool

10010

Source

pub fn is_rom(&self) -> bool

10011