1#[doc = r"Register block"]
2#[repr(C)]
3pub struct RegisterBlock {
4 #[doc = "0x00 - GPIO grouped interrupt control register."]
5 pub ctrl: CTRL,
6 _reserved1: [u8; 0x1c],
7 #[doc = "0x20..0x28 - GPIO grouped interrupt port 0 polarity register."]
8 pub port_pol: [PORT_POL; 2],
9 _reserved2: [u8; 0x18],
10 #[doc = "0x40..0x48 - GPIO grouped interrupt port 0 enable register."]
11 pub port_ena: [PORT_ENA; 2],
12}
13#[doc = "CTRL (rw) register accessor: an alias for `Reg<CTRL_SPEC>`"]
14pub type CTRL = crate::Reg<ctrl::CTRL_SPEC>;
15#[doc = "GPIO grouped interrupt control register."]
16pub mod ctrl;
17#[doc = "PORT_POL (rw) register accessor: an alias for `Reg<PORT_POL_SPEC>`"]
18pub type PORT_POL = crate::Reg<port_pol::PORT_POL_SPEC>;
19#[doc = "GPIO grouped interrupt port 0 polarity register."]
20pub mod port_pol;
21#[doc = "PORT_ENA (rw) register accessor: an alias for `Reg<PORT_ENA_SPEC>`"]
22pub type PORT_ENA = crate::Reg<port_ena::PORT_ENA_SPEC>;
23#[doc = "GPIO grouped interrupt port 0 enable register."]
24pub mod port_ena;