pub struct W(_);
Expand description
Register SMCR
writer
Implementations
sourceimpl W
impl W
sourcepub fn sms(
&mut self
) -> FieldWriterRaw<'_, u32, SMCR_SPEC, u8, u8, Unsafe, 3, 0>
pub fn sms(
&mut self
) -> FieldWriterRaw<'_, u32, SMCR_SPEC, u8, u8, Unsafe, 3, 0>
Bits 0:2 - Slave mode selection
sourcepub fn ts_2_0(
&mut self
) -> FieldWriterRaw<'_, u32, SMCR_SPEC, u8, u8, Unsafe, 3, 4>
pub fn ts_2_0(
&mut self
) -> FieldWriterRaw<'_, u32, SMCR_SPEC, u8, u8, Unsafe, 3, 4>
Bits 4:6 - Trigger selection
sourcepub fn msm(&mut self) -> BitWriterRaw<'_, u32, SMCR_SPEC, bool, BitM, 7>
pub fn msm(&mut self) -> BitWriterRaw<'_, u32, SMCR_SPEC, bool, BitM, 7>
Bit 7 - Master/Slave mode
sourcepub fn sms_3(&mut self) -> BitWriterRaw<'_, u32, SMCR_SPEC, bool, BitM, 16>
pub fn sms_3(&mut self) -> BitWriterRaw<'_, u32, SMCR_SPEC, bool, BitM, 16>
Bit 16 - Slave mode selection bit 3
Methods from Deref<Target = W<SMCR_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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more