Enum rp2040_pac::busctrl::perfsel2::PERFSEL2_A
source · #[repr(u8)]pub enum PERFSEL2_A {
Show 20 variants
APB_CONTESTED = 0,
APB = 1,
FASTPERI_CONTESTED = 2,
FASTPERI = 3,
SRAM5_CONTESTED = 4,
SRAM5 = 5,
SRAM4_CONTESTED = 6,
SRAM4 = 7,
SRAM3_CONTESTED = 8,
SRAM3 = 9,
SRAM2_CONTESTED = 10,
SRAM2 = 11,
SRAM1_CONTESTED = 12,
SRAM1 = 13,
SRAM0_CONTESTED = 14,
SRAM0 = 15,
XIP_MAIN_CONTESTED = 16,
XIP_MAIN = 17,
ROM_CONTESTED = 18,
ROM = 19,
}
Expand description
Select an event for PERFCTR2. Count either contested accesses, or all accesses, on a downstream port of the main crossbar.
Value on reset: 31
Variants§
APB_CONTESTED = 0
0: 0
APB = 1
1: 1
FASTPERI_CONTESTED = 2
2: 10
FASTPERI = 3
3: 11
SRAM5_CONTESTED = 4
4: 100
SRAM5 = 5
5: 101
SRAM4_CONTESTED = 6
6: 110
SRAM4 = 7
7: 111
SRAM3_CONTESTED = 8
8: 1000
SRAM3 = 9
9: 1001
SRAM2_CONTESTED = 10
10: 1010
SRAM2 = 11
11: 1011
SRAM1_CONTESTED = 12
12: 1100
SRAM1 = 13
13: 1101
SRAM0_CONTESTED = 14
14: 1110
SRAM0 = 15
15: 1111
XIP_MAIN_CONTESTED = 16
16: 10000
XIP_MAIN = 17
17: 10001
ROM_CONTESTED = 18
18: 10010
ROM = 19
19: 10011
Trait Implementations§
source§impl Clone for PERFSEL2_A
impl Clone for PERFSEL2_A
source§fn clone(&self) -> PERFSEL2_A
fn clone(&self) -> PERFSEL2_A
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for PERFSEL2_A
impl Debug for PERFSEL2_A
source§impl From<PERFSEL2_A> for u8
impl From<PERFSEL2_A> for u8
source§fn from(variant: PERFSEL2_A) -> Self
fn from(variant: PERFSEL2_A) -> Self
Converts to this type from the input type.
source§impl PartialEq for PERFSEL2_A
impl PartialEq for PERFSEL2_A
impl Copy for PERFSEL2_A
impl Eq for PERFSEL2_A
impl StructuralPartialEq for PERFSEL2_A
Auto Trait Implementations§
impl Freeze for PERFSEL2_A
impl RefUnwindSafe for PERFSEL2_A
impl Send for PERFSEL2_A
impl Sync for PERFSEL2_A
impl Unpin for PERFSEL2_A
impl UnwindSafe for PERFSEL2_A
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)