pub struct W(_);
Expand description
Register AFRL
writer
Implementations
sourceimpl W
impl W
sourcepub fn afr0(
&mut self
) -> FieldWriterRaw<'_, u32, AFRL_SPEC, u8, AFR0_A, Safe, 4, 0>
pub fn afr0(
&mut self
) -> FieldWriterRaw<'_, u32, AFRL_SPEC, u8, AFR0_A, Safe, 4, 0>
Bits 0:3 - 3:0]: Alternate function selection for port x pin y (y = 0..7) These bits are written by software to configure alternate function I/Os AFSELy selection:
sourcepub fn afr1(
&mut self
) -> FieldWriterRaw<'_, u32, AFRL_SPEC, u8, AFR0_A, Safe, 4, 4>
pub fn afr1(
&mut self
) -> FieldWriterRaw<'_, u32, AFRL_SPEC, u8, AFR0_A, Safe, 4, 4>
Bits 4:7 - 3:0]: Alternate function selection for port x pin y (y = 0..7) These bits are written by software to configure alternate function I/Os AFSELy selection:
sourcepub fn afr2(
&mut self
) -> FieldWriterRaw<'_, u32, AFRL_SPEC, u8, AFR0_A, Safe, 4, 8>
pub fn afr2(
&mut self
) -> FieldWriterRaw<'_, u32, AFRL_SPEC, u8, AFR0_A, Safe, 4, 8>
Bits 8:11 - 3:0]: Alternate function selection for port x pin y (y = 0..7) These bits are written by software to configure alternate function I/Os AFSELy selection:
sourcepub fn afr3(
&mut self
) -> FieldWriterRaw<'_, u32, AFRL_SPEC, u8, AFR0_A, Safe, 4, 12>
pub fn afr3(
&mut self
) -> FieldWriterRaw<'_, u32, AFRL_SPEC, u8, AFR0_A, Safe, 4, 12>
Bits 12:15 - 3:0]: Alternate function selection for port x pin y (y = 0..7) These bits are written by software to configure alternate function I/Os AFSELy selection:
sourcepub fn afr4(
&mut self
) -> FieldWriterRaw<'_, u32, AFRL_SPEC, u8, AFR0_A, Safe, 4, 16>
pub fn afr4(
&mut self
) -> FieldWriterRaw<'_, u32, AFRL_SPEC, u8, AFR0_A, Safe, 4, 16>
Bits 16:19 - 3:0]: Alternate function selection for port x pin y (y = 0..7) These bits are written by software to configure alternate function I/Os AFSELy selection:
sourcepub fn afr5(
&mut self
) -> FieldWriterRaw<'_, u32, AFRL_SPEC, u8, AFR0_A, Safe, 4, 20>
pub fn afr5(
&mut self
) -> FieldWriterRaw<'_, u32, AFRL_SPEC, u8, AFR0_A, Safe, 4, 20>
Bits 20:23 - 3:0]: Alternate function selection for port x pin y (y = 0..7) These bits are written by software to configure alternate function I/Os AFSELy selection:
sourcepub fn afr6(
&mut self
) -> FieldWriterRaw<'_, u32, AFRL_SPEC, u8, AFR0_A, Safe, 4, 24>
pub fn afr6(
&mut self
) -> FieldWriterRaw<'_, u32, AFRL_SPEC, u8, AFR0_A, Safe, 4, 24>
Bits 24:27 - 3:0]: Alternate function selection for port x pin y (y = 0..7) These bits are written by software to configure alternate function I/Os AFSELy selection:
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.