nrf52840_pac/
aar.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; 0xf4],
10    #[doc = "0x100 - Address resolution procedure complete"]
11    pub events_end: EVENTS_END,
12    #[doc = "0x104 - Address resolved"]
13    pub events_resolved: EVENTS_RESOLVED,
14    #[doc = "0x108 - Address not resolved"]
15    pub events_notresolved: EVENTS_NOTRESOLVED,
16    _reserved5: [u8; 0x01f8],
17    #[doc = "0x304 - Enable interrupt"]
18    pub intenset: INTENSET,
19    #[doc = "0x308 - Disable interrupt"]
20    pub intenclr: INTENCLR,
21    _reserved7: [u8; 0xf4],
22    #[doc = "0x400 - Resolution status"]
23    pub status: STATUS,
24    _reserved8: [u8; 0xfc],
25    #[doc = "0x500 - Enable AAR"]
26    pub enable: ENABLE,
27    #[doc = "0x504 - Number of IRKs"]
28    pub nirk: NIRK,
29    #[doc = "0x508 - Pointer to IRK data structure"]
30    pub irkptr: IRKPTR,
31    _reserved11: [u8; 0x04],
32    #[doc = "0x510 - Pointer to the resolvable address"]
33    pub addrptr: ADDRPTR,
34    #[doc = "0x514 - Pointer to data area used for temporary storage"]
35    pub scratchptr: SCRATCHPTR,
36}
37#[doc = "TASKS_START (w) register accessor: an alias for `Reg<TASKS_START_SPEC>`"]
38pub type TASKS_START = crate::Reg<tasks_start::TASKS_START_SPEC>;
39#[doc = "Start resolving addresses based on IRKs specified in the IRK data structure"]
40pub mod tasks_start;
41#[doc = "TASKS_STOP (w) register accessor: an alias for `Reg<TASKS_STOP_SPEC>`"]
42pub type TASKS_STOP = crate::Reg<tasks_stop::TASKS_STOP_SPEC>;
43#[doc = "Stop resolving addresses"]
44pub mod tasks_stop;
45#[doc = "EVENTS_END (rw) register accessor: an alias for `Reg<EVENTS_END_SPEC>`"]
46pub type EVENTS_END = crate::Reg<events_end::EVENTS_END_SPEC>;
47#[doc = "Address resolution procedure complete"]
48pub mod events_end;
49#[doc = "EVENTS_RESOLVED (rw) register accessor: an alias for `Reg<EVENTS_RESOLVED_SPEC>`"]
50pub type EVENTS_RESOLVED = crate::Reg<events_resolved::EVENTS_RESOLVED_SPEC>;
51#[doc = "Address resolved"]
52pub mod events_resolved;
53#[doc = "EVENTS_NOTRESOLVED (rw) register accessor: an alias for `Reg<EVENTS_NOTRESOLVED_SPEC>`"]
54pub type EVENTS_NOTRESOLVED = crate::Reg<events_notresolved::EVENTS_NOTRESOLVED_SPEC>;
55#[doc = "Address not resolved"]
56pub mod events_notresolved;
57#[doc = "INTENSET (rw) register accessor: an alias for `Reg<INTENSET_SPEC>`"]
58pub type INTENSET = crate::Reg<intenset::INTENSET_SPEC>;
59#[doc = "Enable interrupt"]
60pub mod intenset;
61#[doc = "INTENCLR (rw) register accessor: an alias for `Reg<INTENCLR_SPEC>`"]
62pub type INTENCLR = crate::Reg<intenclr::INTENCLR_SPEC>;
63#[doc = "Disable interrupt"]
64pub mod intenclr;
65#[doc = "STATUS (r) register accessor: an alias for `Reg<STATUS_SPEC>`"]
66pub type STATUS = crate::Reg<status::STATUS_SPEC>;
67#[doc = "Resolution status"]
68pub mod status;
69#[doc = "ENABLE (rw) register accessor: an alias for `Reg<ENABLE_SPEC>`"]
70pub type ENABLE = crate::Reg<enable::ENABLE_SPEC>;
71#[doc = "Enable AAR"]
72pub mod enable;
73#[doc = "NIRK (rw) register accessor: an alias for `Reg<NIRK_SPEC>`"]
74pub type NIRK = crate::Reg<nirk::NIRK_SPEC>;
75#[doc = "Number of IRKs"]
76pub mod nirk;
77#[doc = "IRKPTR (rw) register accessor: an alias for `Reg<IRKPTR_SPEC>`"]
78pub type IRKPTR = crate::Reg<irkptr::IRKPTR_SPEC>;
79#[doc = "Pointer to IRK data structure"]
80pub mod irkptr;
81#[doc = "ADDRPTR (rw) register accessor: an alias for `Reg<ADDRPTR_SPEC>`"]
82pub type ADDRPTR = crate::Reg<addrptr::ADDRPTR_SPEC>;
83#[doc = "Pointer to the resolvable address"]
84pub mod addrptr;
85#[doc = "SCRATCHPTR (rw) register accessor: an alias for `Reg<SCRATCHPTR_SPEC>`"]
86pub type SCRATCHPTR = crate::Reg<scratchptr::SCRATCHPTR_SPEC>;
87#[doc = "Pointer to data area used for temporary storage"]
88pub mod scratchptr;