1#[doc = r"Register block"]
2#[repr(C)]
3pub struct RegisterBlock {
4 _reserved0: [u8; 0x0504],
5#[doc = "0x504 - Write GPIO port"]
6pub out: OUT,
7#[doc = "0x508 - Set individual bits in GPIO port"]
8pub outset: OUTSET,
9#[doc = "0x50c - Clear individual bits in GPIO port"]
10pub outclr: OUTCLR,
11#[doc = "0x510 - Read GPIO port"]
12pub in_: IN,
13#[doc = "0x514 - Direction of GPIO pins"]
14pub dir: DIR,
15#[doc = "0x518 - DIR set register"]
16pub dirset: DIRSET,
17#[doc = "0x51c - DIR clear register"]
18pub dirclr: DIRCLR,
19#[doc = "0x520 - Latch register indicating what GPIO pins that have met the criteria set in the PIN_CNF\\[n\\].SENSE registers"]
20pub latch: LATCH,
21#[doc = "0x524 - Select between default DETECT signal behaviour and LDETECT mode"]
22pub detectmode: DETECTMODE,
23 _reserved9: [u8; 0x01d8],
24#[doc = "0x700..0x780 - Description collection\\[n\\]: Configuration of GPIO pins"]
25pub pin_cnf: [PIN_CNF; 32],
26}
27#[doc = "OUT (rw) register accessor: an alias for `Reg<OUT_SPEC>`"]
28pub type OUT = crate::Reg<out::OUT_SPEC>;
29#[doc = "Write GPIO port"]
30pub mod out;
31#[doc = "OUTSET (rw) register accessor: an alias for `Reg<OUTSET_SPEC>`"]
32pub type OUTSET = crate::Reg<outset::OUTSET_SPEC>;
33#[doc = "Set individual bits in GPIO port"]
34pub mod outset;
35#[doc = "OUTCLR (rw) register accessor: an alias for `Reg<OUTCLR_SPEC>`"]
36pub type OUTCLR = crate::Reg<outclr::OUTCLR_SPEC>;
37#[doc = "Clear individual bits in GPIO port"]
38pub mod outclr;
39#[doc = "IN (r) register accessor: an alias for `Reg<IN_SPEC>`"]
40pub type IN = crate::Reg<in_::IN_SPEC>;
41#[doc = "Read GPIO port"]
42pub mod in_;
43#[doc = "DIR (rw) register accessor: an alias for `Reg<DIR_SPEC>`"]
44pub type DIR = crate::Reg<dir::DIR_SPEC>;
45#[doc = "Direction of GPIO pins"]
46pub mod dir;
47#[doc = "DIRSET (rw) register accessor: an alias for `Reg<DIRSET_SPEC>`"]
48pub type DIRSET = crate::Reg<dirset::DIRSET_SPEC>;
49#[doc = "DIR set register"]
50pub mod dirset;
51#[doc = "DIRCLR (rw) register accessor: an alias for `Reg<DIRCLR_SPEC>`"]
52pub type DIRCLR = crate::Reg<dirclr::DIRCLR_SPEC>;
53#[doc = "DIR clear register"]
54pub mod dirclr;
55#[doc = "LATCH (rw) register accessor: an alias for `Reg<LATCH_SPEC>`"]
56pub type LATCH = crate::Reg<latch::LATCH_SPEC>;
57#[doc = "Latch register indicating what GPIO pins that have met the criteria set in the PIN_CNF\\[n\\].SENSE registers"]
58pub mod latch;
59#[doc = "DETECTMODE (rw) register accessor: an alias for `Reg<DETECTMODE_SPEC>`"]
60pub type DETECTMODE = crate::Reg<detectmode::DETECTMODE_SPEC>;
61#[doc = "Select between default DETECT signal behaviour and LDETECT mode"]
62pub mod detectmode;
63#[doc = "PIN_CNF (rw) register accessor: an alias for `Reg<PIN_CNF_SPEC>`"]
64pub type PIN_CNF = crate::Reg<pin_cnf::PIN_CNF_SPEC>;
65#[doc = "Description collection\\[n\\]: Configuration of GPIO pins"]
66pub mod pin_cnf;