#[repr(transparent)]pub struct Dirset0(pub u32);Expand description
Set pin direction bits for port
Tuple Fields§
§0: u32Implementations§
Source§impl Dirset0
impl Dirset0
Sourcepub const fn dirsetp(&self) -> u32
pub const fn dirsetp(&self) -> u32
Set direction bits (bit 0 = PIOn_0, bit 1 = PIOn_1, etc.). Supported pins depends on the specific device and package. 0 = No operation. 1 = Set direction bit.
Sourcepub const fn set_dirsetp(&mut self, val: u32)
pub const fn set_dirsetp(&mut self, val: u32)
Set direction bits (bit 0 = PIOn_0, bit 1 = PIOn_1, etc.). Supported pins depends on the specific device and package. 0 = No operation. 1 = Set direction bit.
Trait Implementations§
impl Copy for Dirset0
impl Eq for Dirset0
impl StructuralPartialEq for Dirset0
Auto Trait Implementations§
impl Freeze for Dirset0
impl RefUnwindSafe for Dirset0
impl Send for Dirset0
impl Sync for Dirset0
impl Unpin for Dirset0
impl UnwindSafe for Dirset0
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