Skip to main content

PmuRegister

Struct PmuRegister 

Source
#[repr(C)]
pub struct PmuRegister {
Show 15 fields pub pmcr_el0: u64, pub pmccfiltr_el0: u64, pub pmccntr_el0: u64, pub pmcntenset_el0: u64, pub pmcntenclr_el0: u64, pub pmintenset_el1: u64, pub pmintenclr_el1: u64, pub pmovsset_el0: u64, pub pmovsclr_el0: u64, pub pmselr_el0: u64, pub pmuserenr_el0: u64, pub pmxevcntr_el0: u64, pub pmxevtyper_el0: u64, pub pmevcntr_el0: [u64; 31], pub pmevtyper_el0: [u64; 31],
}

Fields§

§pmcr_el0: u64§pmccfiltr_el0: u64§pmccntr_el0: u64§pmcntenset_el0: u64§pmcntenclr_el0: u64§pmintenset_el1: u64§pmintenclr_el1: u64§pmovsset_el0: u64§pmovsclr_el0: u64§pmselr_el0: u64§pmuserenr_el0: u64§pmxevcntr_el0: u64§pmxevtyper_el0: u64§pmevcntr_el0: [u64; 31]§pmevtyper_el0: [u64; 31]

Trait Implementations§

Source§

impl Debug for PmuRegister

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for PmuRegister

Source§

fn default() -> PmuRegister

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.