Struct rp2040_pac2::busctrl::regs::Perfctr[][src]

#[repr(transparent)]pub struct Perfctr(pub u32);

Bus fabric performance counter 1

Implementations

impl Perfctr[src]

pub const fn perfctr(&self) -> u32[src]

Busfabric saturating performance counter 1 Count some event signal from the busfabric arbiters. Write any value to clear. Select an event to count using PERFSEL1

pub fn set_perfctr(&mut self, val: u32)[src]

Busfabric saturating performance counter 1 Count some event signal from the busfabric arbiters. Write any value to clear. Select an event to count using PERFSEL1

Trait Implementations

impl Clone for Perfctr[src]

impl Copy for Perfctr[src]

impl Default for Perfctr[src]

Auto Trait Implementations

impl Send for Perfctr

impl Sync for Perfctr

impl Unpin for Perfctr

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.