pub struct WritableRegister {
pub offset: u64,
pub width: u32,
pub allow_mask: u32,
pub allow_rmw: bool,
pub require_precondition: bool,
pub precondition_mask: u32,
pub readback: bool,
}Expand description
Target ceiling specification for one writable register.
Writes are denied unless the immutable target ceiling contains an exact writable-register entry (Spec 9.4). A host/session grant cannot invent a write entry.
Fields§
§offset: u64Byte offset from the start of the logical resource.
width: u32Access width in bytes (must be 4 for V1).
allow_mask: u32Bitmask of writable bits permitted by policy.
allow_rmw: boolWhether read-modify-write is permitted for partial mask writes.
require_precondition: boolWhether a precondition is required for any write to this register.
precondition_mask: u32Bitmask of valid precondition bits.
readback: boolWhether readback is configured/supported.
Trait Implementations§
Source§impl Clone for WritableRegister
impl Clone for WritableRegister
impl Copy for WritableRegister
Source§impl Debug for WritableRegister
impl Debug for WritableRegister
impl Eq for WritableRegister
Source§impl Ord for WritableRegister
impl Ord for WritableRegister
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for WritableRegister
impl PartialEq for WritableRegister
Source§impl PartialOrd for WritableRegister
impl PartialOrd for WritableRegister
impl StructuralPartialEq for WritableRegister
Auto Trait Implementations§
impl Freeze for WritableRegister
impl RefUnwindSafe for WritableRegister
impl Send for WritableRegister
impl Sync for WritableRegister
impl Unpin for WritableRegister
impl UnsafeUnpin for WritableRegister
impl UnwindSafe for WritableRegister
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,
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.