pub struct W(_);
Expand description
Register AFRL
writer
Implementations
sourceimpl W
impl W
sourcepub fn afsel7(
&mut self
) -> FieldWriterRaw<'_, u32, AFRL_SPEC, u8, AFSEL0_A, Unsafe, 4, 28>
pub fn afsel7(
&mut self
) -> FieldWriterRaw<'_, u32, AFRL_SPEC, u8, AFSEL0_A, Unsafe, 4, 28>
Bits 28:31 - Alternate function selection for port x pin y (y = 0..7)
sourcepub fn afsel6(
&mut self
) -> FieldWriterRaw<'_, u32, AFRL_SPEC, u8, AFSEL0_A, Unsafe, 4, 24>
pub fn afsel6(
&mut self
) -> FieldWriterRaw<'_, u32, AFRL_SPEC, u8, AFSEL0_A, Unsafe, 4, 24>
Bits 24:27 - Alternate function selection for port x pin y (y = 0..7)
sourcepub fn afsel5(
&mut self
) -> FieldWriterRaw<'_, u32, AFRL_SPEC, u8, AFSEL0_A, Unsafe, 4, 20>
pub fn afsel5(
&mut self
) -> FieldWriterRaw<'_, u32, AFRL_SPEC, u8, AFSEL0_A, Unsafe, 4, 20>
Bits 20:23 - Alternate function selection for port x pin y (y = 0..7)
sourcepub fn afsel4(
&mut self
) -> FieldWriterRaw<'_, u32, AFRL_SPEC, u8, AFSEL0_A, Unsafe, 4, 16>
pub fn afsel4(
&mut self
) -> FieldWriterRaw<'_, u32, AFRL_SPEC, u8, AFSEL0_A, Unsafe, 4, 16>
Bits 16:19 - Alternate function selection for port x pin y (y = 0..7)
sourcepub fn afsel3(
&mut self
) -> FieldWriterRaw<'_, u32, AFRL_SPEC, u8, AFSEL0_A, Unsafe, 4, 12>
pub fn afsel3(
&mut self
) -> FieldWriterRaw<'_, u32, AFRL_SPEC, u8, AFSEL0_A, Unsafe, 4, 12>
Bits 12:15 - Alternate function selection for port x pin y (y = 0..7)
sourcepub fn afsel2(
&mut self
) -> FieldWriterRaw<'_, u32, AFRL_SPEC, u8, AFSEL0_A, Unsafe, 4, 8>
pub fn afsel2(
&mut self
) -> FieldWriterRaw<'_, u32, AFRL_SPEC, u8, AFSEL0_A, Unsafe, 4, 8>
Bits 8:11 - Alternate function selection for port x pin y (y = 0..7)
sourcepub fn afsel1(
&mut self
) -> FieldWriterRaw<'_, u32, AFRL_SPEC, u8, AFSEL0_A, Unsafe, 4, 4>
pub fn afsel1(
&mut self
) -> FieldWriterRaw<'_, u32, AFRL_SPEC, u8, AFSEL0_A, Unsafe, 4, 4>
Bits 4:7 - Alternate function selection for port x pin y (y = 0..7)
Methods from Deref<Target = W<AFRL_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