#[repr(transparent)]pub struct PinCnf(pub u32);
Expand description
Description collection: Configuration of GPIO pins
Tuple Fields§
§0: u32
Implementations§
Source§impl PinCnf
impl PinCnf
Sourcepub const fn set_dir(&mut self, val: Dir)
pub const fn set_dir(&mut self, val: Dir)
Pin direction. Same physical register as DIR register
Sourcepub const fn mcusel(&self) -> Mcusel
pub const fn mcusel(&self) -> Mcusel
Select which MCU/Subsystem controls this pin Note: this field is only accessible from secure code.
Sourcepub const fn set_mcusel(&mut self, val: Mcusel)
pub const fn set_mcusel(&mut self, val: Mcusel)
Select which MCU/Subsystem controls this pin Note: this field is only accessible from secure code.
Trait Implementations§
impl Copy for PinCnf
impl Eq for PinCnf
impl StructuralPartialEq for PinCnf
Auto Trait Implementations§
impl Freeze for PinCnf
impl RefUnwindSafe for PinCnf
impl Send for PinCnf
impl Sync for PinCnf
impl Unpin for PinCnf
impl UnwindSafe for PinCnf
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)