Struct SemaIrqEnable
#[repr(transparent)]pub struct SemaIrqEnable(pub u32);Expand description
SEMA_IRQ_ENABLE register.
Tuple Fields§
§0: u32Implementations§
§impl SemaIrqEnable
impl SemaIrqEnable
pub fn set_unlock(&mut self, val: bool)
pub fn set_unlock(&mut self, val: bool)
semaphore unlocked (=no port selected) interrupt enable.
Trait Implementations§
§impl Clone for SemaIrqEnable
impl Clone for SemaIrqEnable
§fn clone(&self) -> SemaIrqEnable
fn clone(&self) -> SemaIrqEnable
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 more§impl Debug for SemaIrqEnable
impl Debug for SemaIrqEnable
§impl Default for SemaIrqEnable
impl Default for SemaIrqEnable
§fn default() -> SemaIrqEnable
fn default() -> SemaIrqEnable
Returns the “default value” for a type. Read more
§impl PartialEq for SemaIrqEnable
impl PartialEq for SemaIrqEnable
impl Copy for SemaIrqEnable
impl Eq for SemaIrqEnable
impl StructuralPartialEq for SemaIrqEnable
Auto Trait Implementations§
impl Freeze for SemaIrqEnable
impl RefUnwindSafe for SemaIrqEnable
impl Send for SemaIrqEnable
impl Sync for SemaIrqEnable
impl Unpin for SemaIrqEnable
impl UnwindSafe for SemaIrqEnable
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