#[doc = r"Register block"] #[repr(C)] pub struct RegisterBlock { _reserved0: [u8; 0x04], #[doc = "0x04 - Write GPIO port"] pub out: OUT, #[doc = "0x08 - Set individual bits in GPIO port"] pub outset: OUTSET, #[doc = "0x0c - Clear individual bits in GPIO port"] pub outclr: OUTCLR, #[doc = "0x10 - Read GPIO port"] pub in_: IN, #[doc = "0x14 - Direction of GPIO pins"] pub dir: DIR, #[doc = "0x18 - DIR set register"] pub dirset: DIRSET, #[doc = "0x1c - DIR clear register"] pub dirclr: DIRCLR, #[doc = "0x20 - Latch register indicating what GPIO pins that have met the criteria set in the PIN_CNF\\[n\\].SENSE registers"] pub latch: LATCH, #[doc = "0x24 - Select between default DETECT signal behavior and LDETECT mode (For non-secure pin only)"] pub detectmode: DETECTMODE, #[doc = "0x28 - Select between default DETECT signal behavior and LDETECT mode (For secure pin only)"] pub detectmode_sec: DETECTMODE_SEC, _reserved10: [u8; 0x01d4], #[doc = "0x200..0x280 - Description collection: Configuration of GPIO pins"] pub pin_cnf: [PIN_CNF; 32], } #[doc = "OUT (rw) register accessor: an alias for `Reg`"] pub type OUT = crate::Reg; #[doc = "Write GPIO port"] pub mod out; #[doc = "OUTSET (rw) register accessor: an alias for `Reg`"] pub type OUTSET = crate::Reg; #[doc = "Set individual bits in GPIO port"] pub mod outset; #[doc = "OUTCLR (rw) register accessor: an alias for `Reg`"] pub type OUTCLR = crate::Reg; #[doc = "Clear individual bits in GPIO port"] pub mod outclr; #[doc = "IN (r) register accessor: an alias for `Reg`"] pub type IN = crate::Reg; #[doc = "Read GPIO port"] pub mod in_; #[doc = "DIR (rw) register accessor: an alias for `Reg`"] pub type DIR = crate::Reg; #[doc = "Direction of GPIO pins"] pub mod dir; #[doc = "DIRSET (rw) register accessor: an alias for `Reg`"] pub type DIRSET = crate::Reg; #[doc = "DIR set register"] pub mod dirset; #[doc = "DIRCLR (rw) register accessor: an alias for `Reg`"] pub type DIRCLR = crate::Reg; #[doc = "DIR clear register"] pub mod dirclr; #[doc = "LATCH (rw) register accessor: an alias for `Reg`"] pub type LATCH = crate::Reg; #[doc = "Latch register indicating what GPIO pins that have met the criteria set in the PIN_CNF\\[n\\].SENSE registers"] pub mod latch; #[doc = "DETECTMODE (rw) register accessor: an alias for `Reg`"] pub type DETECTMODE = crate::Reg; #[doc = "Select between default DETECT signal behavior and LDETECT mode (For non-secure pin only)"] pub mod detectmode; #[doc = "DETECTMODE_SEC (rw) register accessor: an alias for `Reg`"] pub type DETECTMODE_SEC = crate::Reg; #[doc = "Select between default DETECT signal behavior and LDETECT mode (For secure pin only)"] pub mod detectmode_sec; #[doc = "PIN_CNF (rw) register accessor: an alias for `Reg`"] pub type PIN_CNF = crate::Reg; #[doc = "Description collection: Configuration of GPIO pins"] pub mod pin_cnf;