rp2040_pac::busctrl::perfsel0

Type Alias PERFSEL0_W

Source
pub type PERFSEL0_W<'a, REG> = FieldWriter<'a, REG, 5, PERFSEL0_A>;
Expand description

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

Aliased Type§

struct PERFSEL0_W<'a, REG> { /* private fields */ }

Implementations§

Source§

impl<'a, REG> PERFSEL0_W<'a, REG>
where REG: Writable + RegisterSpec, REG::Ux: From<u8>,

Source

pub fn apb_contested(self) -> &'a mut W<REG>

0

Source

pub fn apb(self) -> &'a mut W<REG>

1

Source

pub fn fastperi_contested(self) -> &'a mut W<REG>

10

Source

pub fn fastperi(self) -> &'a mut W<REG>

11

Source

pub fn sram5_contested(self) -> &'a mut W<REG>

100

Source

pub fn sram5(self) -> &'a mut W<REG>

101

Source

pub fn sram4_contested(self) -> &'a mut W<REG>

110

Source

pub fn sram4(self) -> &'a mut W<REG>

111

Source

pub fn sram3_contested(self) -> &'a mut W<REG>

1000

Source

pub fn sram3(self) -> &'a mut W<REG>

1001

Source

pub fn sram2_contested(self) -> &'a mut W<REG>

1010

Source

pub fn sram2(self) -> &'a mut W<REG>

1011

Source

pub fn sram1_contested(self) -> &'a mut W<REG>

1100

Source

pub fn sram1(self) -> &'a mut W<REG>

1101

Source

pub fn sram0_contested(self) -> &'a mut W<REG>

1110

Source

pub fn sram0(self) -> &'a mut W<REG>

1111

Source

pub fn xip_main_contested(self) -> &'a mut W<REG>

10000

Source

pub fn xip_main(self) -> &'a mut W<REG>

10001

Source

pub fn rom_contested(self) -> &'a mut W<REG>

10010

Source

pub fn rom(self) -> &'a mut W<REG>

10011