pub struct DataSlotAccess { /* private fields */ }Implementations§
Source§impl DataSlotAccess
impl DataSlotAccess
Sourcepub const ZERO: Self
pub const ZERO: Self
Creates a new instance with a raw value of 0. Equivalent to [Self::new_with_raw_value(0)].
Sourcepub const fn new_with_raw_value(value: u32) -> DataSlotAccess
pub const fn new_with_raw_value(value: u32) -> DataSlotAccess
Creates a new instance of this bitfield with the given raw value.
No checks are performed on the value, so it is possible to set bits that don’t have any accessors specified.
pub const fn write_mode(&self) -> bool
pub const fn with_write_mode(&self, field_value: bool) -> Self
pub fn set_write_mode(&mut self, field_value: bool)
pub const fn fw1(&self) -> bool
pub const fn with_fw1(&self, field_value: bool) -> Self
pub fn set_fw1(&mut self, field_value: bool)
pub const fn fw0(&self) -> bool
pub const fn with_fw0(&self, field_value: bool) -> Self
pub fn set_fw0(&mut self, field_value: bool)
pub const fn boot1(&self) -> bool
pub const fn with_boot1(&self, field_value: bool) -> Self
pub fn set_boot1(&mut self, field_value: bool)
pub const fn boot0(&self) -> bool
pub const fn with_boot0(&self, field_value: bool) -> Self
pub fn set_boot0(&mut self, field_value: bool)
pub const fn seg_id(&self) -> u8
pub const fn with_seg_id(&self, field_value: u8) -> Self
pub fn set_seg_id(&mut self, field_value: u8)
pub const fn sce_wr_dis(&self) -> bool
pub const fn with_sce_wr_dis(&self, field_value: bool) -> Self
pub fn set_sce_wr_dis(&mut self, field_value: bool)
pub const fn sce_rd_dis(&self) -> bool
pub const fn with_sce_rd_dis(&self, field_value: bool) -> Self
pub fn set_sce_rd_dis(&mut self, field_value: bool)
pub const fn core_wr_dis(&self) -> bool
pub const fn with_core_wr_dis(&self, field_value: bool) -> Self
pub fn set_core_wr_dis(&mut self, field_value: bool)
pub const fn core_rd_dis(&self) -> bool
pub const fn with_core_rd_dis(&self, field_value: bool) -> Self
pub fn set_core_rd_dis(&mut self, field_value: bool)
Source§impl DataSlotAccess
impl DataSlotAccess
pub fn get_entry(slot: usize) -> Self
pub fn get_partition_access(&self) -> PartitionAccess
pub fn set_partition_access(&mut self, pa: &PartitionAccess)
pub fn get_rw_permissions(&self) -> RwPerms
pub fn set_rw_permissions(&mut self, spec: RwPerms)
Trait Implementations§
Source§impl Clone for DataSlotAccess
impl Clone for DataSlotAccess
Source§fn clone(&self) -> DataSlotAccess
fn clone(&self) -> DataSlotAccess
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DataSlotAccess
impl Debug for DataSlotAccess
Source§impl PartialEq for DataSlotAccess
impl PartialEq for DataSlotAccess
impl Copy for DataSlotAccess
impl Eq for DataSlotAccess
impl StructuralPartialEq for DataSlotAccess
Auto Trait Implementations§
impl Freeze for DataSlotAccess
impl RefUnwindSafe for DataSlotAccess
impl Send for DataSlotAccess
impl Sync for DataSlotAccess
impl Unpin for DataSlotAccess
impl UnwindSafe for DataSlotAccess
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