#[repr(transparent)]pub struct RegionConfig(pub u32);
Expand description
Description cluster: Slave region n Configuration register
Tuple Fields§
§0: u32
Implementations§
Source§impl RegionConfig
impl RegionConfig
Sourcepub const fn slavenumber(&self) -> u8
pub const fn slavenumber(&self) -> u8
Target slave number for region n accesses. Slave number 0 is reserved for default slave
Sourcepub fn set_slavenumber(&mut self, val: u8)
pub fn set_slavenumber(&mut self, val: u8)
Target slave number for region n accesses. Slave number 0 is reserved for default slave
Sourcepub fn set_enable(&mut self, val: bool)
pub fn set_enable(&mut self, val: bool)
Region n enable
Sourcepub fn set_execute(&mut self, val: bool)
pub fn set_execute(&mut self, val: bool)
Software execute
Sourcepub fn set_secattr(&mut self, val: bool)
pub fn set_secattr(&mut self, val: bool)
Memory security mapping
Sourcepub fn set_ownerid(&mut self, val: u8)
pub fn set_ownerid(&mut self, val: u8)
Region owner identifier.
Trait Implementations§
Source§impl Clone for RegionConfig
impl Clone for RegionConfig
Source§fn clone(&self) -> RegionConfig
fn clone(&self) -> RegionConfig
Returns a copy 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 Default for RegionConfig
impl Default for RegionConfig
Source§fn default() -> RegionConfig
fn default() -> RegionConfig
Returns the “default value” for a type. Read more
Source§impl PartialEq for RegionConfig
impl PartialEq for RegionConfig
impl Copy for RegionConfig
impl Eq for RegionConfig
impl StructuralPartialEq for RegionConfig
Auto Trait Implementations§
impl Freeze for RegionConfig
impl RefUnwindSafe for RegionConfig
impl Send for RegionConfig
impl Sync for RegionConfig
impl Unpin for RegionConfig
impl UnwindSafe for RegionConfig
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,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)