1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74
#[doc = r" Register block"] #[repr(C)] pub struct RegisterBlock { #[doc = "0x00 - Description collection[n]: Task for writing to pin specified in CONFIG[n].PSEL. Action on pin is configured in CONFIG[n].POLARITY."] pub tasks_out: [TASKS_OUT; 8], _reserved1: [u8; 16usize], #[doc = "0x30 - Description collection[n]: Task for writing to pin specified in CONFIG[n].PSEL. Action on pin is to set it high."] pub tasks_set: [TASKS_SET; 8], _reserved2: [u8; 16usize], #[doc = "0x60 - Description collection[n]: Task for writing to pin specified in CONFIG[n].PSEL. Action on pin is to set it low."] pub tasks_clr: [TASKS_CLR; 8], _reserved3: [u8; 128usize], #[doc = "0x100 - Description collection[n]: Event generated from pin specified in CONFIG[n].PSEL"] pub events_in: [EVENTS_IN; 8], _reserved4: [u8; 92usize], #[doc = "0x17c - Event generated from multiple input GPIO pins with SENSE mechanism enabled"] pub events_port: EVENTS_PORT, _reserved5: [u8; 388usize], #[doc = "0x304 - Enable interrupt"] pub intenset: INTENSET, #[doc = "0x308 - Disable interrupt"] pub intenclr: INTENCLR, _reserved7: [u8; 516usize], #[doc = "0x510 - Description collection[n]: Configuration for OUT[n], SET[n] and CLR[n] tasks and IN[n] event"] pub config: [CONFIG; 8], } #[doc = "Description collection[n]: Task for writing to pin specified in CONFIG[n].PSEL. Action on pin is configured in CONFIG[n].POLARITY."] pub struct TASKS_OUT { register: ::vcell::VolatileCell<u32>, } #[doc = "Description collection[n]: Task for writing to pin specified in CONFIG[n].PSEL. Action on pin is configured in CONFIG[n].POLARITY."] pub mod tasks_out; #[doc = "Description collection[n]: Task for writing to pin specified in CONFIG[n].PSEL. Action on pin is to set it high."] pub struct TASKS_SET { register: ::vcell::VolatileCell<u32>, } #[doc = "Description collection[n]: Task for writing to pin specified in CONFIG[n].PSEL. Action on pin is to set it high."] pub mod tasks_set; #[doc = "Description collection[n]: Task for writing to pin specified in CONFIG[n].PSEL. Action on pin is to set it low."] pub struct TASKS_CLR { register: ::vcell::VolatileCell<u32>, } #[doc = "Description collection[n]: Task for writing to pin specified in CONFIG[n].PSEL. Action on pin is to set it low."] pub mod tasks_clr; #[doc = "Description collection[n]: Event generated from pin specified in CONFIG[n].PSEL"] pub struct EVENTS_IN { register: ::vcell::VolatileCell<u32>, } #[doc = "Description collection[n]: Event generated from pin specified in CONFIG[n].PSEL"] pub mod events_in; #[doc = "Event generated from multiple input GPIO pins with SENSE mechanism enabled"] pub struct EVENTS_PORT { register: ::vcell::VolatileCell<u32>, } #[doc = "Event generated from multiple input GPIO pins with SENSE mechanism enabled"] pub mod events_port; #[doc = "Enable interrupt"] pub struct INTENSET { register: ::vcell::VolatileCell<u32>, } #[doc = "Enable interrupt"] pub mod intenset; #[doc = "Disable interrupt"] pub struct INTENCLR { register: ::vcell::VolatileCell<u32>, } #[doc = "Disable interrupt"] pub mod intenclr; #[doc = "Description collection[n]: Configuration for OUT[n], SET[n] and CLR[n] tasks and IN[n] event"] pub struct CONFIG { register: ::vcell::VolatileCell<u32>, } #[doc = "Description collection[n]: Configuration for OUT[n], SET[n] and CLR[n] tasks and IN[n] event"] pub mod config;