Struct stm32wlxx_hal::pac::gpioh::afrh::W
pub struct W(/* private fields */);
Available on crate feature
stm32wl5x_cm4
only.Expand description
Register AFRH
writer
Implementations§
§impl W
impl W
pub fn afrh15(
&mut self
) -> FieldWriterRaw<'_, u32, AFRH_SPEC, u8, AFRH8_A, Safe, 4, 28>
pub fn afrh15( &mut self ) -> FieldWriterRaw<'_, u32, AFRH_SPEC, u8, AFRH8_A, Safe, 4, 28>
Bits 28:31 - Alternate function selection for port x bit y (y = 8..15)
pub fn afrh14(
&mut self
) -> FieldWriterRaw<'_, u32, AFRH_SPEC, u8, AFRH8_A, Safe, 4, 24>
pub fn afrh14( &mut self ) -> FieldWriterRaw<'_, u32, AFRH_SPEC, u8, AFRH8_A, Safe, 4, 24>
Bits 24:27 - Alternate function selection for port x bit y (y = 8..15)
pub fn afrh13(
&mut self
) -> FieldWriterRaw<'_, u32, AFRH_SPEC, u8, AFRH8_A, Safe, 4, 20>
pub fn afrh13( &mut self ) -> FieldWriterRaw<'_, u32, AFRH_SPEC, u8, AFRH8_A, Safe, 4, 20>
Bits 20:23 - Alternate function selection for port x bit y (y = 8..15)
pub fn afrh12(
&mut self
) -> FieldWriterRaw<'_, u32, AFRH_SPEC, u8, AFRH8_A, Safe, 4, 16>
pub fn afrh12( &mut self ) -> FieldWriterRaw<'_, u32, AFRH_SPEC, u8, AFRH8_A, Safe, 4, 16>
Bits 16:19 - Alternate function selection for port x bit y (y = 8..15)
pub fn afrh11(
&mut self
) -> FieldWriterRaw<'_, u32, AFRH_SPEC, u8, AFRH8_A, Safe, 4, 12>
pub fn afrh11( &mut self ) -> FieldWriterRaw<'_, u32, AFRH_SPEC, u8, AFRH8_A, Safe, 4, 12>
Bits 12:15 - Alternate function selection for port x bit y (y = 8..15)
pub fn afrh10(
&mut self
) -> FieldWriterRaw<'_, u32, AFRH_SPEC, u8, AFRH8_A, Safe, 4, 8>
pub fn afrh10( &mut self ) -> FieldWriterRaw<'_, u32, AFRH_SPEC, u8, AFRH8_A, Safe, 4, 8>
Bits 8:11 - Alternate function selection for port x bit y (y = 8..15)
pub fn afrh9(
&mut self
) -> FieldWriterRaw<'_, u32, AFRH_SPEC, u8, AFRH8_A, Safe, 4, 4>
pub fn afrh9( &mut self ) -> FieldWriterRaw<'_, u32, AFRH_SPEC, u8, AFRH8_A, Safe, 4, 4>
Bits 4:7 - Alternate function selection for port x bit y (y = 8..15)
Methods from Deref<Target = W<AFRH_SPEC>>§
pub 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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more