#[doc = r"Register block"] #[repr(C)] pub struct RegisterBlock { #[doc = "0x00..0x20 - Description collection\\[0\\]: Task for writing to pin specified in CONFIG\\[0\\].PSEL. Action on pin is configured in CONFIG\\[0\\].POLARITY."] pub tasks_out: [TASKS_OUT; 8], _reserved1: [u8; 0x10], #[doc = "0x30..0x50 - Description collection\\[0\\]: Task for writing to pin specified in CONFIG\\[0\\].PSEL. Action on pin is to set it high."] pub tasks_set: [TASKS_SET; 8], _reserved2: [u8; 0x10], #[doc = "0x60..0x80 - Description collection\\[0\\]: Task for writing to pin specified in CONFIG\\[0\\].PSEL. Action on pin is to set it low."] pub tasks_clr: [TASKS_CLR; 8], _reserved3: [u8; 0x80], #[doc = "0x100..0x120 - Description collection\\[0\\]: Event generated from pin specified in CONFIG\\[0\\].PSEL"] pub events_in: [EVENTS_IN; 8], _reserved4: [u8; 0x5c], #[doc = "0x17c - Event generated from multiple input GPIO pins with SENSE mechanism enabled"] pub events_port: EVENTS_PORT, _reserved5: [u8; 0x0184], #[doc = "0x304 - Enable interrupt"] pub intenset: INTENSET, #[doc = "0x308 - Disable interrupt"] pub intenclr: INTENCLR, _reserved7: [u8; 0x0204], #[doc = "0x510..0x530 - Description collection\\[0\\]: Configuration for OUT\\[n\\], SET\\[n\\] and CLR\\[n\\] tasks and IN\\[n\\] event"] pub config: [CONFIG; 8], } #[doc = "TASKS_OUT (w) register accessor: an alias for `Reg`"] pub type TASKS_OUT = crate::Reg; #[doc = "Description collection\\[0\\]: Task for writing to pin specified in CONFIG\\[0\\].PSEL. Action on pin is configured in CONFIG\\[0\\].POLARITY."] pub mod tasks_out; #[doc = "TASKS_SET (w) register accessor: an alias for `Reg`"] pub type TASKS_SET = crate::Reg; #[doc = "Description collection\\[0\\]: Task for writing to pin specified in CONFIG\\[0\\].PSEL. Action on pin is to set it high."] pub mod tasks_set; #[doc = "TASKS_CLR (w) register accessor: an alias for `Reg`"] pub type TASKS_CLR = crate::Reg; #[doc = "Description collection\\[0\\]: Task for writing to pin specified in CONFIG\\[0\\].PSEL. Action on pin is to set it low."] pub mod tasks_clr; #[doc = "EVENTS_IN (rw) register accessor: an alias for `Reg`"] pub type EVENTS_IN = crate::Reg; #[doc = "Description collection\\[0\\]: Event generated from pin specified in CONFIG\\[0\\].PSEL"] pub mod events_in; #[doc = "EVENTS_PORT (rw) register accessor: an alias for `Reg`"] pub type EVENTS_PORT = crate::Reg; #[doc = "Event generated from multiple input GPIO pins with SENSE mechanism enabled"] pub mod events_port; #[doc = "INTENSET (rw) register accessor: an alias for `Reg`"] pub type INTENSET = crate::Reg; #[doc = "Enable interrupt"] pub mod intenset; #[doc = "INTENCLR (rw) register accessor: an alias for `Reg`"] pub type INTENCLR = crate::Reg; #[doc = "Disable interrupt"] pub mod intenclr; #[doc = "CONFIG (rw) register accessor: an alias for `Reg`"] pub type CONFIG = crate::Reg; #[doc = "Description collection\\[0\\]: Configuration for OUT\\[n\\], SET\\[n\\] and CLR\\[n\\] tasks and IN\\[n\\] event"] pub mod config;