pub struct W(/* private fields */);
Expand description
Register SR
writer
Implementations§
Source§impl W
impl W
Sourcepub fn strt(&mut self) -> BitWriterRaw<'_, u32, SR_SPEC, STRT_A, BitM, 4>
pub fn strt(&mut self) -> BitWriterRaw<'_, u32, SR_SPEC, STRT_A, BitM, 4>
Bit 4 - Regular channel start flag
Sourcepub fn jstrt(&mut self) -> BitWriterRaw<'_, u32, SR_SPEC, JSTRT_A, BitM, 3>
pub fn jstrt(&mut self) -> BitWriterRaw<'_, u32, SR_SPEC, JSTRT_A, BitM, 3>
Bit 3 - Injected channel start flag
Sourcepub fn jeoc(&mut self) -> BitWriterRaw<'_, u32, SR_SPEC, JEOC_A, BitM, 2>
pub fn jeoc(&mut self) -> BitWriterRaw<'_, u32, SR_SPEC, JEOC_A, BitM, 2>
Bit 2 - Injected channel end of conversion
Sourcepub fn eoc(&mut self) -> BitWriterRaw<'_, u32, SR_SPEC, EOC_A, BitM, 1>
pub fn eoc(&mut self) -> BitWriterRaw<'_, u32, SR_SPEC, EOC_A, BitM, 1>
Bit 1 - Regular channel end of conversion
Methods from Deref<Target = W<SR_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§
impl Freeze for W
impl RefUnwindSafe for W
impl Send for W
impl Sync for W
impl Unpin for W
impl UnwindSafe for W
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