Type Alias rp2040_pac::busctrl::perfsel3::PERFSEL3_W

source ·
pub type PERFSEL3_W<'a, REG> = FieldWriter<'a, REG, 5, PERFSEL3_A>;
Expand description

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

Aliased Type§

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

Implementations§

source§

impl<'a, REG> PERFSEL3_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