Struct OverrideConfig
#[repr(transparent)]pub struct OverrideConfig(pub u32);
Expand description
Description cluster: Override region n Configuration register
Tuple Fields§
§0: u32
Implementations§
§impl OverrideConfig
impl OverrideConfig
pub 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
pub 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
pub fn set_enable(&mut self, val: bool)
pub fn set_enable(&mut self, val: bool)
Enable Override region n
pub const fn securemask(&self) -> bool
pub const fn securemask(&self) -> bool
Secure mask enable for Override region n
pub fn set_securemask(&mut self, val: bool)
pub fn set_securemask(&mut self, val: bool)
Secure mask enable for Override region n
Trait Implementations§
§impl Clone for OverrideConfig
impl Clone for OverrideConfig
§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 more§impl Default for OverrideConfig
impl Default for OverrideConfig
§fn default() -> OverrideConfig
fn default() -> OverrideConfig
Returns the “default value” for a type. Read more
§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
)