#[repr(transparent)]pub struct Periphencfg(pub u32);Expand description
no description available
Tuple Fields§
§0: u32Implementations§
Source§impl Periphencfg
impl Periphencfg
Sourcepub const fn peripheral_configuration(&self) -> u16
pub const fn peripheral_configuration(&self) -> u16
no description available
Sourcepub const fn set_peripheral_configuration(&mut self, val: u16)
pub const fn set_peripheral_configuration(&mut self, val: u16)
no description available
Sourcepub const fn cpu1_enable(&self) -> bool
pub const fn cpu1_enable(&self) -> bool
no description available
Sourcepub const fn set_cpu1_enable(&mut self, val: bool)
pub const fn set_cpu1_enable(&mut self, val: bool)
no description available
Trait Implementations§
Source§impl Clone for Periphencfg
impl Clone for Periphencfg
Source§fn clone(&self) -> Periphencfg
fn clone(&self) -> Periphencfg
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 Periphencfg
impl Debug for Periphencfg
Source§impl Default for Periphencfg
impl Default for Periphencfg
Source§fn default() -> Periphencfg
fn default() -> Periphencfg
Returns the “default value” for a type. Read more
Source§impl PartialEq for Periphencfg
impl PartialEq for Periphencfg
impl Copy for Periphencfg
impl Eq for Periphencfg
impl StructuralPartialEq for Periphencfg
Auto Trait Implementations§
impl Freeze for Periphencfg
impl RefUnwindSafe for Periphencfg
impl Send for Periphencfg
impl Sync for Periphencfg
impl Unpin for Periphencfg
impl UnwindSafe for Periphencfg
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