nrf52832_pac/
bprot.rs

1#[doc = r"Register block"]
2#[repr(C)]
3pub struct RegisterBlock {
4    _reserved0: [u8; 0x0600],
5    #[doc = "0x600 - Block protect configuration register 0"]
6    pub config0: CONFIG0,
7    #[doc = "0x604 - Block protect configuration register 1"]
8    pub config1: CONFIG1,
9    #[doc = "0x608 - Disable protection mechanism in debug interface mode"]
10    pub disableindebug: DISABLEINDEBUG,
11    #[doc = "0x60c - Unspecified"]
12    pub unused0: UNUSED0,
13    #[doc = "0x610 - Block protect configuration register 2"]
14    pub config2: CONFIG2,
15    #[doc = "0x614 - Block protect configuration register 3"]
16    pub config3: CONFIG3,
17}
18#[doc = "CONFIG0 (rw) register accessor: an alias for `Reg<CONFIG0_SPEC>`"]
19pub type CONFIG0 = crate::Reg<config0::CONFIG0_SPEC>;
20#[doc = "Block protect configuration register 0"]
21pub mod config0;
22#[doc = "CONFIG1 (rw) register accessor: an alias for `Reg<CONFIG1_SPEC>`"]
23pub type CONFIG1 = crate::Reg<config1::CONFIG1_SPEC>;
24#[doc = "Block protect configuration register 1"]
25pub mod config1;
26#[doc = "DISABLEINDEBUG (rw) register accessor: an alias for `Reg<DISABLEINDEBUG_SPEC>`"]
27pub type DISABLEINDEBUG = crate::Reg<disableindebug::DISABLEINDEBUG_SPEC>;
28#[doc = "Disable protection mechanism in debug interface mode"]
29pub mod disableindebug;
30#[doc = "UNUSED0 (rw) register accessor: an alias for `Reg<UNUSED0_SPEC>`"]
31pub type UNUSED0 = crate::Reg<unused0::UNUSED0_SPEC>;
32#[doc = "Unspecified"]
33pub mod unused0;
34#[doc = "CONFIG2 (rw) register accessor: an alias for `Reg<CONFIG2_SPEC>`"]
35pub type CONFIG2 = crate::Reg<config2::CONFIG2_SPEC>;
36#[doc = "Block protect configuration register 2"]
37pub mod config2;
38#[doc = "CONFIG3 (rw) register accessor: an alias for `Reg<CONFIG3_SPEC>`"]
39pub type CONFIG3 = crate::Reg<config3::CONFIG3_SPEC>;
40#[doc = "Block protect configuration register 3"]
41pub mod config3;