nrf5340_net_pac/
aar_ns.rs

1#[doc = r"Register block"]
2#[repr(C)]
3pub struct RegisterBlock {
4    #[doc = "0x00 - Start resolving addresses based on IRKs specified in the IRK data structure"]
5    pub tasks_start: TASKS_START,
6    _reserved1: [u8; 0x04],
7    #[doc = "0x08 - Stop resolving addresses"]
8    pub tasks_stop: TASKS_STOP,
9    _reserved2: [u8; 0x74],
10    #[doc = "0x80 - Subscribe configuration for task START"]
11    pub subscribe_start: SUBSCRIBE_START,
12    _reserved3: [u8; 0x04],
13    #[doc = "0x88 - Subscribe configuration for task STOP"]
14    pub subscribe_stop: SUBSCRIBE_STOP,
15    _reserved4: [u8; 0x74],
16    #[doc = "0x100 - Address resolution procedure complete"]
17    pub events_end: EVENTS_END,
18    #[doc = "0x104 - Address resolved"]
19    pub events_resolved: EVENTS_RESOLVED,
20    #[doc = "0x108 - Address not resolved"]
21    pub events_notresolved: EVENTS_NOTRESOLVED,
22    _reserved7: [u8; 0x74],
23    #[doc = "0x180 - Publish configuration for event END"]
24    pub publish_end: PUBLISH_END,
25    #[doc = "0x184 - Publish configuration for event RESOLVED"]
26    pub publish_resolved: PUBLISH_RESOLVED,
27    #[doc = "0x188 - Publish configuration for event NOTRESOLVED"]
28    pub publish_notresolved: PUBLISH_NOTRESOLVED,
29    _reserved10: [u8; 0x0178],
30    #[doc = "0x304 - Enable interrupt"]
31    pub intenset: INTENSET,
32    #[doc = "0x308 - Disable interrupt"]
33    pub intenclr: INTENCLR,
34    _reserved12: [u8; 0xf4],
35    #[doc = "0x400 - Resolution status"]
36    pub status: STATUS,
37    _reserved13: [u8; 0xfc],
38    #[doc = "0x500 - Enable AAR"]
39    pub enable: ENABLE,
40    #[doc = "0x504 - Number of IRKs"]
41    pub nirk: NIRK,
42    #[doc = "0x508 - Pointer to IRK data structure"]
43    pub irkptr: IRKPTR,
44    _reserved16: [u8; 0x04],
45    #[doc = "0x510 - Pointer to the resolvable address"]
46    pub addrptr: ADDRPTR,
47    #[doc = "0x514 - Pointer to data area used for temporary storage"]
48    pub scratchptr: SCRATCHPTR,
49}
50#[doc = "TASKS_START (w) register accessor: an alias for `Reg<TASKS_START_SPEC>`"]
51pub type TASKS_START = crate::Reg<tasks_start::TASKS_START_SPEC>;
52#[doc = "Start resolving addresses based on IRKs specified in the IRK data structure"]
53pub mod tasks_start;
54#[doc = "TASKS_STOP (w) register accessor: an alias for `Reg<TASKS_STOP_SPEC>`"]
55pub type TASKS_STOP = crate::Reg<tasks_stop::TASKS_STOP_SPEC>;
56#[doc = "Stop resolving addresses"]
57pub mod tasks_stop;
58#[doc = "SUBSCRIBE_START (rw) register accessor: an alias for `Reg<SUBSCRIBE_START_SPEC>`"]
59pub type SUBSCRIBE_START = crate::Reg<subscribe_start::SUBSCRIBE_START_SPEC>;
60#[doc = "Subscribe configuration for task START"]
61pub mod subscribe_start;
62#[doc = "SUBSCRIBE_STOP (rw) register accessor: an alias for `Reg<SUBSCRIBE_STOP_SPEC>`"]
63pub type SUBSCRIBE_STOP = crate::Reg<subscribe_stop::SUBSCRIBE_STOP_SPEC>;
64#[doc = "Subscribe configuration for task STOP"]
65pub mod subscribe_stop;
66#[doc = "EVENTS_END (rw) register accessor: an alias for `Reg<EVENTS_END_SPEC>`"]
67pub type EVENTS_END = crate::Reg<events_end::EVENTS_END_SPEC>;
68#[doc = "Address resolution procedure complete"]
69pub mod events_end;
70#[doc = "EVENTS_RESOLVED (rw) register accessor: an alias for `Reg<EVENTS_RESOLVED_SPEC>`"]
71pub type EVENTS_RESOLVED = crate::Reg<events_resolved::EVENTS_RESOLVED_SPEC>;
72#[doc = "Address resolved"]
73pub mod events_resolved;
74#[doc = "EVENTS_NOTRESOLVED (rw) register accessor: an alias for `Reg<EVENTS_NOTRESOLVED_SPEC>`"]
75pub type EVENTS_NOTRESOLVED = crate::Reg<events_notresolved::EVENTS_NOTRESOLVED_SPEC>;
76#[doc = "Address not resolved"]
77pub mod events_notresolved;
78#[doc = "PUBLISH_END (rw) register accessor: an alias for `Reg<PUBLISH_END_SPEC>`"]
79pub type PUBLISH_END = crate::Reg<publish_end::PUBLISH_END_SPEC>;
80#[doc = "Publish configuration for event END"]
81pub mod publish_end;
82#[doc = "PUBLISH_RESOLVED (rw) register accessor: an alias for `Reg<PUBLISH_RESOLVED_SPEC>`"]
83pub type PUBLISH_RESOLVED = crate::Reg<publish_resolved::PUBLISH_RESOLVED_SPEC>;
84#[doc = "Publish configuration for event RESOLVED"]
85pub mod publish_resolved;
86#[doc = "PUBLISH_NOTRESOLVED (rw) register accessor: an alias for `Reg<PUBLISH_NOTRESOLVED_SPEC>`"]
87pub type PUBLISH_NOTRESOLVED = crate::Reg<publish_notresolved::PUBLISH_NOTRESOLVED_SPEC>;
88#[doc = "Publish configuration for event NOTRESOLVED"]
89pub mod publish_notresolved;
90#[doc = "INTENSET (rw) register accessor: an alias for `Reg<INTENSET_SPEC>`"]
91pub type INTENSET = crate::Reg<intenset::INTENSET_SPEC>;
92#[doc = "Enable interrupt"]
93pub mod intenset;
94#[doc = "INTENCLR (rw) register accessor: an alias for `Reg<INTENCLR_SPEC>`"]
95pub type INTENCLR = crate::Reg<intenclr::INTENCLR_SPEC>;
96#[doc = "Disable interrupt"]
97pub mod intenclr;
98#[doc = "STATUS (r) register accessor: an alias for `Reg<STATUS_SPEC>`"]
99pub type STATUS = crate::Reg<status::STATUS_SPEC>;
100#[doc = "Resolution status"]
101pub mod status;
102#[doc = "ENABLE (rw) register accessor: an alias for `Reg<ENABLE_SPEC>`"]
103pub type ENABLE = crate::Reg<enable::ENABLE_SPEC>;
104#[doc = "Enable AAR"]
105pub mod enable;
106#[doc = "NIRK (rw) register accessor: an alias for `Reg<NIRK_SPEC>`"]
107pub type NIRK = crate::Reg<nirk::NIRK_SPEC>;
108#[doc = "Number of IRKs"]
109pub mod nirk;
110#[doc = "IRKPTR (rw) register accessor: an alias for `Reg<IRKPTR_SPEC>`"]
111pub type IRKPTR = crate::Reg<irkptr::IRKPTR_SPEC>;
112#[doc = "Pointer to IRK data structure"]
113pub mod irkptr;
114#[doc = "ADDRPTR (rw) register accessor: an alias for `Reg<ADDRPTR_SPEC>`"]
115pub type ADDRPTR = crate::Reg<addrptr::ADDRPTR_SPEC>;
116#[doc = "Pointer to the resolvable address"]
117pub mod addrptr;
118#[doc = "SCRATCHPTR (rw) register accessor: an alias for `Reg<SCRATCHPTR_SPEC>`"]
119pub type SCRATCHPTR = crate::Reg<scratchptr::SCRATCHPTR_SPEC>;
120#[doc = "Pointer to data area used for temporary storage"]
121pub mod scratchptr;