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