#[repr(transparent)]pub struct Dirset(pub u32);Expand description
Set pin direction bits for port
Tuple Fields§
§0: u32Implementations§
Source§impl Dirset
impl Dirset
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 Dirset
impl Eq for Dirset
impl StructuralPartialEq for Dirset
Auto Trait Implementations§
impl Freeze for Dirset
impl RefUnwindSafe for Dirset
impl Send for Dirset
impl Sync for Dirset
impl Unpin for Dirset
impl UnwindSafe for Dirset
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