1#[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 _reserved3: [u8; 0x80],
13 #[doc = "0x100..0x120 - Description collection: Event generated from pin specified in CONFIG\\[n\\].PSEL"]
14 pub events_in: [EVENTS_IN; 8],
15 _reserved4: [u8; 0x5c],
16 #[doc = "0x17c - Event generated from multiple input GPIO pins with SENSE mechanism enabled"]
17 pub events_port: EVENTS_PORT,
18 _reserved5: [u8; 0x0184],
19 #[doc = "0x304 - Enable interrupt"]
20 pub intenset: INTENSET,
21 #[doc = "0x308 - Disable interrupt"]
22 pub intenclr: INTENCLR,
23 _reserved7: [u8; 0x0204],
24 #[doc = "0x510..0x530 - Description collection: Configuration for OUT\\[n\\], SET\\[n\\], and CLR\\[n\\]
25tasks and IN\\[n\\]
26event"]
27 pub config: [CONFIG; 8],
28}
29#[doc = "TASKS_OUT (w) register accessor: an alias for `Reg<TASKS_OUT_SPEC>`"]
30pub type TASKS_OUT = crate::Reg<tasks_out::TASKS_OUT_SPEC>;
31#[doc = "Description collection: Task for writing to pin specified in CONFIG\\[n\\].PSEL. Action on pin is configured in CONFIG\\[n\\].POLARITY."]
32pub mod tasks_out;
33#[doc = "TASKS_SET (w) register accessor: an alias for `Reg<TASKS_SET_SPEC>`"]
34pub type TASKS_SET = crate::Reg<tasks_set::TASKS_SET_SPEC>;
35#[doc = "Description collection: Task for writing to pin specified in CONFIG\\[n\\].PSEL. Action on pin is to set it high."]
36pub mod tasks_set;
37#[doc = "TASKS_CLR (w) register accessor: an alias for `Reg<TASKS_CLR_SPEC>`"]
38pub type TASKS_CLR = crate::Reg<tasks_clr::TASKS_CLR_SPEC>;
39#[doc = "Description collection: Task for writing to pin specified in CONFIG\\[n\\].PSEL. Action on pin is to set it low."]
40pub mod tasks_clr;
41#[doc = "EVENTS_IN (rw) register accessor: an alias for `Reg<EVENTS_IN_SPEC>`"]
42pub type EVENTS_IN = crate::Reg<events_in::EVENTS_IN_SPEC>;
43#[doc = "Description collection: Event generated from pin specified in CONFIG\\[n\\].PSEL"]
44pub mod events_in;
45#[doc = "EVENTS_PORT (rw) register accessor: an alias for `Reg<EVENTS_PORT_SPEC>`"]
46pub type EVENTS_PORT = crate::Reg<events_port::EVENTS_PORT_SPEC>;
47#[doc = "Event generated from multiple input GPIO pins with SENSE mechanism enabled"]
48pub mod events_port;
49#[doc = "INTENSET (rw) register accessor: an alias for `Reg<INTENSET_SPEC>`"]
50pub type INTENSET = crate::Reg<intenset::INTENSET_SPEC>;
51#[doc = "Enable interrupt"]
52pub mod intenset;
53#[doc = "INTENCLR (rw) register accessor: an alias for `Reg<INTENCLR_SPEC>`"]
54pub type INTENCLR = crate::Reg<intenclr::INTENCLR_SPEC>;
55#[doc = "Disable interrupt"]
56pub mod intenclr;
57#[doc = "CONFIG (rw) register accessor: an alias for `Reg<CONFIG_SPEC>`"]
58pub type CONFIG = crate::Reg<config::CONFIG_SPEC>;
59#[doc = "Description collection: Configuration for OUT\\[n\\], SET\\[n\\], and CLR\\[n\\]
60tasks and IN\\[n\\]
61event"]
62pub mod config;