Struct stm32wlxx_hal::pac::gpioc::afrl::W
pub struct W(/* private fields */);
Available on crate feature
stm32wl5x_cm4
only.Expand description
Register AFRL
writer
Implementations§
§impl W
impl W
pub fn afrl7(
&mut self
) -> FieldWriterRaw<'_, u32, AFRL_SPEC, u8, AFRL0_A, Safe, 4, 28>
pub fn afrl7( &mut self ) -> FieldWriterRaw<'_, u32, AFRL_SPEC, u8, AFRL0_A, Safe, 4, 28>
Bits 28:31 - Alternate function selection for port x bit y (y = 0..7)
pub fn afrl6(
&mut self
) -> FieldWriterRaw<'_, u32, AFRL_SPEC, u8, AFRL0_A, Safe, 4, 24>
pub fn afrl6( &mut self ) -> FieldWriterRaw<'_, u32, AFRL_SPEC, u8, AFRL0_A, Safe, 4, 24>
Bits 24:27 - Alternate function selection for port x bit y (y = 0..7)
pub fn afrl5(
&mut self
) -> FieldWriterRaw<'_, u32, AFRL_SPEC, u8, AFRL0_A, Safe, 4, 20>
pub fn afrl5( &mut self ) -> FieldWriterRaw<'_, u32, AFRL_SPEC, u8, AFRL0_A, Safe, 4, 20>
Bits 20:23 - Alternate function selection for port x bit y (y = 0..7)
pub fn afrl4(
&mut self
) -> FieldWriterRaw<'_, u32, AFRL_SPEC, u8, AFRL0_A, Safe, 4, 16>
pub fn afrl4( &mut self ) -> FieldWriterRaw<'_, u32, AFRL_SPEC, u8, AFRL0_A, Safe, 4, 16>
Bits 16:19 - Alternate function selection for port x bit y (y = 0..7)
pub fn afrl3(
&mut self
) -> FieldWriterRaw<'_, u32, AFRL_SPEC, u8, AFRL0_A, Safe, 4, 12>
pub fn afrl3( &mut self ) -> FieldWriterRaw<'_, u32, AFRL_SPEC, u8, AFRL0_A, Safe, 4, 12>
Bits 12:15 - Alternate function selection for port x bit y (y = 0..7)
pub fn afrl2(
&mut self
) -> FieldWriterRaw<'_, u32, AFRL_SPEC, u8, AFRL0_A, Safe, 4, 8>
pub fn afrl2( &mut self ) -> FieldWriterRaw<'_, u32, AFRL_SPEC, u8, AFRL0_A, Safe, 4, 8>
Bits 8:11 - Alternate function selection for port x bit y (y = 0..7)
pub fn afrl1(
&mut self
) -> FieldWriterRaw<'_, u32, AFRL_SPEC, u8, AFRL0_A, Safe, 4, 4>
pub fn afrl1( &mut self ) -> FieldWriterRaw<'_, u32, AFRL_SPEC, u8, AFRL0_A, Safe, 4, 4>
Bits 4:7 - Alternate function selection for port x bit y (y = 0..7)
Methods from Deref<Target = W<AFRL_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