pub struct W(/* private fields */);
Expand description
Register AFRL
writer
Implementations§
Source§impl W
impl W
Sourcepub fn afsel7(&mut self) -> AFSEL7_W<'_>
pub fn afsel7(&mut self) -> AFSEL7_W<'_>
Bits 28:31 - Alternate function selection for port x bit y (y = 0..7)
Sourcepub fn afsel6(&mut self) -> AFSEL6_W<'_>
pub fn afsel6(&mut self) -> AFSEL6_W<'_>
Bits 24:27 - Alternate function selection for port x bit y (y = 0..7)
Sourcepub fn afsel5(&mut self) -> AFSEL5_W<'_>
pub fn afsel5(&mut self) -> AFSEL5_W<'_>
Bits 20:23 - Alternate function selection for port x bit y (y = 0..7)
Sourcepub fn afsel4(&mut self) -> AFSEL4_W<'_>
pub fn afsel4(&mut self) -> AFSEL4_W<'_>
Bits 16:19 - Alternate function selection for port x bit y (y = 0..7)
Sourcepub fn afsel3(&mut self) -> AFSEL3_W<'_>
pub fn afsel3(&mut self) -> AFSEL3_W<'_>
Bits 12:15 - Alternate function selection for port x bit y (y = 0..7)
Sourcepub fn afsel2(&mut self) -> AFSEL2_W<'_>
pub fn afsel2(&mut self) -> AFSEL2_W<'_>
Bits 8:11 - Alternate function selection for port x bit y (y = 0..7)
Sourcepub fn afsel1(&mut self) -> AFSEL1_W<'_>
pub fn afsel1(&mut self) -> AFSEL1_W<'_>
Bits 4:7 - Alternate function selection for port x bit 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§
impl Freeze for W
impl RefUnwindSafe for W
impl Send for W
impl Sync for W
impl Unpin for W
impl UnwindSafe for W
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