#[doc = r"Register block"] #[repr(C)] pub struct RegisterBlock { #[doc = "0x00 - Data Direction"] pub dir0: DIR, #[doc = "0x04 - Data Direction Clear"] pub dirclr0: DIRCLR, #[doc = "0x08 - Data Direction Set"] pub dirset0: DIRSET, #[doc = "0x0c - Data Direction Toggle"] pub dirtgl0: DIRTGL, #[doc = "0x10 - Data Output Value"] pub out0: OUT, #[doc = "0x14 - Data Output Value Clear"] pub outclr0: OUTCLR, #[doc = "0x18 - Data Output Value Set"] pub outset0: OUTSET, #[doc = "0x1c - Data Output Value Toggle"] pub outtgl0: OUTTGL, #[doc = "0x20 - Data Input Value"] pub in0: IN, #[doc = "0x24 - Control"] pub ctrl0: CTRL, #[doc = "0x28 - Write Configuration"] pub wrconfig0: WRCONFIG, #[doc = "0x2c - Event Input Control"] pub evctrl0: EVCTRL, #[doc = "0x30..0x40 - Peripheral Multiplexing n - Group 0"] pub pmux0_: [PMUX0_; 16], #[doc = "0x40..0x60 - Pin Configuration n - Group 0"] pub pincfg0_: [PINCFG0_; 32], _reserved14: [u8; 0x20], #[doc = "0x80 - Data Direction"] pub dir1: DIR, #[doc = "0x84 - Data Direction Clear"] pub dirclr1: DIRCLR, #[doc = "0x88 - Data Direction Set"] pub dirset1: DIRSET, #[doc = "0x8c - Data Direction Toggle"] pub dirtgl1: DIRTGL, #[doc = "0x90 - Data Output Value"] pub out1: OUT, #[doc = "0x94 - Data Output Value Clear"] pub outclr1: OUTCLR, #[doc = "0x98 - Data Output Value Set"] pub outset1: OUTSET, #[doc = "0x9c - Data Output Value Toggle"] pub outtgl1: OUTTGL, #[doc = "0xa0 - Data Input Value"] pub in1: IN, #[doc = "0xa4 - Control"] pub ctrl1: CTRL, #[doc = "0xa8 - Write Configuration"] pub wrconfig1: WRCONFIG, #[doc = "0xac - Event Input Control"] pub evctrl1: EVCTRL, #[doc = "0xb0..0xc0 - Peripheral Multiplexing n - Group 1"] pub pmux1_: [PMUX1_; 16], #[doc = "0xc0..0xe0 - Pin Configuration n - Group 1"] pub pincfg1_: [PINCFG1_; 32], } #[doc = "DIR (rw) register accessor: an alias for `Reg`"] pub type DIR = crate::Reg; #[doc = "Data Direction"] pub mod dir; #[doc = "DIRCLR (rw) register accessor: an alias for `Reg`"] pub type DIRCLR = crate::Reg; #[doc = "Data Direction Clear"] pub mod dirclr; #[doc = "DIRSET (rw) register accessor: an alias for `Reg`"] pub type DIRSET = crate::Reg; #[doc = "Data Direction Set"] pub mod dirset; #[doc = "DIRTGL (rw) register accessor: an alias for `Reg`"] pub type DIRTGL = crate::Reg; #[doc = "Data Direction Toggle"] pub mod dirtgl; #[doc = "OUT (rw) register accessor: an alias for `Reg`"] pub type OUT = crate::Reg; #[doc = "Data Output Value"] pub mod out; #[doc = "OUTCLR (rw) register accessor: an alias for `Reg`"] pub type OUTCLR = crate::Reg; #[doc = "Data Output Value Clear"] pub mod outclr; #[doc = "OUTSET (rw) register accessor: an alias for `Reg`"] pub type OUTSET = crate::Reg; #[doc = "Data Output Value Set"] pub mod outset; #[doc = "OUTTGL (rw) register accessor: an alias for `Reg`"] pub type OUTTGL = crate::Reg; #[doc = "Data Output Value Toggle"] pub mod outtgl; #[doc = "IN (r) register accessor: an alias for `Reg`"] pub type IN = crate::Reg; #[doc = "Data Input Value"] pub mod in_; #[doc = "CTRL (rw) register accessor: an alias for `Reg`"] pub type CTRL = crate::Reg; #[doc = "Control"] pub mod ctrl; #[doc = "WRCONFIG (w) register accessor: an alias for `Reg`"] pub type WRCONFIG = crate::Reg; #[doc = "Write Configuration"] pub mod wrconfig; #[doc = "EVCTRL (rw) register accessor: an alias for `Reg`"] pub type EVCTRL = crate::Reg; #[doc = "Event Input Control"] pub mod evctrl; #[doc = "PMUX0_ (rw) register accessor: an alias for `Reg`"] pub type PMUX0_ = crate::Reg; #[doc = "Peripheral Multiplexing n - Group 0"] pub mod pmux0_; pub use pmux0_ as pmux1_; pub use PMUX0_ as PMUX1_; #[doc = "PINCFG0_ (rw) register accessor: an alias for `Reg`"] pub type PINCFG0_ = crate::Reg; #[doc = "Pin Configuration n - Group 0"] pub mod pincfg0_; pub use pincfg0_ as pincfg1_; pub use PINCFG0_ as PINCFG1_;