#[repr(transparent)]pub struct NseBlkIndex(pub u32);Expand description
MBC NonSecure Enable Block Index.
Tuple Fields§
§0: u32Implementations§
Source§impl NseBlkIndex
impl NseBlkIndex
Sourcepub const fn wndx(&self) -> u8
pub const fn wndx(&self) -> u8
Word index into the block NSE bitmap. It selects the BLK_NSE_Wn register, where WNDX determines the value of n.
Sourcepub const fn set_wndx(&mut self, val: u8)
pub const fn set_wndx(&mut self, val: u8)
Word index into the block NSE bitmap. It selects the BLK_NSE_Wn register, where WNDX determines the value of n.
Sourcepub const fn set_mem_sel(&mut self, val: u8)
pub const fn set_mem_sel(&mut self, val: u8)
Memory Select.
Sourcepub const fn did_sel0(&self) -> NseBlkIndexDidSel0
pub const fn did_sel0(&self) -> NseBlkIndexDidSel0
DID Select.
Sourcepub const fn set_did_sel0(&mut self, val: NseBlkIndexDidSel0)
pub const fn set_did_sel0(&mut self, val: NseBlkIndexDidSel0)
DID Select.
Trait Implementations§
Source§impl Clone for NseBlkIndex
impl Clone for NseBlkIndex
Source§fn clone(&self) -> NseBlkIndex
fn clone(&self) -> NseBlkIndex
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 NseBlkIndex
impl Debug for NseBlkIndex
Source§impl Default for NseBlkIndex
impl Default for NseBlkIndex
Source§fn default() -> NseBlkIndex
fn default() -> NseBlkIndex
Returns the “default value” for a type. Read more
Source§impl PartialEq for NseBlkIndex
impl PartialEq for NseBlkIndex
impl Copy for NseBlkIndex
impl Eq for NseBlkIndex
impl StructuralPartialEq for NseBlkIndex
Auto Trait Implementations§
impl Freeze for NseBlkIndex
impl RefUnwindSafe for NseBlkIndex
impl Send for NseBlkIndex
impl Sync for NseBlkIndex
impl Unpin for NseBlkIndex
impl UnwindSafe for NseBlkIndex
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