pub struct Approtect { /* private fields */ }
Expand description
Access Port Protection Registers
Implementations§
Source§impl Approtect
impl Approtect
pub const unsafe fn from_ptr(ptr: *mut ()) -> Self
pub const fn as_ptr(&self) -> *mut ()
Sourcepub const fn protect0(self) -> Reg<ApprotectProtect0, RW>
pub const fn protect0(self) -> Reg<ApprotectProtect0, RW>
Description cluster: Access port protection
Sourcepub const fn protect1(self) -> Reg<ApprotectProtect1, RW>
pub const fn protect1(self) -> Reg<ApprotectProtect1, RW>
Description cluster: Access port protection
Trait Implementations§
impl Copy for Approtect
impl Eq for Approtect
impl Send for Approtect
impl StructuralPartialEq for Approtect
impl Sync for Approtect
Auto Trait Implementations§
impl Freeze for Approtect
impl RefUnwindSafe for Approtect
impl Unpin for Approtect
impl UnwindSafe for Approtect
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
)