pub struct W(_);
Expand description
Register OFR2
writer
Implementations
sourceimpl W
impl W
sourcepub fn offset2_en(&mut self) -> OFFSET2_EN_W<'_>
pub fn offset2_en(&mut self) -> OFFSET2_EN_W<'_>
Bit 31 - OFFSET2_EN
sourcepub fn offset2_ch(&mut self) -> OFFSET2_CH_W<'_>
pub fn offset2_ch(&mut self) -> OFFSET2_CH_W<'_>
Bits 26:30 - OFFSET2_CH
Methods from Deref<Target = W<OFR2_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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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