Struct TwisConfig
#[repr(transparent)]pub struct TwisConfig(pub u32);
Expand description
Configuration register for the address match mechanism
Tuple Fields§
§0: u32
Implementations§
§impl TwisConfig
impl TwisConfig
pub fn set_address0(&mut self, val: bool)
pub fn set_address0(&mut self, val: bool)
Enable or disable address matching on ADDRESS[0]
pub fn set_address1(&mut self, val: bool)
pub fn set_address1(&mut self, val: bool)
Enable or disable address matching on ADDRESS[1]
Trait Implementations§
§impl Clone for TwisConfig
impl Clone for TwisConfig
§fn clone(&self) -> TwisConfig
fn clone(&self) -> TwisConfig
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 TwisConfig
impl Default for TwisConfig
§fn default() -> TwisConfig
fn default() -> TwisConfig
Returns the “default value” for a type. Read more
§impl PartialEq for TwisConfig
impl PartialEq for TwisConfig
impl Copy for TwisConfig
impl Eq for TwisConfig
impl StructuralPartialEq for TwisConfig
Auto Trait Implementations§
impl Freeze for TwisConfig
impl RefUnwindSafe for TwisConfig
impl Send for TwisConfig
impl Sync for TwisConfig
impl Unpin for TwisConfig
impl UnwindSafe for TwisConfig
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
)