pub struct W(_);
Expand description
Register PCR2
writer
Implementations
sourceimpl W
impl W
sourcepub fn eccps(
&mut self
) -> FieldWriterRaw<'_, u32, PCR2_SPEC, u8, u8, Unsafe, 3, 17>
pub fn eccps(
&mut self
) -> FieldWriterRaw<'_, u32, PCR2_SPEC, u8, u8, Unsafe, 3, 17>
Bits 17:19 - ECCPS
sourcepub fn tar(
&mut self
) -> FieldWriterRaw<'_, u32, PCR2_SPEC, u8, u8, Unsafe, 4, 13>
pub fn tar(
&mut self
) -> FieldWriterRaw<'_, u32, PCR2_SPEC, u8, u8, Unsafe, 4, 13>
Bits 13:16 - TAR
sourcepub fn tclr(
&mut self
) -> FieldWriterRaw<'_, u32, PCR2_SPEC, u8, u8, Unsafe, 4, 9>
pub fn tclr(
&mut self
) -> FieldWriterRaw<'_, u32, PCR2_SPEC, u8, u8, Unsafe, 4, 9>
Bits 9:12 - TCLR
Methods from Deref<Target = W<PCR2_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