pub struct W(_);
Expand description
Register AFRH
writer
Implementations
sourceimpl W
impl W
sourcepub fn afr8(
&mut self
) -> FieldWriterRaw<'_, u32, AFRH_SPEC, u8, AFR8_A, Safe, 4, 0>
pub fn afr8(
&mut self
) -> FieldWriterRaw<'_, u32, AFRH_SPEC, u8, AFR8_A, Safe, 4, 0>
Bits 0:3 - 3:0]: Alternate function selection for port x pin y (y = 8..15) These bits are written by software to configure alternate function I/Os
sourcepub fn afr9(
&mut self
) -> FieldWriterRaw<'_, u32, AFRH_SPEC, u8, AFR8_A, Safe, 4, 4>
pub fn afr9(
&mut self
) -> FieldWriterRaw<'_, u32, AFRH_SPEC, u8, AFR8_A, Safe, 4, 4>
Bits 4:7 - 3:0]: Alternate function selection for port x pin y (y = 8..15) These bits are written by software to configure alternate function I/Os
sourcepub fn afr10(
&mut self
) -> FieldWriterRaw<'_, u32, AFRH_SPEC, u8, AFR8_A, Safe, 4, 8>
pub fn afr10(
&mut self
) -> FieldWriterRaw<'_, u32, AFRH_SPEC, u8, AFR8_A, Safe, 4, 8>
Bits 8:11 - 3:0]: Alternate function selection for port x pin y (y = 8..15) These bits are written by software to configure alternate function I/Os
sourcepub fn afr11(
&mut self
) -> FieldWriterRaw<'_, u32, AFRH_SPEC, u8, AFR8_A, Safe, 4, 12>
pub fn afr11(
&mut self
) -> FieldWriterRaw<'_, u32, AFRH_SPEC, u8, AFR8_A, Safe, 4, 12>
Bits 12:15 - 3:0]: Alternate function selection for port x pin y (y = 8..15) These bits are written by software to configure alternate function I/Os
sourcepub fn afr12(
&mut self
) -> FieldWriterRaw<'_, u32, AFRH_SPEC, u8, AFR8_A, Safe, 4, 16>
pub fn afr12(
&mut self
) -> FieldWriterRaw<'_, u32, AFRH_SPEC, u8, AFR8_A, Safe, 4, 16>
Bits 16:19 - 3:0]: Alternate function selection for port x pin y (y = 8..15) These bits are written by software to configure alternate function I/Os
sourcepub fn afr13(
&mut self
) -> FieldWriterRaw<'_, u32, AFRH_SPEC, u8, AFR8_A, Safe, 4, 20>
pub fn afr13(
&mut self
) -> FieldWriterRaw<'_, u32, AFRH_SPEC, u8, AFR8_A, Safe, 4, 20>
Bits 20:23 - 3:0]: Alternate function selection for port x pin y (y = 8..15) These bits are written by software to configure alternate function I/Os
sourcepub fn afr14(
&mut self
) -> FieldWriterRaw<'_, u32, AFRH_SPEC, u8, AFR8_A, Safe, 4, 24>
pub fn afr14(
&mut self
) -> FieldWriterRaw<'_, u32, AFRH_SPEC, u8, AFR8_A, Safe, 4, 24>
Bits 24:27 - 3:0]: Alternate function selection for port x pin y (y = 8..15) These bits are written by software to configure alternate function I/Os
Methods from Deref<Target = W<AFRH_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.