nrf5340_app_pac/
nvmc_ns.rs1#[doc = r"Register block"]
2#[repr(C)]
3pub struct RegisterBlock {
4 _reserved0: [u8; 0x0400],
5 #[doc = "0x400 - Ready flag"]
6 pub ready: READY,
7 _reserved1: [u8; 0x04],
8 #[doc = "0x408 - Ready flag"]
9 pub readynext: READYNEXT,
10 _reserved2: [u8; 0xf8],
11 #[doc = "0x504 - Configuration register"]
12 pub config: CONFIG,
13 _reserved3: [u8; 0x04],
14 #[doc = "0x50c - Register for erasing all non-volatile user memory"]
15 pub eraseall: ERASEALL,
16 _reserved4: [u8; 0x0c],
17 #[doc = "0x51c - Register for partial erase configuration"]
18 pub erasepagepartialcfg: ERASEPAGEPARTIALCFG,
19 _reserved5: [u8; 0x64],
20 #[doc = "0x584 - Non-secure configuration register"]
21 pub configns: CONFIGNS,
22 #[doc = "0x588 - Non-secure APPROTECT enable register"]
23 pub writeuicrns: WRITEUICRNS,
24}
25#[doc = "READY (r) register accessor: an alias for `Reg<READY_SPEC>`"]
26pub type READY = crate::Reg<ready::READY_SPEC>;
27#[doc = "Ready flag"]
28pub mod ready;
29#[doc = "READYNEXT (r) register accessor: an alias for `Reg<READYNEXT_SPEC>`"]
30pub type READYNEXT = crate::Reg<readynext::READYNEXT_SPEC>;
31#[doc = "Ready flag"]
32pub mod readynext;
33#[doc = "CONFIG (rw) register accessor: an alias for `Reg<CONFIG_SPEC>`"]
34pub type CONFIG = crate::Reg<config::CONFIG_SPEC>;
35#[doc = "Configuration register"]
36pub mod config;
37#[doc = "ERASEALL (w) register accessor: an alias for `Reg<ERASEALL_SPEC>`"]
38pub type ERASEALL = crate::Reg<eraseall::ERASEALL_SPEC>;
39#[doc = "Register for erasing all non-volatile user memory"]
40pub mod eraseall;
41#[doc = "ERASEPAGEPARTIALCFG (rw) register accessor: an alias for `Reg<ERASEPAGEPARTIALCFG_SPEC>`"]
42pub type ERASEPAGEPARTIALCFG = crate::Reg<erasepagepartialcfg::ERASEPAGEPARTIALCFG_SPEC>;
43#[doc = "Register for partial erase configuration"]
44pub mod erasepagepartialcfg;
45#[doc = "CONFIGNS (rw) register accessor: an alias for `Reg<CONFIGNS_SPEC>`"]
46pub type CONFIGNS = crate::Reg<configns::CONFIGNS_SPEC>;
47#[doc = "Non-secure configuration register"]
48pub mod configns;
49#[doc = "WRITEUICRNS (w) register accessor: an alias for `Reg<WRITEUICRNS_SPEC>`"]
50pub type WRITEUICRNS = crate::Reg<writeuicrns::WRITEUICRNS_SPEC>;
51#[doc = "Non-secure APPROTECT enable register"]
52pub mod writeuicrns;