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 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149
#[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, _reserved11: [u8; 4usize], #[doc = "0x30 - Peripheral Multiplexing n - Group 0"] pub pmux0_: [PMUX0_; 16], #[doc = "0x40 - Pin Configuration n - Group 0"] pub pincfg0_: [PINCFG0_; 32], _reserved13: [u8; 32usize], #[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, _reserved24: [u8; 4usize], #[doc = "0xb0 - Peripheral Multiplexing n - Group 1"] pub pmux1_: [PMUX1_; 16], #[doc = "0xc0 - Pin Configuration n - Group 1"] pub pincfg1_: [PINCFG1_; 32], } #[doc = "Data Direction"] pub struct DIR { register: ::vcell::VolatileCell<u32>, } #[doc = "Data Direction"] pub mod dir; #[doc = "Data Direction Clear"] pub struct DIRCLR { register: ::vcell::VolatileCell<u32>, } #[doc = "Data Direction Clear"] pub mod dirclr; #[doc = "Data Direction Set"] pub struct DIRSET { register: ::vcell::VolatileCell<u32>, } #[doc = "Data Direction Set"] pub mod dirset; #[doc = "Data Direction Toggle"] pub struct DIRTGL { register: ::vcell::VolatileCell<u32>, } #[doc = "Data Direction Toggle"] pub mod dirtgl; #[doc = "Data Output Value"] pub struct OUT { register: ::vcell::VolatileCell<u32>, } #[doc = "Data Output Value"] pub mod out; #[doc = "Data Output Value Clear"] pub struct OUTCLR { register: ::vcell::VolatileCell<u32>, } #[doc = "Data Output Value Clear"] pub mod outclr; #[doc = "Data Output Value Set"] pub struct OUTSET { register: ::vcell::VolatileCell<u32>, } #[doc = "Data Output Value Set"] pub mod outset; #[doc = "Data Output Value Toggle"] pub struct OUTTGL { register: ::vcell::VolatileCell<u32>, } #[doc = "Data Output Value Toggle"] pub mod outtgl; #[doc = "Data Input Value"] pub struct IN { register: ::vcell::VolatileCell<u32>, } #[doc = "Data Input Value"] pub mod in_; #[doc = "Control"] pub struct CTRL { register: ::vcell::VolatileCell<u32>, } #[doc = "Control"] pub mod ctrl; #[doc = "Write Configuration"] pub struct WRCONFIG { register: ::vcell::VolatileCell<u32>, } #[doc = "Write Configuration"] pub mod wrconfig; #[doc = "Peripheral Multiplexing n - Group 0"] pub struct PMUX0_ { register: ::vcell::VolatileCell<u8>, } #[doc = "Peripheral Multiplexing n - Group 0"] pub mod pmux0_; #[doc = "Peripheral Multiplexing n - Group 1"] pub struct PMUX1_ { register: ::vcell::VolatileCell<u8>, } #[doc = "Peripheral Multiplexing n - Group 1"] pub mod pmux1_; #[doc = "Pin Configuration n - Group 0"] pub struct PINCFG0_ { register: ::vcell::VolatileCell<u8>, } #[doc = "Pin Configuration n - Group 0"] pub mod pincfg0_; #[doc = "Pin Configuration n - Group 1"] pub struct PINCFG1_ { register: ::vcell::VolatileCell<u8>, } #[doc = "Pin Configuration n - Group 1"] pub mod pincfg1_;