#[repr(transparent)]pub struct Mbc0NseBlkIndex(pub u32);Expand description
MBC NonSecure Enable Block Index
Tuple Fields§
§0: u32Implementations§
Source§impl Mbc0NseBlkIndex
impl Mbc0NseBlkIndex
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) -> Mbc0NseBlkIndexDidSel0
pub const fn did_sel0(&self) -> Mbc0NseBlkIndexDidSel0
DID Select
Sourcepub const fn set_did_sel0(&mut self, val: Mbc0NseBlkIndexDidSel0)
pub const fn set_did_sel0(&mut self, val: Mbc0NseBlkIndexDidSel0)
DID Select
Trait Implementations§
Source§impl Clone for Mbc0NseBlkIndex
impl Clone for Mbc0NseBlkIndex
Source§fn clone(&self) -> Mbc0NseBlkIndex
fn clone(&self) -> Mbc0NseBlkIndex
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 Mbc0NseBlkIndex
impl Debug for Mbc0NseBlkIndex
Source§impl Default for Mbc0NseBlkIndex
impl Default for Mbc0NseBlkIndex
Source§fn default() -> Mbc0NseBlkIndex
fn default() -> Mbc0NseBlkIndex
Returns the “default value” for a type. Read more
Source§impl PartialEq for Mbc0NseBlkIndex
impl PartialEq for Mbc0NseBlkIndex
impl Copy for Mbc0NseBlkIndex
impl Eq for Mbc0NseBlkIndex
impl StructuralPartialEq for Mbc0NseBlkIndex
Auto Trait Implementations§
impl Freeze for Mbc0NseBlkIndex
impl RefUnwindSafe for Mbc0NseBlkIndex
impl Send for Mbc0NseBlkIndex
impl Sync for Mbc0NseBlkIndex
impl Unpin for Mbc0NseBlkIndex
impl UnwindSafe for Mbc0NseBlkIndex
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