pub struct Uicr<'a> { /* private fields */ }Implementations§
Source§impl<'a> Uicr<'a>
impl<'a> Uicr<'a>
pub const fn new( registers: StaticRef<UicrRegisters>, ficr: &'a Ficr, ) -> Uicr<'a>
pub fn set_psel0_reset_pin(&self, pin: Pin)
pub fn get_psel0_reset_pin(&self) -> Option<Pin>
pub fn set_psel1_reset_pin(&self, pin: Pin)
pub fn get_psel1_reset_pin(&self) -> Option<Pin>
pub fn set_vout(&self, vout: Regulator0Output)
pub fn get_vout(&self) -> Regulator0Output
pub fn set_nfc_pins_protection(&self, protected: bool)
pub fn is_nfc_pins_protection_enabled(&self) -> bool
pub fn is_ap_protect_enabled(&self) -> bool
pub fn set_ap_protect(&self)
Sourcepub fn disable_ap_protect(&self)
pub fn disable_ap_protect(&self)
Disable the access port protection in the UICR register. This is stored
in flash and is persistent. This behavior can also be accomplished
outside of tock by running nrfjprog --recover.
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for Uicr<'a>
impl<'a> !Send for Uicr<'a>
impl<'a> !Sync for Uicr<'a>
impl<'a> !UnwindSafe for Uicr<'a>
impl<'a> Freeze for Uicr<'a>
impl<'a> Unpin for Uicr<'a>
impl<'a> UnsafeUnpin for Uicr<'a>
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