#[repr(transparent)]pub struct OverrideConfig(pub u32);
Expand description
Description cluster: Override region n Configuration register
Tuple Fields§
§0: u32
Implementations§
Source§impl OverrideConfig
impl OverrideConfig
Sourcepub const fn slavenumber(&self) -> u8
pub const fn slavenumber(&self) -> u8
Target slave number for override 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 override 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)
Enable Override region n
Sourcepub const fn securemask(&self) -> bool
pub const fn securemask(&self) -> bool
Secure mask enable for Override region n
Sourcepub fn set_securemask(&mut self, val: bool)
pub fn set_securemask(&mut self, val: bool)
Secure mask enable for Override region n
Trait Implementations§
Source§impl Clone for OverrideConfig
impl Clone for OverrideConfig
Source§fn clone(&self) -> OverrideConfig
fn clone(&self) -> OverrideConfig
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 OverrideConfig
impl Default for OverrideConfig
Source§fn default() -> OverrideConfig
fn default() -> OverrideConfig
Returns the “default value” for a type. Read more
Source§impl PartialEq for OverrideConfig
impl PartialEq for OverrideConfig
impl Copy for OverrideConfig
impl Eq for OverrideConfig
impl StructuralPartialEq for OverrideConfig
Auto Trait Implementations§
impl Freeze for OverrideConfig
impl RefUnwindSafe for OverrideConfig
impl Send for OverrideConfig
impl Sync for OverrideConfig
impl Unpin for OverrideConfig
impl UnwindSafe for OverrideConfig
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
)