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

source

pub const fn variant(&self) -> Option<PERFSEL2_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