pub struct W(_);
Expand description
Register AFSEL1
writer
Implementations
sourceimpl W
impl W
sourcepub fn sel15(
&mut self
) -> FieldWriterRaw<'_, u32, AFSEL1_SPEC, u8, SEL8_A, Unsafe, 4_u8, 0_u8>
pub fn sel15(
&mut self
) -> FieldWriterRaw<'_, u32, AFSEL1_SPEC, u8, SEL8_A, Unsafe, 4_u8, 0_u8>
Bits 28:31 - Pin 15 alternate function selected
sourcepub fn sel14(
&mut self
) -> FieldWriterRaw<'_, u32, AFSEL1_SPEC, u8, SEL8_A, Unsafe, 4_u8, 0_u8>
pub fn sel14(
&mut self
) -> FieldWriterRaw<'_, u32, AFSEL1_SPEC, u8, SEL8_A, Unsafe, 4_u8, 0_u8>
Bits 24:27 - Pin 14 alternate function selected
sourcepub fn sel13(
&mut self
) -> FieldWriterRaw<'_, u32, AFSEL1_SPEC, u8, SEL8_A, Unsafe, 4_u8, 0_u8>
pub fn sel13(
&mut self
) -> FieldWriterRaw<'_, u32, AFSEL1_SPEC, u8, SEL8_A, Unsafe, 4_u8, 0_u8>
Bits 20:23 - Pin 13 alternate function selected
sourcepub fn sel12(
&mut self
) -> FieldWriterRaw<'_, u32, AFSEL1_SPEC, u8, SEL8_A, Unsafe, 4_u8, 0_u8>
pub fn sel12(
&mut self
) -> FieldWriterRaw<'_, u32, AFSEL1_SPEC, u8, SEL8_A, Unsafe, 4_u8, 0_u8>
Bits 16:19 - Pin 12 alternate function selected
sourcepub fn sel11(
&mut self
) -> FieldWriterRaw<'_, u32, AFSEL1_SPEC, u8, SEL8_A, Unsafe, 4_u8, 0_u8>
pub fn sel11(
&mut self
) -> FieldWriterRaw<'_, u32, AFSEL1_SPEC, u8, SEL8_A, Unsafe, 4_u8, 0_u8>
Bits 12:15 - Pin 11 alternate function selected
sourcepub fn sel10(
&mut self
) -> FieldWriterRaw<'_, u32, AFSEL1_SPEC, u8, SEL8_A, Unsafe, 4_u8, 0_u8>
pub fn sel10(
&mut self
) -> FieldWriterRaw<'_, u32, AFSEL1_SPEC, u8, SEL8_A, Unsafe, 4_u8, 0_u8>
Bits 8:11 - Pin 10 alternate function selected
sourcepub fn sel9(
&mut self
) -> FieldWriterRaw<'_, u32, AFSEL1_SPEC, u8, SEL8_A, Unsafe, 4_u8, 0_u8>
pub fn sel9(
&mut self
) -> FieldWriterRaw<'_, u32, AFSEL1_SPEC, u8, SEL8_A, Unsafe, 4_u8, 0_u8>
Bits 4:7 - Pin 9 alternate function selected
Methods from Deref<Target = W<AFSEL1_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<AFSEL1_SPEC>> for W
impl From<W<AFSEL1_SPEC>> for W
sourcefn from(writer: W<AFSEL1_SPEC>) -> W
fn from(writer: W<AFSEL1_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