Enum cortex_a::regs::TCR_EL1::TG1::Value[][src]

#[repr(u64)]pub enum Value {
    KiB_4,
    KiB_16,
    KiB_64,
}

Granule size for the TTBR1_EL1.

10 4KiB 01 16KiB 11 64KiB

Other values are reserved.

If the value is programmed to either a reserved value, or a size that has not been implemented, then the hardware will treat the field as if it has been programmed to an IMPLEMENTATION DEFINED choice of the sizes that has been implemented for all purposes other than the value read back from this register.

It is IMPLEMENTATION DEFINED whether the value read back is the value programmed or the value that corresponds to the size chosen.

Variants

KiB_4
KiB_16
KiB_64

Trait Implementations

impl TryFromValue<u64> for Value[src]

type EnumType = Value

Auto Trait Implementations

impl Send for Value[src]

impl Sync for Value[src]

impl Unpin for Value[src]

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.