#[repr(transparent)]pub struct Ch3sema(pub u32);Expand description
DCP channel 3 semaphore register
Tuple Fields§
§0: u32Implementations§
Source§impl Ch3sema
impl Ch3sema
Sourcepub const fn increment(&self) -> u8
pub const fn increment(&self) -> u8
The value written to this field is added to the semaphore count in an atomic way, such that the simultaneous software adds and DCP hardware substracts happening on the same clock are protected
Sourcepub const fn set_increment(&mut self, val: u8)
pub const fn set_increment(&mut self, val: u8)
The value written to this field is added to the semaphore count in an atomic way, such that the simultaneous software adds and DCP hardware substracts happening on the same clock are protected
Trait Implementations§
impl Copy for Ch3sema
impl Eq for Ch3sema
impl StructuralPartialEq for Ch3sema
Auto Trait Implementations§
impl Freeze for Ch3sema
impl RefUnwindSafe for Ch3sema
impl Send for Ch3sema
impl Sync for Ch3sema
impl Unpin for Ch3sema
impl UnwindSafe for Ch3sema
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