pub struct W(/* private fields */);
Expand description
Register PORTB
writer
Implementations§
source§impl W
impl W
sourcepub fn pb0(&mut self) -> BitWriterRaw<'_, u8, PORTB_SPEC, bool, BitM, 0>
pub fn pb0(&mut self) -> BitWriterRaw<'_, u8, PORTB_SPEC, bool, BitM, 0>
Bit 0 - Pin B0
sourcepub fn pb1(&mut self) -> BitWriterRaw<'_, u8, PORTB_SPEC, bool, BitM, 1>
pub fn pb1(&mut self) -> BitWriterRaw<'_, u8, PORTB_SPEC, bool, BitM, 1>
Bit 1 - Pin B1
sourcepub fn pb2(&mut self) -> BitWriterRaw<'_, u8, PORTB_SPEC, bool, BitM, 2>
pub fn pb2(&mut self) -> BitWriterRaw<'_, u8, PORTB_SPEC, bool, BitM, 2>
Bit 2 - Pin B2
sourcepub fn pb3(&mut self) -> BitWriterRaw<'_, u8, PORTB_SPEC, bool, BitM, 3>
pub fn pb3(&mut self) -> BitWriterRaw<'_, u8, PORTB_SPEC, bool, BitM, 3>
Bit 3 - Pin B3
sourcepub fn pb4(&mut self) -> BitWriterRaw<'_, u8, PORTB_SPEC, bool, BitM, 4>
pub fn pb4(&mut self) -> BitWriterRaw<'_, u8, PORTB_SPEC, bool, BitM, 4>
Bit 4 - Pin B4
sourcepub fn pb5(&mut self) -> BitWriterRaw<'_, u8, PORTB_SPEC, bool, BitM, 5>
pub fn pb5(&mut self) -> BitWriterRaw<'_, u8, PORTB_SPEC, bool, BitM, 5>
Bit 5 - Pin B5
Methods from Deref<Target = W<PORTB_SPEC>>§
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