nrf5340_app_pac/ctrlap_ns/
approtect.rs

1#[doc = r"Register block"]
2#[repr(C)]
3pub struct APPROTECT {
4    #[doc = "0x00 - This register locks the APPROTECT.DISABLE register from being written to until next reset."]
5    pub lock: LOCK,
6    #[doc = "0x04 - This register disables the APPROTECT register and enables debug access to non-secure mode."]
7    pub disable: DISABLE,
8}
9#[doc = "LOCK (rw) register accessor: an alias for `Reg<LOCK_SPEC>`"]
10pub type LOCK = crate::Reg<lock::LOCK_SPEC>;
11#[doc = "This register locks the APPROTECT.DISABLE register from being written to until next reset."]
12pub mod lock;
13#[doc = "DISABLE (rw) register accessor: an alias for `Reg<DISABLE_SPEC>`"]
14pub type DISABLE = crate::Reg<disable::DISABLE_SPEC>;
15#[doc = "This register disables the APPROTECT register and enables debug access to non-secure mode."]
16pub mod disable;