Type Alias rp2040_pac::busctrl::perfsel2::PERFSEL2_R
source · pub type PERFSEL2_R = FieldReader<PERFSEL2_A>;
Expand description
Field PERFSEL2
reader - Select an event for PERFCTR2. Count either contested accesses, or all accesses, on a downstream port of the main crossbar.
Aliased Type§
struct PERFSEL2_R { /* private fields */ }
Implementations§
source§impl PERFSEL2_R
impl PERFSEL2_R
sourcepub const fn variant(&self) -> Option<PERFSEL2_A>
pub const fn variant(&self) -> Option<PERFSEL2_A>
Get enumerated values variant
sourcepub fn is_apb_contested(&self) -> bool
pub fn is_apb_contested(&self) -> bool
0
sourcepub fn is_fastperi_contested(&self) -> bool
pub fn is_fastperi_contested(&self) -> bool
10
sourcepub fn is_fastperi(&self) -> bool
pub fn is_fastperi(&self) -> bool
11
sourcepub fn is_sram5_contested(&self) -> bool
pub fn is_sram5_contested(&self) -> bool
100
sourcepub fn is_sram4_contested(&self) -> bool
pub fn is_sram4_contested(&self) -> bool
110
sourcepub fn is_sram3_contested(&self) -> bool
pub fn is_sram3_contested(&self) -> bool
1000
sourcepub fn is_sram2_contested(&self) -> bool
pub fn is_sram2_contested(&self) -> bool
1010
sourcepub fn is_sram1_contested(&self) -> bool
pub fn is_sram1_contested(&self) -> bool
1100
sourcepub fn is_sram0_contested(&self) -> bool
pub fn is_sram0_contested(&self) -> bool
1110
sourcepub fn is_xip_main_contested(&self) -> bool
pub fn is_xip_main_contested(&self) -> bool
10000
sourcepub fn is_xip_main(&self) -> bool
pub fn is_xip_main(&self) -> bool
10001
sourcepub fn is_rom_contested(&self) -> bool
pub fn is_rom_contested(&self) -> bool
10010