nrf5340_app_pac/
kmu_ns.rs1#[doc = r"Register block"]
2#[repr(C)]
3pub struct RegisterBlock {
4 #[doc = "0x00 - Push a key slot over secure APB"]
5 pub tasks_push_keyslot: TASKS_PUSH_KEYSLOT,
6 _reserved1: [u8; 0xfc],
7 #[doc = "0x100 - Key slot successfully pushed over secure APB"]
8 pub events_keyslot_pushed: EVENTS_KEYSLOT_PUSHED,
9 #[doc = "0x104 - Key slot has been revoked and cannot be tasked for selection"]
10 pub events_keyslot_revoked: EVENTS_KEYSLOT_REVOKED,
11 #[doc = "0x108 - No key slot selected, no destination address defined, or error during push operation"]
12 pub events_keyslot_error: EVENTS_KEYSLOT_ERROR,
13 _reserved4: [u8; 0x01f4],
14 #[doc = "0x300 - Enable or disable interrupt"]
15 pub inten: INTEN,
16 #[doc = "0x304 - Enable interrupt"]
17 pub intenset: INTENSET,
18 #[doc = "0x308 - Disable interrupt"]
19 pub intenclr: INTENCLR,
20 #[doc = "0x30c - Pending interrupts"]
21 pub intpend: INTPEND,
22 _reserved8: [u8; 0xfc],
23 #[doc = "0x40c - Status bits for KMU operation"]
24 pub status: STATUS,
25 _reserved9: [u8; 0xf0],
26 #[doc = "0x500 - Select key slot to be read over AHB or pushed over secure APB when TASKS_PUSH_KEYSLOT is started"]
27 pub selectkeyslot: SELECTKEYSLOT,
28}
29#[doc = "TASKS_PUSH_KEYSLOT (w) register accessor: an alias for `Reg<TASKS_PUSH_KEYSLOT_SPEC>`"]
30pub type TASKS_PUSH_KEYSLOT = crate::Reg<tasks_push_keyslot::TASKS_PUSH_KEYSLOT_SPEC>;
31#[doc = "Push a key slot over secure APB"]
32pub mod tasks_push_keyslot;
33#[doc = "EVENTS_KEYSLOT_PUSHED (rw) register accessor: an alias for `Reg<EVENTS_KEYSLOT_PUSHED_SPEC>`"]
34pub type EVENTS_KEYSLOT_PUSHED = crate::Reg<events_keyslot_pushed::EVENTS_KEYSLOT_PUSHED_SPEC>;
35#[doc = "Key slot successfully pushed over secure APB"]
36pub mod events_keyslot_pushed;
37#[doc = "EVENTS_KEYSLOT_REVOKED (rw) register accessor: an alias for `Reg<EVENTS_KEYSLOT_REVOKED_SPEC>`"]
38pub type EVENTS_KEYSLOT_REVOKED = crate::Reg<events_keyslot_revoked::EVENTS_KEYSLOT_REVOKED_SPEC>;
39#[doc = "Key slot has been revoked and cannot be tasked for selection"]
40pub mod events_keyslot_revoked;
41#[doc = "EVENTS_KEYSLOT_ERROR (rw) register accessor: an alias for `Reg<EVENTS_KEYSLOT_ERROR_SPEC>`"]
42pub type EVENTS_KEYSLOT_ERROR = crate::Reg<events_keyslot_error::EVENTS_KEYSLOT_ERROR_SPEC>;
43#[doc = "No key slot selected, no destination address defined, or error during push operation"]
44pub mod events_keyslot_error;
45#[doc = "INTEN (rw) register accessor: an alias for `Reg<INTEN_SPEC>`"]
46pub type INTEN = crate::Reg<inten::INTEN_SPEC>;
47#[doc = "Enable or disable interrupt"]
48pub mod inten;
49#[doc = "INTENSET (rw) register accessor: an alias for `Reg<INTENSET_SPEC>`"]
50pub type INTENSET = crate::Reg<intenset::INTENSET_SPEC>;
51#[doc = "Enable interrupt"]
52pub mod intenset;
53#[doc = "INTENCLR (rw) register accessor: an alias for `Reg<INTENCLR_SPEC>`"]
54pub type INTENCLR = crate::Reg<intenclr::INTENCLR_SPEC>;
55#[doc = "Disable interrupt"]
56pub mod intenclr;
57#[doc = "INTPEND (r) register accessor: an alias for `Reg<INTPEND_SPEC>`"]
58pub type INTPEND = crate::Reg<intpend::INTPEND_SPEC>;
59#[doc = "Pending interrupts"]
60pub mod intpend;
61#[doc = "STATUS (r) register accessor: an alias for `Reg<STATUS_SPEC>`"]
62pub type STATUS = crate::Reg<status::STATUS_SPEC>;
63#[doc = "Status bits for KMU operation"]
64pub mod status;
65#[doc = "SELECTKEYSLOT (rw) register accessor: an alias for `Reg<SELECTKEYSLOT_SPEC>`"]
66pub type SELECTKEYSLOT = crate::Reg<selectkeyslot::SELECTKEYSLOT_SPEC>;
67#[doc = "Select key slot to be read over AHB or pushed over secure APB when TASKS_PUSH_KEYSLOT is started"]
68pub mod selectkeyslot;