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