nrf5340_net_pac/
ipc_ns.rs

1#[doc = r"Register block"]
2#[repr(C)]
3pub struct RegisterBlock {
4    #[doc = "0x00..0x40 - Description collection: Trigger events on IPC channel enabled in SEND_CNF\\[n\\]"]
5    pub tasks_send: [TASKS_SEND; 16],
6    _reserved1: [u8; 0x40],
7    #[doc = "0x80..0xc0 - Description collection: Subscribe configuration for task SEND\\[n\\]"]
8    pub subscribe_send: [SUBSCRIBE_SEND; 16],
9    _reserved2: [u8; 0x40],
10    #[doc = "0x100..0x140 - Description collection: Event received on one or more of the enabled IPC channels in RECEIVE_CNF\\[n\\]"]
11    pub events_receive: [EVENTS_RECEIVE; 16],
12    _reserved3: [u8; 0x40],
13    #[doc = "0x180..0x1c0 - Description collection: Publish configuration for event RECEIVE\\[n\\]"]
14    pub publish_receive: [PUBLISH_RECEIVE; 16],
15    _reserved4: [u8; 0x0140],
16    #[doc = "0x300 - Enable or disable interrupt"]
17    pub inten: INTEN,
18    #[doc = "0x304 - Enable interrupt"]
19    pub intenset: INTENSET,
20    #[doc = "0x308 - Disable interrupt"]
21    pub intenclr: INTENCLR,
22    #[doc = "0x30c - Pending interrupts"]
23    pub intpend: INTPEND,
24    _reserved8: [u8; 0x0200],
25    #[doc = "0x510..0x550 - Description collection: Send event configuration for TASKS_SEND\\[n\\]"]
26    pub send_cnf: [SEND_CNF; 16],
27    _reserved9: [u8; 0x40],
28    #[doc = "0x590..0x5d0 - Description collection: Receive event configuration for EVENTS_RECEIVE\\[n\\]"]
29    pub receive_cnf: [RECEIVE_CNF; 16],
30    _reserved10: [u8; 0x40],
31    #[doc = "0x610..0x618 - Description collection: General purpose memory"]
32    pub gpmem: [GPMEM; 2],
33}
34#[doc = "TASKS_SEND (w) register accessor: an alias for `Reg<TASKS_SEND_SPEC>`"]
35pub type TASKS_SEND = crate::Reg<tasks_send::TASKS_SEND_SPEC>;
36#[doc = "Description collection: Trigger events on IPC channel enabled in SEND_CNF\\[n\\]"]
37pub mod tasks_send;
38#[doc = "SUBSCRIBE_SEND (rw) register accessor: an alias for `Reg<SUBSCRIBE_SEND_SPEC>`"]
39pub type SUBSCRIBE_SEND = crate::Reg<subscribe_send::SUBSCRIBE_SEND_SPEC>;
40#[doc = "Description collection: Subscribe configuration for task SEND\\[n\\]"]
41pub mod subscribe_send;
42#[doc = "EVENTS_RECEIVE (rw) register accessor: an alias for `Reg<EVENTS_RECEIVE_SPEC>`"]
43pub type EVENTS_RECEIVE = crate::Reg<events_receive::EVENTS_RECEIVE_SPEC>;
44#[doc = "Description collection: Event received on one or more of the enabled IPC channels in RECEIVE_CNF\\[n\\]"]
45pub mod events_receive;
46#[doc = "PUBLISH_RECEIVE (rw) register accessor: an alias for `Reg<PUBLISH_RECEIVE_SPEC>`"]
47pub type PUBLISH_RECEIVE = crate::Reg<publish_receive::PUBLISH_RECEIVE_SPEC>;
48#[doc = "Description collection: Publish configuration for event RECEIVE\\[n\\]"]
49pub mod publish_receive;
50#[doc = "INTEN (rw) register accessor: an alias for `Reg<INTEN_SPEC>`"]
51pub type INTEN = crate::Reg<inten::INTEN_SPEC>;
52#[doc = "Enable or disable interrupt"]
53pub mod inten;
54#[doc = "INTENSET (rw) register accessor: an alias for `Reg<INTENSET_SPEC>`"]
55pub type INTENSET = crate::Reg<intenset::INTENSET_SPEC>;
56#[doc = "Enable interrupt"]
57pub mod intenset;
58#[doc = "INTENCLR (rw) register accessor: an alias for `Reg<INTENCLR_SPEC>`"]
59pub type INTENCLR = crate::Reg<intenclr::INTENCLR_SPEC>;
60#[doc = "Disable interrupt"]
61pub mod intenclr;
62#[doc = "INTPEND (r) register accessor: an alias for `Reg<INTPEND_SPEC>`"]
63pub type INTPEND = crate::Reg<intpend::INTPEND_SPEC>;
64#[doc = "Pending interrupts"]
65pub mod intpend;
66#[doc = "SEND_CNF (rw) register accessor: an alias for `Reg<SEND_CNF_SPEC>`"]
67pub type SEND_CNF = crate::Reg<send_cnf::SEND_CNF_SPEC>;
68#[doc = "Description collection: Send event configuration for TASKS_SEND\\[n\\]"]
69pub mod send_cnf;
70#[doc = "RECEIVE_CNF (rw) register accessor: an alias for `Reg<RECEIVE_CNF_SPEC>`"]
71pub type RECEIVE_CNF = crate::Reg<receive_cnf::RECEIVE_CNF_SPEC>;
72#[doc = "Description collection: Receive event configuration for EVENTS_RECEIVE\\[n\\]"]
73pub mod receive_cnf;
74#[doc = "GPMEM (rw) register accessor: an alias for `Reg<GPMEM_SPEC>`"]
75pub type GPMEM = crate::Reg<gpmem::GPMEM_SPEC>;
76#[doc = "Description collection: General purpose memory"]
77pub mod gpmem;