1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
#[doc = r" Register block"]
#[repr(C)]
pub struct RegisterBlock {
#[doc = "0x00 - Push a key slot over secure APB"]
pub tasks_push_keyslot: TASKS_PUSH_KEYSLOT,
_reserved0: [u8; 252usize],
#[doc = "0x100 - Key successfully pushed over secure APB"]
pub events_keyslot_pushed: EVENTS_KEYSLOT_PUSHED,
#[doc = "0x104 - Key has been revoked and cannot be tasked for selection"]
pub events_keyslot_revoked: EVENTS_KEYSLOT_REVOKED,
#[doc = "0x108 - No key slot selected, no destination address defined, or error during push operation"]
pub events_keyslot_error: EVENTS_KEYSLOT_ERROR,
_reserved1: [u8; 500usize],
#[doc = "0x300 - Enable or disable interrupt"]
pub inten: INTEN,
#[doc = "0x304 - Enable interrupt"]
pub intenset: INTENSET,
#[doc = "0x308 - Disable interrupt"]
pub intenclr: INTENCLR,
#[doc = "0x30c - Pending interrupts"]
pub intpend: INTPEND,
_reserved2: [u8; 252usize],
#[doc = "0x40c - Status bits for KMU operation"]
pub status: STATUS,
_reserved3: [u8; 240usize],
#[doc = "0x500 - Select key slot ID to be read over AHB or pushed over secure APB when TASKS_PUSH_KEYSLOT is started"]
pub selectkeyslot: SELECTKEYSLOT,
}
#[doc = "Push a key slot over secure APB"]
pub struct TASKS_PUSH_KEYSLOT {
register: ::vcell::VolatileCell<u32>,
}
#[doc = "Push a key slot over secure APB"]
pub mod tasks_push_keyslot;
#[doc = "Key successfully pushed over secure APB"]
pub struct EVENTS_KEYSLOT_PUSHED {
register: ::vcell::VolatileCell<u32>,
}
#[doc = "Key successfully pushed over secure APB"]
pub mod events_keyslot_pushed;
#[doc = "Key has been revoked and cannot be tasked for selection"]
pub struct EVENTS_KEYSLOT_REVOKED {
register: ::vcell::VolatileCell<u32>,
}
#[doc = "Key has been revoked and cannot be tasked for selection"]
pub mod events_keyslot_revoked;
#[doc = "No key slot selected, no destination address defined, or error during push operation"]
pub struct EVENTS_KEYSLOT_ERROR {
register: ::vcell::VolatileCell<u32>,
}
#[doc = "No key slot selected, no destination address defined, or error during push operation"]
pub mod events_keyslot_error;
#[doc = "Enable or disable interrupt"]
pub struct INTEN {
register: ::vcell::VolatileCell<u32>,
}
#[doc = "Enable or disable interrupt"]
pub mod inten;
#[doc = "Enable interrupt"]
pub struct INTENSET {
register: ::vcell::VolatileCell<u32>,
}
#[doc = "Enable interrupt"]
pub mod intenset;
#[doc = "Disable interrupt"]
pub struct INTENCLR {
register: ::vcell::VolatileCell<u32>,
}
#[doc = "Disable interrupt"]
pub mod intenclr;
#[doc = "Pending interrupts"]
pub struct INTPEND {
register: ::vcell::VolatileCell<u32>,
}
#[doc = "Pending interrupts"]
pub mod intpend;
#[doc = "Status bits for KMU operation"]
pub struct STATUS {
register: ::vcell::VolatileCell<u32>,
}
#[doc = "Status bits for KMU operation"]
pub mod status;
#[doc = "Select key slot ID to be read over AHB or pushed over secure APB when TASKS_PUSH_KEYSLOT is started"]
pub struct SELECTKEYSLOT {
register: ::vcell::VolatileCell<u32>,
}
#[doc = "Select key slot ID to be read over AHB or pushed over secure APB when TASKS_PUSH_KEYSLOT is started"]
pub mod selectkeyslot;