#[repr(u64)]pub enum Value {
L1 = 0,
L2 = 1,
L3 = 2,
L4 = 3,
L5 = 4,
L6 = 5,
L7 = 6,
}
Expand description
Cache level of required cache.
Any value other than the pre-defined ones are considered reserved and shall not be written to this field.
When [CSSELR_EL1::Level
] is programmed to a cache level that is
not implemented, this field’s value will be undefined for reads.
NOTE: On a Warm reset, this field resets to an architecturally undefined value.
Variants§
L1 = 0
Level 1 Cache.
L2 = 1
Level 2 Cache.
L3 = 2
Level 3 Cache.
L4 = 3
Level 4 Cache.
L5 = 4
Level 5 Cache.
L6 = 5
Level 6 Cache.
L7 = 6
Level 7 Cache.
Trait Implementations§
source§impl PartialEq for Value
impl PartialEq for Value
source§impl TryFromValue<u64> for Value
impl TryFromValue<u64> for Value
impl Copy for Value
impl Eq for Value
impl StructuralPartialEq for Value
Auto Trait Implementations§
impl RefUnwindSafe for Value
impl Send for Value
impl Sync for Value
impl Unpin for Value
impl UnwindSafe for Value
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