nrf5340_net_pac/
gpiote_ns.rs1#[doc = r"Register block"]
2#[repr(C)]
3pub struct RegisterBlock {
4 #[doc = "0x00..0x20 - Description collection: Task for writing to pin specified in CONFIG\\[n\\].PSEL. Action on pin is configured in CONFIG\\[n\\].POLARITY."]
5 pub tasks_out: [TASKS_OUT; 8],
6 _reserved1: [u8; 0x10],
7 #[doc = "0x30..0x50 - Description collection: Task for writing to pin specified in CONFIG\\[n\\].PSEL. Action on pin is to set it high."]
8 pub tasks_set: [TASKS_SET; 8],
9 _reserved2: [u8; 0x10],
10 #[doc = "0x60..0x80 - Description collection: Task for writing to pin specified in CONFIG\\[n\\].PSEL. Action on pin is to set it low."]
11 pub tasks_clr: [TASKS_CLR; 8],
12 #[doc = "0x80..0xa0 - Description collection: Subscribe configuration for task OUT\\[n\\]"]
13 pub subscribe_out: [SUBSCRIBE_OUT; 8],
14 _reserved4: [u8; 0x10],
15 #[doc = "0xb0..0xd0 - Description collection: Subscribe configuration for task SET\\[n\\]"]
16 pub subscribe_set: [SUBSCRIBE_SET; 8],
17 _reserved5: [u8; 0x10],
18 #[doc = "0xe0..0x100 - Description collection: Subscribe configuration for task CLR\\[n\\]"]
19 pub subscribe_clr: [SUBSCRIBE_CLR; 8],
20 #[doc = "0x100..0x120 - Description collection: Event generated from pin specified in CONFIG\\[n\\].PSEL"]
21 pub events_in: [EVENTS_IN; 8],
22 _reserved7: [u8; 0x5c],
23 #[doc = "0x17c - Event generated from multiple input GPIO pins with SENSE mechanism enabled"]
24 pub events_port: EVENTS_PORT,
25 #[doc = "0x180..0x1a0 - Description collection: Publish configuration for event IN\\[n\\]"]
26 pub publish_in: [PUBLISH_IN; 8],
27 _reserved9: [u8; 0x5c],
28 #[doc = "0x1fc - Publish configuration for event PORT"]
29 pub publish_port: PUBLISH_PORT,
30 _reserved10: [u8; 0x0104],
31 #[doc = "0x304 - Enable interrupt"]
32 pub intenset: INTENSET,
33 #[doc = "0x308 - Disable interrupt"]
34 pub intenclr: INTENCLR,
35 _reserved12: [u8; 0x01f8],
36 #[doc = "0x504 - Latency selection for Event mode (MODE=Event) with rising or falling edge detection on the pin."]
37 pub latency: LATENCY,
38 _reserved13: [u8; 0x08],
39 #[doc = "0x510..0x530 - Description collection: Configuration for OUT\\[n\\], SET\\[n\\], and CLR\\[n\\]
40tasks and IN\\[n\\]
41event"]
42 pub config: [CONFIG; 8],
43}
44#[doc = "TASKS_OUT (w) register accessor: an alias for `Reg<TASKS_OUT_SPEC>`"]
45pub type TASKS_OUT = crate::Reg<tasks_out::TASKS_OUT_SPEC>;
46#[doc = "Description collection: Task for writing to pin specified in CONFIG\\[n\\].PSEL. Action on pin is configured in CONFIG\\[n\\].POLARITY."]
47pub mod tasks_out;
48#[doc = "TASKS_SET (w) register accessor: an alias for `Reg<TASKS_SET_SPEC>`"]
49pub type TASKS_SET = crate::Reg<tasks_set::TASKS_SET_SPEC>;
50#[doc = "Description collection: Task for writing to pin specified in CONFIG\\[n\\].PSEL. Action on pin is to set it high."]
51pub mod tasks_set;
52#[doc = "TASKS_CLR (w) register accessor: an alias for `Reg<TASKS_CLR_SPEC>`"]
53pub type TASKS_CLR = crate::Reg<tasks_clr::TASKS_CLR_SPEC>;
54#[doc = "Description collection: Task for writing to pin specified in CONFIG\\[n\\].PSEL. Action on pin is to set it low."]
55pub mod tasks_clr;
56#[doc = "SUBSCRIBE_OUT (rw) register accessor: an alias for `Reg<SUBSCRIBE_OUT_SPEC>`"]
57pub type SUBSCRIBE_OUT = crate::Reg<subscribe_out::SUBSCRIBE_OUT_SPEC>;
58#[doc = "Description collection: Subscribe configuration for task OUT\\[n\\]"]
59pub mod subscribe_out;
60#[doc = "SUBSCRIBE_SET (rw) register accessor: an alias for `Reg<SUBSCRIBE_SET_SPEC>`"]
61pub type SUBSCRIBE_SET = crate::Reg<subscribe_set::SUBSCRIBE_SET_SPEC>;
62#[doc = "Description collection: Subscribe configuration for task SET\\[n\\]"]
63pub mod subscribe_set;
64#[doc = "SUBSCRIBE_CLR (rw) register accessor: an alias for `Reg<SUBSCRIBE_CLR_SPEC>`"]
65pub type SUBSCRIBE_CLR = crate::Reg<subscribe_clr::SUBSCRIBE_CLR_SPEC>;
66#[doc = "Description collection: Subscribe configuration for task CLR\\[n\\]"]
67pub mod subscribe_clr;
68#[doc = "EVENTS_IN (rw) register accessor: an alias for `Reg<EVENTS_IN_SPEC>`"]
69pub type EVENTS_IN = crate::Reg<events_in::EVENTS_IN_SPEC>;
70#[doc = "Description collection: Event generated from pin specified in CONFIG\\[n\\].PSEL"]
71pub mod events_in;
72#[doc = "EVENTS_PORT (rw) register accessor: an alias for `Reg<EVENTS_PORT_SPEC>`"]
73pub type EVENTS_PORT = crate::Reg<events_port::EVENTS_PORT_SPEC>;
74#[doc = "Event generated from multiple input GPIO pins with SENSE mechanism enabled"]
75pub mod events_port;
76#[doc = "PUBLISH_IN (rw) register accessor: an alias for `Reg<PUBLISH_IN_SPEC>`"]
77pub type PUBLISH_IN = crate::Reg<publish_in::PUBLISH_IN_SPEC>;
78#[doc = "Description collection: Publish configuration for event IN\\[n\\]"]
79pub mod publish_in;
80#[doc = "PUBLISH_PORT (rw) register accessor: an alias for `Reg<PUBLISH_PORT_SPEC>`"]
81pub type PUBLISH_PORT = crate::Reg<publish_port::PUBLISH_PORT_SPEC>;
82#[doc = "Publish configuration for event PORT"]
83pub mod publish_port;
84#[doc = "INTENSET (rw) register accessor: an alias for `Reg<INTENSET_SPEC>`"]
85pub type INTENSET = crate::Reg<intenset::INTENSET_SPEC>;
86#[doc = "Enable interrupt"]
87pub mod intenset;
88#[doc = "INTENCLR (rw) register accessor: an alias for `Reg<INTENCLR_SPEC>`"]
89pub type INTENCLR = crate::Reg<intenclr::INTENCLR_SPEC>;
90#[doc = "Disable interrupt"]
91pub mod intenclr;
92#[doc = "LATENCY (rw) register accessor: an alias for `Reg<LATENCY_SPEC>`"]
93pub type LATENCY = crate::Reg<latency::LATENCY_SPEC>;
94#[doc = "Latency selection for Event mode (MODE=Event) with rising or falling edge detection on the pin."]
95pub mod latency;
96#[doc = "CONFIG (rw) register accessor: an alias for `Reg<CONFIG_SPEC>`"]
97pub type CONFIG = crate::Reg<config::CONFIG_SPEC>;
98#[doc = "Description collection: Configuration for OUT\\[n\\], SET\\[n\\], and CLR\\[n\\]
99tasks and IN\\[n\\]
100event"]
101pub mod config;