nrf5340_net_pac/
nvmc_ns.rs

1#[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; 0x20],
20    #[doc = "0x540 - I-code cache configuration register"]
21    pub icachecnf: ICACHECNF,
22    _reserved6: [u8; 0x04],
23    #[doc = "0x548 - I-code cache hit counter"]
24    pub ihit: IHIT,
25    #[doc = "0x54c - I-code cache miss counter"]
26    pub imiss: IMISS,
27}
28#[doc = "READY (r) register accessor: an alias for `Reg<READY_SPEC>`"]
29pub type READY = crate::Reg<ready::READY_SPEC>;
30#[doc = "Ready flag"]
31pub mod ready;
32#[doc = "READYNEXT (r) register accessor: an alias for `Reg<READYNEXT_SPEC>`"]
33pub type READYNEXT = crate::Reg<readynext::READYNEXT_SPEC>;
34#[doc = "Ready flag"]
35pub mod readynext;
36#[doc = "CONFIG (rw) register accessor: an alias for `Reg<CONFIG_SPEC>`"]
37pub type CONFIG = crate::Reg<config::CONFIG_SPEC>;
38#[doc = "Configuration register"]
39pub mod config;
40#[doc = "ERASEALL (w) register accessor: an alias for `Reg<ERASEALL_SPEC>`"]
41pub type ERASEALL = crate::Reg<eraseall::ERASEALL_SPEC>;
42#[doc = "Register for erasing all non-volatile user memory"]
43pub mod eraseall;
44#[doc = "ERASEPAGEPARTIALCFG (rw) register accessor: an alias for `Reg<ERASEPAGEPARTIALCFG_SPEC>`"]
45pub type ERASEPAGEPARTIALCFG = crate::Reg<erasepagepartialcfg::ERASEPAGEPARTIALCFG_SPEC>;
46#[doc = "Register for partial erase configuration"]
47pub mod erasepagepartialcfg;
48#[doc = "ICACHECNF (rw) register accessor: an alias for `Reg<ICACHECNF_SPEC>`"]
49pub type ICACHECNF = crate::Reg<icachecnf::ICACHECNF_SPEC>;
50#[doc = "I-code cache configuration register"]
51pub mod icachecnf;
52#[doc = "IHIT (rw) register accessor: an alias for `Reg<IHIT_SPEC>`"]
53pub type IHIT = crate::Reg<ihit::IHIT_SPEC>;
54#[doc = "I-code cache hit counter"]
55pub mod ihit;
56#[doc = "IMISS (rw) register accessor: an alias for `Reg<IMISS_SPEC>`"]
57pub type IMISS = crate::Reg<imiss::IMISS_SPEC>;
58#[doc = "I-code cache miss counter"]
59pub mod imiss;