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