pub struct Gpioport { /* private fields */ }
Expand description
Unspecified
Implementations§
Source§impl Gpioport
impl Gpioport
pub const unsafe fn from_ptr(ptr: *mut ()) -> Self
pub const fn as_ptr(&self) -> *mut ()
Sourcepub const fn perm(self) -> Reg<GpioportPerm, RW>
pub const fn perm(self) -> Reg<GpioportPerm, RW>
Description cluster: Select between secure and non-secure attribute for pins 0 to 31 of port n
Sourcepub const fn lock(self) -> Reg<GpioportLock, RW>
pub const fn lock(self) -> Reg<GpioportLock, RW>
Description cluster: Prevent further modification of the corresponding PERM register
Trait Implementations§
impl Copy for Gpioport
impl Eq for Gpioport
impl Send for Gpioport
impl StructuralPartialEq for Gpioport
impl Sync for Gpioport
Auto Trait Implementations§
impl Freeze for Gpioport
impl RefUnwindSafe for Gpioport
impl Unpin for Gpioport
impl UnwindSafe for Gpioport
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
)