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