pub struct W(/* private fields */);
Expand description
Register R%s
writer
Implementations§
source§impl W
impl W
sourcepub fn procid(
&mut self
) -> FieldWriterRaw<'_, u32, R_SPEC, u8, u8, Unsafe, 8, 0>
pub fn procid( &mut self ) -> FieldWriterRaw<'_, u32, R_SPEC, u8, u8, Unsafe, 8, 0>
Bits 0:7 - Semaphore ProcessID
sourcepub fn masterid(
&mut self
) -> FieldWriterRaw<'_, u32, R_SPEC, u8, u8, Unsafe, 8, 8>
pub fn masterid( &mut self ) -> FieldWriterRaw<'_, u32, R_SPEC, u8, u8, Unsafe, 8, 8>
Bits 8:15 - Semaphore MasterID
Methods from Deref<Target = W<R_SPEC>>§
sourcepub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
pub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
Writes raw bits to the register.
Trait Implementations§
Auto Trait Implementations§
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