pub struct W(_);
Expand description
Register SAMPCFG
writer
Implementations
sourceimpl W
impl W
sourcepub fn g5p3(&mut self) -> BitWriterRaw<'_, u32, SAMPCFG_SPEC, bool, BitM, 23_u8>
pub fn g5p3(&mut self) -> BitWriterRaw<'_, u32, SAMPCFG_SPEC, bool, BitM, 23_u8>
Bit 23 - G5P3 sampling mode
sourcepub fn g5p2(&mut self) -> BitWriterRaw<'_, u32, SAMPCFG_SPEC, bool, BitM, 22_u8>
pub fn g5p2(&mut self) -> BitWriterRaw<'_, u32, SAMPCFG_SPEC, bool, BitM, 22_u8>
Bit 22 - G5P2 sampling mode
sourcepub fn g5p1(&mut self) -> BitWriterRaw<'_, u32, SAMPCFG_SPEC, bool, BitM, 21_u8>
pub fn g5p1(&mut self) -> BitWriterRaw<'_, u32, SAMPCFG_SPEC, bool, BitM, 21_u8>
Bit 21 - G5P1 sampling mode
sourcepub fn g5p0(&mut self) -> BitWriterRaw<'_, u32, SAMPCFG_SPEC, bool, BitM, 20_u8>
pub fn g5p0(&mut self) -> BitWriterRaw<'_, u32, SAMPCFG_SPEC, bool, BitM, 20_u8>
Bit 20 - G5P0 sampling mode
sourcepub fn g4p3(&mut self) -> BitWriterRaw<'_, u32, SAMPCFG_SPEC, bool, BitM, 19_u8>
pub fn g4p3(&mut self) -> BitWriterRaw<'_, u32, SAMPCFG_SPEC, bool, BitM, 19_u8>
Bit 19 - G4P3 sampling mode
sourcepub fn g4p2(&mut self) -> BitWriterRaw<'_, u32, SAMPCFG_SPEC, bool, BitM, 18_u8>
pub fn g4p2(&mut self) -> BitWriterRaw<'_, u32, SAMPCFG_SPEC, bool, BitM, 18_u8>
Bit 18 - G4P2 sampling mode
sourcepub fn g4p1(&mut self) -> BitWriterRaw<'_, u32, SAMPCFG_SPEC, bool, BitM, 17_u8>
pub fn g4p1(&mut self) -> BitWriterRaw<'_, u32, SAMPCFG_SPEC, bool, BitM, 17_u8>
Bit 17 - G4P1 sampling mode
sourcepub fn g4p0(&mut self) -> BitWriterRaw<'_, u32, SAMPCFG_SPEC, bool, BitM, 16_u8>
pub fn g4p0(&mut self) -> BitWriterRaw<'_, u32, SAMPCFG_SPEC, bool, BitM, 16_u8>
Bit 16 - G4P0 sampling mode
sourcepub fn g3p3(&mut self) -> BitWriterRaw<'_, u32, SAMPCFG_SPEC, bool, BitM, 15_u8>
pub fn g3p3(&mut self) -> BitWriterRaw<'_, u32, SAMPCFG_SPEC, bool, BitM, 15_u8>
Bit 15 - G3P3 sampling mode
sourcepub fn g3p2(&mut self) -> BitWriterRaw<'_, u32, SAMPCFG_SPEC, bool, BitM, 14_u8>
pub fn g3p2(&mut self) -> BitWriterRaw<'_, u32, SAMPCFG_SPEC, bool, BitM, 14_u8>
Bit 14 - G3P2 sampling mode
sourcepub fn g3p1(&mut self) -> BitWriterRaw<'_, u32, SAMPCFG_SPEC, bool, BitM, 13_u8>
pub fn g3p1(&mut self) -> BitWriterRaw<'_, u32, SAMPCFG_SPEC, bool, BitM, 13_u8>
Bit 13 - G3P1 sampling mode
sourcepub fn g3p0(&mut self) -> BitWriterRaw<'_, u32, SAMPCFG_SPEC, bool, BitM, 12_u8>
pub fn g3p0(&mut self) -> BitWriterRaw<'_, u32, SAMPCFG_SPEC, bool, BitM, 12_u8>
Bit 12 - G3P0 sampling mode
sourcepub fn g2p3(&mut self) -> BitWriterRaw<'_, u32, SAMPCFG_SPEC, bool, BitM, 11_u8>
pub fn g2p3(&mut self) -> BitWriterRaw<'_, u32, SAMPCFG_SPEC, bool, BitM, 11_u8>
Bit 11 - G2P3 sampling mode
sourcepub fn g2p2(&mut self) -> BitWriterRaw<'_, u32, SAMPCFG_SPEC, bool, BitM, 10_u8>
pub fn g2p2(&mut self) -> BitWriterRaw<'_, u32, SAMPCFG_SPEC, bool, BitM, 10_u8>
Bit 10 - G2P2 sampling mode
sourcepub fn g2p1(&mut self) -> BitWriterRaw<'_, u32, SAMPCFG_SPEC, bool, BitM, 9_u8>
pub fn g2p1(&mut self) -> BitWriterRaw<'_, u32, SAMPCFG_SPEC, bool, BitM, 9_u8>
Bit 9 - G2P1 sampling mode
sourcepub fn g2p0(&mut self) -> BitWriterRaw<'_, u32, SAMPCFG_SPEC, bool, BitM, 8_u8>
pub fn g2p0(&mut self) -> BitWriterRaw<'_, u32, SAMPCFG_SPEC, bool, BitM, 8_u8>
Bit 8 - G2P0 sampling mode
sourcepub fn g1p3(&mut self) -> BitWriterRaw<'_, u32, SAMPCFG_SPEC, bool, BitM, 7_u8>
pub fn g1p3(&mut self) -> BitWriterRaw<'_, u32, SAMPCFG_SPEC, bool, BitM, 7_u8>
Bit 7 - G1P3 sampling mode
sourcepub fn g1p2(&mut self) -> BitWriterRaw<'_, u32, SAMPCFG_SPEC, bool, BitM, 6_u8>
pub fn g1p2(&mut self) -> BitWriterRaw<'_, u32, SAMPCFG_SPEC, bool, BitM, 6_u8>
Bit 6 - G1P2 sampling mode
sourcepub fn g1p1(&mut self) -> BitWriterRaw<'_, u32, SAMPCFG_SPEC, bool, BitM, 5_u8>
pub fn g1p1(&mut self) -> BitWriterRaw<'_, u32, SAMPCFG_SPEC, bool, BitM, 5_u8>
Bit 5 - G1P1 sampling mode
sourcepub fn g1p0(&mut self) -> BitWriterRaw<'_, u32, SAMPCFG_SPEC, bool, BitM, 4_u8>
pub fn g1p0(&mut self) -> BitWriterRaw<'_, u32, SAMPCFG_SPEC, bool, BitM, 4_u8>
Bit 4 - G1P0 sampling mode
sourcepub fn g0p3(&mut self) -> BitWriterRaw<'_, u32, SAMPCFG_SPEC, bool, BitM, 3_u8>
pub fn g0p3(&mut self) -> BitWriterRaw<'_, u32, SAMPCFG_SPEC, bool, BitM, 3_u8>
Bit 3 - G0P3 sampling mode
sourcepub fn g0p2(&mut self) -> BitWriterRaw<'_, u32, SAMPCFG_SPEC, bool, BitM, 2_u8>
pub fn g0p2(&mut self) -> BitWriterRaw<'_, u32, SAMPCFG_SPEC, bool, BitM, 2_u8>
Bit 2 - G0P2 sampling mode
sourcepub fn g0p1(&mut self) -> BitWriterRaw<'_, u32, SAMPCFG_SPEC, bool, BitM, 1_u8>
pub fn g0p1(&mut self) -> BitWriterRaw<'_, u32, SAMPCFG_SPEC, bool, BitM, 1_u8>
Bit 1 - G0P1 sampling mode
sourcepub fn g0p0(&mut self) -> BitWriterRaw<'_, u32, SAMPCFG_SPEC, bool, BitM, 0_u8>
pub fn g0p0(&mut self) -> BitWriterRaw<'_, u32, SAMPCFG_SPEC, bool, BitM, 0_u8>
Bit 0 - G0P0 sampling mode
Methods from Deref<Target = W<SAMPCFG_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
sourceimpl From<W<SAMPCFG_SPEC>> for W
impl From<W<SAMPCFG_SPEC>> for W
sourcefn from(writer: W<SAMPCFG_SPEC>) -> W
fn from(writer: W<SAMPCFG_SPEC>) -> W
Converts to this type from the input type.
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