pub struct Approtect { /* private fields */ }
Implementations§
Source§impl Approtect
impl Approtect
pub const fn new() -> Approtect
Sourcepub fn sw_disable_approtect(&self)
pub fn sw_disable_approtect(&self)
Software disable the Access Port Protection mechanism.
On newer variants of the nRF52, to enable JTAG, APPROTECT must be disabled both in the UICR register (hardware) and in this register (software). For older variants this is just a no-op.
Auto Trait Implementations§
impl Freeze for Approtect
impl !RefUnwindSafe for Approtect
impl !Send for Approtect
impl !Sync 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