From 72c21bf86801957c97f11f3b6146d03538d4a76c Mon Sep 17 00:00:00 2001
From: 9names <60134748+9names@users.noreply.github.com>
Date: Sun, 17 Oct 2021 20:43:27 +1100
Subject: [PATCH 1/7] Arrayify interrupt registers
This commit arrayifies the following interrupt registers:
PROC0_INTE[0-3], PROC0_INTF[0-3], PROC0_INTS[0-3],
PROC1_INTE[0-3], PROC1_INTF[0-3], PROC1_INTS[0-3],
INTR[0-3]
There are still a few more that are are not yet covered.
At the least, the DORMANT_* ones.
The interrupt signals for the RP2040 are spread over several registers.
There are 4 types of interrupt:
Edge-high, Edge-low, Level-High, Level-Low
and these are sequential bits in the register, presumably so you
can read/write all 4 for a single register in one pass. This does
make it somewhat painful for use to deal with.
To make matters worse, there are only 30 gpio on RP2040, which means
that the last register has more fields than the rest.
In order to get svdtools array to be happy, we have to add fields
for the non-existant GPIO to the last register.
Another option would be to erase the fields entirely, and leave
a 32bit int in it's place. Maybe that's a better option.
---
svd/rp2040.yaml | 252 ++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 252 insertions(+)
diff --git a/svd/rp2040.yaml b/svd/rp2040.yaml
index b9b76d372..310ac3fc2 100644
--- a/svd/rp2040.yaml
+++ b/svd/rp2040.yaml
@@ -181,6 +181,258 @@ PWM:
name: "TOP"
IO_BANK0:
+ # Can't array registers unless they have the same number of fields, so add "pseudo" GPIO here
+ INTR3:
+ _add:
+ GPIO31_EDGE_HIGH:
+ bitOffset: 31
+ bitWidth: 1
+ access: read-write
+ GPIO31_EDGE_LOW:
+ bitOffset: 30
+ bitWidth: 1
+ access: read-write
+ GPIO31_LEVEL_HIGH:
+ bitOffset: 29
+ bitWidth: 1
+ access: read-write
+ GPIO31_LEVEL_LOW:
+ bitOffset: 28
+ bitWidth: 1
+ access: read-write
+ GPIO30_EDGE_HIGH:
+ bitOffset: 27
+ bitWidth: 1
+ access: read-write
+ GPIO30_EDGE_LOW:
+ bitOffset: 26
+ bitWidth: 1
+ access: read-write
+ GPIO30_LEVEL_HIGH:
+ bitOffset: 25
+ bitWidth: 1
+ access: read-write
+ GPIO30_LEVEL_LOW:
+ bitOffset: 24
+ bitWidth: 1
+ access: read-write
+ PROC0_INTE3:
+ _add:
+ GPIO31_EDGE_HIGH:
+ bitOffset: 31
+ bitWidth: 1
+ access: read-write
+ GPIO31_EDGE_LOW:
+ bitOffset: 30
+ bitWidth: 1
+ access: read-write
+ GPIO31_LEVEL_HIGH:
+ bitOffset: 29
+ bitWidth: 1
+ access: read-write
+ GPIO31_LEVEL_LOW:
+ bitOffset: 28
+ bitWidth: 1
+ access: read-write
+ GPIO30_EDGE_HIGH:
+ bitOffset: 27
+ bitWidth: 1
+ access: read-write
+ GPIO30_EDGE_LOW:
+ bitOffset: 26
+ bitWidth: 1
+ access: read-write
+ GPIO30_LEVEL_HIGH:
+ bitOffset: 25
+ bitWidth: 1
+ access: read-write
+ GPIO30_LEVEL_LOW:
+ bitOffset: 24
+ bitWidth: 1
+ access: read-write
+ PROC0_INTF3:
+ _add:
+ GPIO31_EDGE_HIGH:
+ bitOffset: 31
+ bitWidth: 1
+ access: read-write
+ GPIO31_EDGE_LOW:
+ bitOffset: 30
+ bitWidth: 1
+ access: read-write
+ GPIO31_LEVEL_HIGH:
+ bitOffset: 29
+ bitWidth: 1
+ access: read-write
+ GPIO31_LEVEL_LOW:
+ bitOffset: 28
+ bitWidth: 1
+ access: read-write
+ GPIO30_EDGE_HIGH:
+ bitOffset: 27
+ bitWidth: 1
+ access: read-write
+ GPIO30_EDGE_LOW:
+ bitOffset: 26
+ bitWidth: 1
+ access: read-write
+ GPIO30_LEVEL_HIGH:
+ bitOffset: 25
+ bitWidth: 1
+ access: read-write
+ GPIO30_LEVEL_LOW:
+ bitOffset: 24
+ bitWidth: 1
+ access: read-write
+ PROC0_INTS3:
+ _add:
+ GPIO31_EDGE_HIGH:
+ bitOffset: 31
+ bitWidth: 1
+ access: read-only
+ GPIO31_EDGE_LOW:
+ bitOffset: 30
+ bitWidth: 1
+ access: read-only
+ GPIO31_LEVEL_HIGH:
+ bitOffset: 29
+ bitWidth: 1
+ access: read-only
+ GPIO31_LEVEL_LOW:
+ bitOffset: 28
+ bitWidth: 1
+ access: read-only
+ GPIO30_EDGE_HIGH:
+ bitOffset: 27
+ bitWidth: 1
+ access: read-only
+ GPIO30_EDGE_LOW:
+ bitOffset: 26
+ bitWidth: 1
+ access: read-only
+ GPIO30_LEVEL_HIGH:
+ bitOffset: 25
+ bitWidth: 1
+ access: read-only
+ GPIO30_LEVEL_LOW:
+ bitOffset: 24
+ bitWidth: 1
+ access: read-only
+
+ PROC1_INTE3:
+ _add:
+ GPIO31_EDGE_HIGH:
+ bitOffset: 31
+ bitWidth: 1
+ access: read-write
+ GPIO31_EDGE_LOW:
+ bitOffset: 30
+ bitWidth: 1
+ access: read-write
+ GPIO31_LEVEL_HIGH:
+ bitOffset: 29
+ bitWidth: 1
+ access: read-write
+ GPIO31_LEVEL_LOW:
+ bitOffset: 28
+ bitWidth: 1
+ access: read-write
+ GPIO30_EDGE_HIGH:
+ bitOffset: 27
+ bitWidth: 1
+ access: read-write
+ GPIO30_EDGE_LOW:
+ bitOffset: 26
+ bitWidth: 1
+ access: read-write
+ GPIO30_LEVEL_HIGH:
+ bitOffset: 25
+ bitWidth: 1
+ access: read-write
+ GPIO30_LEVEL_LOW:
+ bitOffset: 24
+ bitWidth: 1
+ access: read-write
+ PROC1_INTF3:
+ _add:
+ GPIO31_EDGE_HIGH:
+ bitOffset: 31
+ bitWidth: 1
+ access: read-write
+ GPIO31_EDGE_LOW:
+ bitOffset: 30
+ bitWidth: 1
+ access: read-write
+ GPIO31_LEVEL_HIGH:
+ bitOffset: 29
+ bitWidth: 1
+ access: read-write
+ GPIO31_LEVEL_LOW:
+ bitOffset: 28
+ bitWidth: 1
+ access: read-write
+ GPIO30_EDGE_HIGH:
+ bitOffset: 27
+ bitWidth: 1
+ access: read-write
+ GPIO30_EDGE_LOW:
+ bitOffset: 26
+ bitWidth: 1
+ access: read-write
+ GPIO30_LEVEL_HIGH:
+ bitOffset: 25
+ bitWidth: 1
+ access: read-write
+ GPIO30_LEVEL_LOW:
+ bitOffset: 24
+ bitWidth: 1
+ access: read-write
+ PROC1_INTS3:
+ _add:
+ GPIO31_EDGE_HIGH:
+ bitOffset: 31
+ bitWidth: 1
+ access: read-only
+ GPIO31_EDGE_LOW:
+ bitOffset: 30
+ bitWidth: 1
+ access: read-only
+ GPIO31_LEVEL_HIGH:
+ bitOffset: 29
+ bitWidth: 1
+ access: read-only
+ GPIO31_LEVEL_LOW:
+ bitOffset: 28
+ bitWidth: 1
+ access: read-only
+ GPIO30_EDGE_HIGH:
+ bitOffset: 27
+ bitWidth: 1
+ access: read-only
+ GPIO30_EDGE_LOW:
+ bitOffset: 26
+ bitWidth: 1
+ access: read-only
+ GPIO30_LEVEL_HIGH:
+ bitOffset: 25
+ bitWidth: 1
+ access: read-only
+ GPIO30_LEVEL_LOW:
+ bitOffset: 24
+ bitWidth: 1
+ access: read-only
+
+
+ _array:
+ "INTR*": {}
+ "PROC0_INTE*": {}
+ "PROC0_INTF*": {}
+ "PROC0_INTS*": {}
+ "PROC1_INTE*": {}
+ "PROC1_INTF*": {}
+ "PROC1_INTS*": {}
+
+
_cluster:
"GPIO%s":
"GPIO*_STATUS": {}
From f03aec4113fb7a878956a1ee5cbd31dc397fb54b Mon Sep 17 00:00:00 2001
From: 9names <60134748+9names@users.noreply.github.com>
Date: Sun, 17 Oct 2021 20:59:01 +1100
Subject: [PATCH 2/7] Add patched SVD
---
svd/rp2040.svd.patched | 3844 +++-------------------------------------
1 file changed, 276 insertions(+), 3568 deletions(-)
diff --git a/svd/rp2040.svd.patched b/svd/rp2040.svd.patched
index 2d7a9a757..f1bb06b58 100644
--- a/svd/rp2040.svd.patched
+++ b/svd/rp2040.svd.patched
@@ -4307,7 +4307,7 @@
- INTR0
+ 40x40,1,2,3INTR%s
Raw Interrupts
0x00f0
0x00000000
@@ -4491,517 +4491,513 @@
- INTR1
- Raw Interrupts
- 0x00f4
+ 40x40,1,2,3PROC0_INTE%s
+ Interrupt Enable for proc%s
+ 0x0100
0x00000000
- GPIO15_EDGE_HIGH
+ GPIO7_EDGE_HIGH
[31:31]
read-write
- oneToClear
- GPIO15_EDGE_LOW
+ GPIO7_EDGE_LOW
[30:30]
read-write
- oneToClear
- GPIO15_LEVEL_HIGH
+ GPIO7_LEVEL_HIGH
[29:29]
- read-only
+ read-write
- GPIO15_LEVEL_LOW
+ GPIO7_LEVEL_LOW
[28:28]
- read-only
+ read-write
- GPIO14_EDGE_HIGH
+ GPIO6_EDGE_HIGH
[27:27]
read-write
- oneToClear
- GPIO14_EDGE_LOW
+ GPIO6_EDGE_LOW
[26:26]
read-write
- oneToClear
- GPIO14_LEVEL_HIGH
+ GPIO6_LEVEL_HIGH
[25:25]
- read-only
+ read-write
- GPIO14_LEVEL_LOW
+ GPIO6_LEVEL_LOW
[24:24]
- read-only
+ read-write
- GPIO13_EDGE_HIGH
+ GPIO5_EDGE_HIGH
[23:23]
read-write
- oneToClear
- GPIO13_EDGE_LOW
+ GPIO5_EDGE_LOW
[22:22]
read-write
- oneToClear
- GPIO13_LEVEL_HIGH
+ GPIO5_LEVEL_HIGH
[21:21]
- read-only
+ read-write
- GPIO13_LEVEL_LOW
+ GPIO5_LEVEL_LOW
[20:20]
- read-only
+ read-write
- GPIO12_EDGE_HIGH
+ GPIO4_EDGE_HIGH
[19:19]
read-write
- oneToClear
- GPIO12_EDGE_LOW
+ GPIO4_EDGE_LOW
[18:18]
read-write
- oneToClear
- GPIO12_LEVEL_HIGH
+ GPIO4_LEVEL_HIGH
[17:17]
- read-only
+ read-write
- GPIO12_LEVEL_LOW
+ GPIO4_LEVEL_LOW
[16:16]
- read-only
+ read-write
- GPIO11_EDGE_HIGH
+ GPIO3_EDGE_HIGH
[15:15]
read-write
- oneToClear
- GPIO11_EDGE_LOW
+ GPIO3_EDGE_LOW
[14:14]
read-write
- oneToClear
- GPIO11_LEVEL_HIGH
+ GPIO3_LEVEL_HIGH
[13:13]
- read-only
+ read-write
- GPIO11_LEVEL_LOW
+ GPIO3_LEVEL_LOW
[12:12]
- read-only
+ read-write
- GPIO10_EDGE_HIGH
+ GPIO2_EDGE_HIGH
[11:11]
read-write
- oneToClear
- GPIO10_EDGE_LOW
+ GPIO2_EDGE_LOW
[10:10]
read-write
- oneToClear
- GPIO10_LEVEL_HIGH
+ GPIO2_LEVEL_HIGH
[9:9]
- read-only
+ read-write
- GPIO10_LEVEL_LOW
+ GPIO2_LEVEL_LOW
[8:8]
- read-only
+ read-write
- GPIO9_EDGE_HIGH
+ GPIO1_EDGE_HIGH
[7:7]
read-write
- oneToClear
- GPIO9_EDGE_LOW
+ GPIO1_EDGE_LOW
[6:6]
read-write
- oneToClear
- GPIO9_LEVEL_HIGH
+ GPIO1_LEVEL_HIGH
[5:5]
- read-only
+ read-write
- GPIO9_LEVEL_LOW
+ GPIO1_LEVEL_LOW
[4:4]
- read-only
+ read-write
- GPIO8_EDGE_HIGH
+ GPIO0_EDGE_HIGH
[3:3]
read-write
- oneToClear
- GPIO8_EDGE_LOW
+ GPIO0_EDGE_LOW
[2:2]
read-write
- oneToClear
- GPIO8_LEVEL_HIGH
+ GPIO0_LEVEL_HIGH
[1:1]
- read-only
+ read-write
- GPIO8_LEVEL_LOW
+ GPIO0_LEVEL_LOW
[0:0]
- read-only
+ read-write
- INTR2
- Raw Interrupts
- 0x00f8
+ 40x40,1,2,3PROC0_INTF%s
+ Interrupt Force for proc%s
+ 0x0110
0x00000000
- GPIO23_EDGE_HIGH
+ GPIO7_EDGE_HIGH
[31:31]
read-write
- oneToClear
- GPIO23_EDGE_LOW
+ GPIO7_EDGE_LOW
[30:30]
read-write
- oneToClear
- GPIO23_LEVEL_HIGH
+ GPIO7_LEVEL_HIGH
[29:29]
- read-only
+ read-write
- GPIO23_LEVEL_LOW
+ GPIO7_LEVEL_LOW
[28:28]
- read-only
+ read-write
- GPIO22_EDGE_HIGH
+ GPIO6_EDGE_HIGH
[27:27]
read-write
- oneToClear
- GPIO22_EDGE_LOW
+ GPIO6_EDGE_LOW
[26:26]
read-write
- oneToClear
- GPIO22_LEVEL_HIGH
+ GPIO6_LEVEL_HIGH
[25:25]
- read-only
+ read-write
- GPIO22_LEVEL_LOW
+ GPIO6_LEVEL_LOW
[24:24]
- read-only
+ read-write
- GPIO21_EDGE_HIGH
+ GPIO5_EDGE_HIGH
[23:23]
read-write
- oneToClear
- GPIO21_EDGE_LOW
+ GPIO5_EDGE_LOW
[22:22]
read-write
- oneToClear
- GPIO21_LEVEL_HIGH
+ GPIO5_LEVEL_HIGH
[21:21]
- read-only
+ read-write
- GPIO21_LEVEL_LOW
+ GPIO5_LEVEL_LOW
[20:20]
- read-only
+ read-write
- GPIO20_EDGE_HIGH
+ GPIO4_EDGE_HIGH
[19:19]
read-write
- oneToClear
- GPIO20_EDGE_LOW
+ GPIO4_EDGE_LOW
[18:18]
read-write
- oneToClear
- GPIO20_LEVEL_HIGH
+ GPIO4_LEVEL_HIGH
[17:17]
- read-only
+ read-write
- GPIO20_LEVEL_LOW
+ GPIO4_LEVEL_LOW
[16:16]
- read-only
+ read-write
- GPIO19_EDGE_HIGH
+ GPIO3_EDGE_HIGH
[15:15]
read-write
- oneToClear
- GPIO19_EDGE_LOW
+ GPIO3_EDGE_LOW
[14:14]
read-write
- oneToClear
- GPIO19_LEVEL_HIGH
+ GPIO3_LEVEL_HIGH
[13:13]
- read-only
+ read-write
- GPIO19_LEVEL_LOW
+ GPIO3_LEVEL_LOW
[12:12]
- read-only
+ read-write
- GPIO18_EDGE_HIGH
+ GPIO2_EDGE_HIGH
[11:11]
read-write
- oneToClear
- GPIO18_EDGE_LOW
+ GPIO2_EDGE_LOW
[10:10]
read-write
- oneToClear
- GPIO18_LEVEL_HIGH
+ GPIO2_LEVEL_HIGH
[9:9]
- read-only
+ read-write
- GPIO18_LEVEL_LOW
+ GPIO2_LEVEL_LOW
[8:8]
- read-only
+ read-write
- GPIO17_EDGE_HIGH
+ GPIO1_EDGE_HIGH
[7:7]
read-write
- oneToClear
- GPIO17_EDGE_LOW
+ GPIO1_EDGE_LOW
[6:6]
read-write
- oneToClear
- GPIO17_LEVEL_HIGH
+ GPIO1_LEVEL_HIGH
[5:5]
- read-only
+ read-write
- GPIO17_LEVEL_LOW
+ GPIO1_LEVEL_LOW
[4:4]
- read-only
+ read-write
- GPIO16_EDGE_HIGH
+ GPIO0_EDGE_HIGH
[3:3]
read-write
- oneToClear
- GPIO16_EDGE_LOW
+ GPIO0_EDGE_LOW
[2:2]
read-write
- oneToClear
- GPIO16_LEVEL_HIGH
+ GPIO0_LEVEL_HIGH
[1:1]
- read-only
+ read-write
- GPIO16_LEVEL_LOW
+ GPIO0_LEVEL_LOW
[0:0]
- read-only
+ read-write
- INTR3
- Raw Interrupts
- 0x00fc
+ 40x40,1,2,3PROC0_INTS%s
+ Interrupt status after masking & forcing for proc%s
+ 0x0120
0x00000000
- GPIO29_EDGE_HIGH
- [23:23]
- read-write
- oneToClear
+ GPIO7_EDGE_HIGH
+ [31:31]
+ read-only
- GPIO29_EDGE_LOW
- [22:22]
- read-write
- oneToClear
+ GPIO7_EDGE_LOW
+ [30:30]
+ read-only
- GPIO29_LEVEL_HIGH
- [21:21]
+ GPIO7_LEVEL_HIGH
+ [29:29]
read-only
- GPIO29_LEVEL_LOW
- [20:20]
+ GPIO7_LEVEL_LOW
+ [28:28]
read-only
- GPIO28_EDGE_HIGH
+ GPIO6_EDGE_HIGH
+ [27:27]
+ read-only
+
+
+ GPIO6_EDGE_LOW
+ [26:26]
+ read-only
+
+
+ GPIO6_LEVEL_HIGH
+ [25:25]
+ read-only
+
+
+ GPIO6_LEVEL_LOW
+ [24:24]
+ read-only
+
+
+ GPIO5_EDGE_HIGH
+ [23:23]
+ read-only
+
+
+ GPIO5_EDGE_LOW
+ [22:22]
+ read-only
+
+
+ GPIO5_LEVEL_HIGH
+ [21:21]
+ read-only
+
+
+ GPIO5_LEVEL_LOW
+ [20:20]
+ read-only
+
+
+ GPIO4_EDGE_HIGH
[19:19]
- read-write
- oneToClear
+ read-only
- GPIO28_EDGE_LOW
+ GPIO4_EDGE_LOW
[18:18]
- read-write
- oneToClear
+ read-only
- GPIO28_LEVEL_HIGH
+ GPIO4_LEVEL_HIGH
[17:17]
read-only
- GPIO28_LEVEL_LOW
+ GPIO4_LEVEL_LOW
[16:16]
read-only
- GPIO27_EDGE_HIGH
+ GPIO3_EDGE_HIGH
[15:15]
- read-write
- oneToClear
+ read-only
- GPIO27_EDGE_LOW
+ GPIO3_EDGE_LOW
[14:14]
- read-write
- oneToClear
+ read-only
- GPIO27_LEVEL_HIGH
+ GPIO3_LEVEL_HIGH
[13:13]
read-only
- GPIO27_LEVEL_LOW
+ GPIO3_LEVEL_LOW
[12:12]
read-only
- GPIO26_EDGE_HIGH
+ GPIO2_EDGE_HIGH
[11:11]
- read-write
- oneToClear
+ read-only
- GPIO26_EDGE_LOW
+ GPIO2_EDGE_LOW
[10:10]
- read-write
- oneToClear
+ read-only
- GPIO26_LEVEL_HIGH
+ GPIO2_LEVEL_HIGH
[9:9]
read-only
- GPIO26_LEVEL_LOW
+ GPIO2_LEVEL_LOW
[8:8]
read-only
- GPIO25_EDGE_HIGH
+ GPIO1_EDGE_HIGH
[7:7]
- read-write
- oneToClear
+ read-only
- GPIO25_EDGE_LOW
+ GPIO1_EDGE_LOW
[6:6]
- read-write
- oneToClear
+ read-only
- GPIO25_LEVEL_HIGH
+ GPIO1_LEVEL_HIGH
[5:5]
read-only
- GPIO25_LEVEL_LOW
+ GPIO1_LEVEL_LOW
[4:4]
read-only
- GPIO24_EDGE_HIGH
+ GPIO0_EDGE_HIGH
[3:3]
- read-write
- oneToClear
+ read-only
- GPIO24_EDGE_LOW
+ GPIO0_EDGE_LOW
[2:2]
- read-write
- oneToClear
+ read-only
- GPIO24_LEVEL_HIGH
+ GPIO0_LEVEL_HIGH
[1:1]
read-only
- GPIO24_LEVEL_LOW
+ GPIO0_LEVEL_LOW
[0:0]
read-only
- PROC0_INTE0
- Interrupt Enable for proc0
- 0x0100
+ 40x40,1,2,3PROC1_INTE%s
+ Interrupt Enable for proc1
+ 0x0130
0x00000000
@@ -5167,3624 +5163,336 @@
- PROC0_INTE1
- Interrupt Enable for proc0
- 0x0104
+ 40x40,1,2,3PROC1_INTF%s
+ Interrupt Force for proc1
+ 0x0140
0x00000000
- GPIO15_EDGE_HIGH
+ GPIO7_EDGE_HIGH
[31:31]
read-write
- GPIO15_EDGE_LOW
+ GPIO7_EDGE_LOW
[30:30]
read-write
- GPIO15_LEVEL_HIGH
+ GPIO7_LEVEL_HIGH
[29:29]
read-write
- GPIO15_LEVEL_LOW
+ GPIO7_LEVEL_LOW
[28:28]
read-write
- GPIO14_EDGE_HIGH
+ GPIO6_EDGE_HIGH
[27:27]
read-write
- GPIO14_EDGE_LOW
+ GPIO6_EDGE_LOW
[26:26]
read-write
- GPIO14_LEVEL_HIGH
+ GPIO6_LEVEL_HIGH
[25:25]
read-write
- GPIO14_LEVEL_LOW
+ GPIO6_LEVEL_LOW
[24:24]
read-write
- GPIO13_EDGE_HIGH
+ GPIO5_EDGE_HIGH
[23:23]
read-write
- GPIO13_EDGE_LOW
+ GPIO5_EDGE_LOW
[22:22]
read-write
- GPIO13_LEVEL_HIGH
+ GPIO5_LEVEL_HIGH
[21:21]
read-write
- GPIO13_LEVEL_LOW
+ GPIO5_LEVEL_LOW
[20:20]
read-write
- GPIO12_EDGE_HIGH
+ GPIO4_EDGE_HIGH
[19:19]
read-write
- GPIO12_EDGE_LOW
+ GPIO4_EDGE_LOW
[18:18]
read-write
- GPIO12_LEVEL_HIGH
+ GPIO4_LEVEL_HIGH
[17:17]
read-write
- GPIO12_LEVEL_LOW
+ GPIO4_LEVEL_LOW
[16:16]
read-write
- GPIO11_EDGE_HIGH
+ GPIO3_EDGE_HIGH
[15:15]
read-write
- GPIO11_EDGE_LOW
+ GPIO3_EDGE_LOW
[14:14]
read-write
- GPIO11_LEVEL_HIGH
+ GPIO3_LEVEL_HIGH
[13:13]
read-write
- GPIO11_LEVEL_LOW
+ GPIO3_LEVEL_LOW
[12:12]
read-write
- GPIO10_EDGE_HIGH
+ GPIO2_EDGE_HIGH
[11:11]
read-write
- GPIO10_EDGE_LOW
+ GPIO2_EDGE_LOW
[10:10]
read-write
- GPIO10_LEVEL_HIGH
+ GPIO2_LEVEL_HIGH
[9:9]
read-write
- GPIO10_LEVEL_LOW
+ GPIO2_LEVEL_LOW
[8:8]
read-write
- GPIO9_EDGE_HIGH
+ GPIO1_EDGE_HIGH
[7:7]
read-write
- GPIO9_EDGE_LOW
+ GPIO1_EDGE_LOW
[6:6]
read-write
- GPIO9_LEVEL_HIGH
+ GPIO1_LEVEL_HIGH
[5:5]
read-write
- GPIO9_LEVEL_LOW
+ GPIO1_LEVEL_LOW
[4:4]
read-write
- GPIO8_EDGE_HIGH
+ GPIO0_EDGE_HIGH
[3:3]
read-write
- GPIO8_EDGE_LOW
+ GPIO0_EDGE_LOW
[2:2]
read-write
- GPIO8_LEVEL_HIGH
+ GPIO0_LEVEL_HIGH
[1:1]
read-write
- GPIO8_LEVEL_LOW
+ GPIO0_LEVEL_LOW
[0:0]
read-write
- PROC0_INTE2
- Interrupt Enable for proc0
- 0x0108
+ 40x40,1,2,3PROC1_INTS%s
+ Interrupt status after masking & forcing for proc1
+ 0x0150
0x00000000
- GPIO23_EDGE_HIGH
+ GPIO7_EDGE_HIGH
[31:31]
- read-write
+ read-only
- GPIO23_EDGE_LOW
+ GPIO7_EDGE_LOW
[30:30]
- read-write
+ read-only
- GPIO23_LEVEL_HIGH
+ GPIO7_LEVEL_HIGH
[29:29]
- read-write
+ read-only
- GPIO23_LEVEL_LOW
+ GPIO7_LEVEL_LOW
[28:28]
- read-write
+ read-only
- GPIO22_EDGE_HIGH
+ GPIO6_EDGE_HIGH
[27:27]
- read-write
+ read-only
- GPIO22_EDGE_LOW
+ GPIO6_EDGE_LOW
[26:26]
- read-write
+ read-only
- GPIO22_LEVEL_HIGH
+ GPIO6_LEVEL_HIGH
[25:25]
- read-write
+ read-only
- GPIO22_LEVEL_LOW
+ GPIO6_LEVEL_LOW
[24:24]
- read-write
+ read-only
- GPIO21_EDGE_HIGH
+ GPIO5_EDGE_HIGH
[23:23]
- read-write
+ read-only
- GPIO21_EDGE_LOW
+ GPIO5_EDGE_LOW
[22:22]
- read-write
+ read-only
- GPIO21_LEVEL_HIGH
+ GPIO5_LEVEL_HIGH
[21:21]
- read-write
+ read-only
- GPIO21_LEVEL_LOW
+ GPIO5_LEVEL_LOW
[20:20]
- read-write
+ read-only
- GPIO20_EDGE_HIGH
+ GPIO4_EDGE_HIGH
[19:19]
- read-write
+ read-only
- GPIO20_EDGE_LOW
+ GPIO4_EDGE_LOW
[18:18]
- read-write
+ read-only
- GPIO20_LEVEL_HIGH
+ GPIO4_LEVEL_HIGH
[17:17]
- read-write
+ read-only
- GPIO20_LEVEL_LOW
+ GPIO4_LEVEL_LOW
[16:16]
- read-write
+ read-only
- GPIO19_EDGE_HIGH
+ GPIO3_EDGE_HIGH
[15:15]
- read-write
+ read-only
- GPIO19_EDGE_LOW
- [14:14]
- read-write
-
-
- GPIO19_LEVEL_HIGH
- [13:13]
- read-write
-
-
- GPIO19_LEVEL_LOW
- [12:12]
- read-write
-
-
- GPIO18_EDGE_HIGH
- [11:11]
- read-write
-
-
- GPIO18_EDGE_LOW
- [10:10]
- read-write
-
-
- GPIO18_LEVEL_HIGH
- [9:9]
- read-write
-
-
- GPIO18_LEVEL_LOW
- [8:8]
- read-write
-
-
- GPIO17_EDGE_HIGH
- [7:7]
- read-write
-
-
- GPIO17_EDGE_LOW
- [6:6]
- read-write
-
-
- GPIO17_LEVEL_HIGH
- [5:5]
- read-write
-
-
- GPIO17_LEVEL_LOW
- [4:4]
- read-write
-
-
- GPIO16_EDGE_HIGH
- [3:3]
- read-write
-
-
- GPIO16_EDGE_LOW
- [2:2]
- read-write
-
-
- GPIO16_LEVEL_HIGH
- [1:1]
- read-write
-
-
- GPIO16_LEVEL_LOW
- [0:0]
- read-write
-
-
-
-
- PROC0_INTE3
- Interrupt Enable for proc0
- 0x010c
- 0x00000000
-
-
- GPIO29_EDGE_HIGH
- [23:23]
- read-write
-
-
- GPIO29_EDGE_LOW
- [22:22]
- read-write
-
-
- GPIO29_LEVEL_HIGH
- [21:21]
- read-write
-
-
- GPIO29_LEVEL_LOW
- [20:20]
- read-write
-
-
- GPIO28_EDGE_HIGH
- [19:19]
- read-write
-
-
- GPIO28_EDGE_LOW
- [18:18]
- read-write
-
-
- GPIO28_LEVEL_HIGH
- [17:17]
- read-write
-
-
- GPIO28_LEVEL_LOW
- [16:16]
- read-write
-
-
- GPIO27_EDGE_HIGH
- [15:15]
- read-write
-
-
- GPIO27_EDGE_LOW
- [14:14]
- read-write
-
-
- GPIO27_LEVEL_HIGH
- [13:13]
- read-write
-
-
- GPIO27_LEVEL_LOW
- [12:12]
- read-write
-
-
- GPIO26_EDGE_HIGH
- [11:11]
- read-write
-
-
- GPIO26_EDGE_LOW
- [10:10]
- read-write
-
-
- GPIO26_LEVEL_HIGH
- [9:9]
- read-write
-
-
- GPIO26_LEVEL_LOW
- [8:8]
- read-write
-
-
- GPIO25_EDGE_HIGH
- [7:7]
- read-write
-
-
- GPIO25_EDGE_LOW
- [6:6]
- read-write
-
-
- GPIO25_LEVEL_HIGH
- [5:5]
- read-write
-
-
- GPIO25_LEVEL_LOW
- [4:4]
- read-write
-
-
- GPIO24_EDGE_HIGH
- [3:3]
- read-write
-
-
- GPIO24_EDGE_LOW
- [2:2]
- read-write
-
-
- GPIO24_LEVEL_HIGH
- [1:1]
- read-write
-
-
- GPIO24_LEVEL_LOW
- [0:0]
- read-write
-
-
-
-
- PROC0_INTF0
- Interrupt Force for proc0
- 0x0110
- 0x00000000
-
-
- GPIO7_EDGE_HIGH
- [31:31]
- read-write
-
-
- GPIO7_EDGE_LOW
- [30:30]
- read-write
-
-
- GPIO7_LEVEL_HIGH
- [29:29]
- read-write
-
-
- GPIO7_LEVEL_LOW
- [28:28]
- read-write
-
-
- GPIO6_EDGE_HIGH
- [27:27]
- read-write
-
-
- GPIO6_EDGE_LOW
- [26:26]
- read-write
-
-
- GPIO6_LEVEL_HIGH
- [25:25]
- read-write
-
-
- GPIO6_LEVEL_LOW
- [24:24]
- read-write
-
-
- GPIO5_EDGE_HIGH
- [23:23]
- read-write
-
-
- GPIO5_EDGE_LOW
- [22:22]
- read-write
-
-
- GPIO5_LEVEL_HIGH
- [21:21]
- read-write
-
-
- GPIO5_LEVEL_LOW
- [20:20]
- read-write
-
-
- GPIO4_EDGE_HIGH
- [19:19]
- read-write
-
-
- GPIO4_EDGE_LOW
- [18:18]
- read-write
-
-
- GPIO4_LEVEL_HIGH
- [17:17]
- read-write
-
-
- GPIO4_LEVEL_LOW
- [16:16]
- read-write
-
-
- GPIO3_EDGE_HIGH
- [15:15]
- read-write
-
-
- GPIO3_EDGE_LOW
- [14:14]
- read-write
-
-
- GPIO3_LEVEL_HIGH
- [13:13]
- read-write
-
-
- GPIO3_LEVEL_LOW
- [12:12]
- read-write
-
-
- GPIO2_EDGE_HIGH
- [11:11]
- read-write
-
-
- GPIO2_EDGE_LOW
- [10:10]
- read-write
-
-
- GPIO2_LEVEL_HIGH
- [9:9]
- read-write
-
-
- GPIO2_LEVEL_LOW
- [8:8]
- read-write
-
-
- GPIO1_EDGE_HIGH
- [7:7]
- read-write
-
-
- GPIO1_EDGE_LOW
- [6:6]
- read-write
-
-
- GPIO1_LEVEL_HIGH
- [5:5]
- read-write
-
-
- GPIO1_LEVEL_LOW
- [4:4]
- read-write
-
-
- GPIO0_EDGE_HIGH
- [3:3]
- read-write
-
-
- GPIO0_EDGE_LOW
- [2:2]
- read-write
-
-
- GPIO0_LEVEL_HIGH
- [1:1]
- read-write
-
-
- GPIO0_LEVEL_LOW
- [0:0]
- read-write
-
-
-
-
- PROC0_INTF1
- Interrupt Force for proc0
- 0x0114
- 0x00000000
-
-
- GPIO15_EDGE_HIGH
- [31:31]
- read-write
-
-
- GPIO15_EDGE_LOW
- [30:30]
- read-write
-
-
- GPIO15_LEVEL_HIGH
- [29:29]
- read-write
-
-
- GPIO15_LEVEL_LOW
- [28:28]
- read-write
-
-
- GPIO14_EDGE_HIGH
- [27:27]
- read-write
-
-
- GPIO14_EDGE_LOW
- [26:26]
- read-write
-
-
- GPIO14_LEVEL_HIGH
- [25:25]
- read-write
-
-
- GPIO14_LEVEL_LOW
- [24:24]
- read-write
-
-
- GPIO13_EDGE_HIGH
- [23:23]
- read-write
-
-
- GPIO13_EDGE_LOW
- [22:22]
- read-write
-
-
- GPIO13_LEVEL_HIGH
- [21:21]
- read-write
-
-
- GPIO13_LEVEL_LOW
- [20:20]
- read-write
-
-
- GPIO12_EDGE_HIGH
- [19:19]
- read-write
-
-
- GPIO12_EDGE_LOW
- [18:18]
- read-write
-
-
- GPIO12_LEVEL_HIGH
- [17:17]
- read-write
-
-
- GPIO12_LEVEL_LOW
- [16:16]
- read-write
-
-
- GPIO11_EDGE_HIGH
- [15:15]
- read-write
-
-
- GPIO11_EDGE_LOW
- [14:14]
- read-write
-
-
- GPIO11_LEVEL_HIGH
- [13:13]
- read-write
-
-
- GPIO11_LEVEL_LOW
- [12:12]
- read-write
-
-
- GPIO10_EDGE_HIGH
- [11:11]
- read-write
-
-
- GPIO10_EDGE_LOW
- [10:10]
- read-write
-
-
- GPIO10_LEVEL_HIGH
- [9:9]
- read-write
-
-
- GPIO10_LEVEL_LOW
- [8:8]
- read-write
-
-
- GPIO9_EDGE_HIGH
- [7:7]
- read-write
-
-
- GPIO9_EDGE_LOW
- [6:6]
- read-write
-
-
- GPIO9_LEVEL_HIGH
- [5:5]
- read-write
-
-
- GPIO9_LEVEL_LOW
- [4:4]
- read-write
-
-
- GPIO8_EDGE_HIGH
- [3:3]
- read-write
-
-
- GPIO8_EDGE_LOW
- [2:2]
- read-write
-
-
- GPIO8_LEVEL_HIGH
- [1:1]
- read-write
-
-
- GPIO8_LEVEL_LOW
- [0:0]
- read-write
-
-
-
-
- PROC0_INTF2
- Interrupt Force for proc0
- 0x0118
- 0x00000000
-
-
- GPIO23_EDGE_HIGH
- [31:31]
- read-write
-
-
- GPIO23_EDGE_LOW
- [30:30]
- read-write
-
-
- GPIO23_LEVEL_HIGH
- [29:29]
- read-write
-
-
- GPIO23_LEVEL_LOW
- [28:28]
- read-write
-
-
- GPIO22_EDGE_HIGH
- [27:27]
- read-write
-
-
- GPIO22_EDGE_LOW
- [26:26]
- read-write
-
-
- GPIO22_LEVEL_HIGH
- [25:25]
- read-write
-
-
- GPIO22_LEVEL_LOW
- [24:24]
- read-write
-
-
- GPIO21_EDGE_HIGH
- [23:23]
- read-write
-
-
- GPIO21_EDGE_LOW
- [22:22]
- read-write
-
-
- GPIO21_LEVEL_HIGH
- [21:21]
- read-write
-
-
- GPIO21_LEVEL_LOW
- [20:20]
- read-write
-
-
- GPIO20_EDGE_HIGH
- [19:19]
- read-write
-
-
- GPIO20_EDGE_LOW
- [18:18]
- read-write
-
-
- GPIO20_LEVEL_HIGH
- [17:17]
- read-write
-
-
- GPIO20_LEVEL_LOW
- [16:16]
- read-write
-
-
- GPIO19_EDGE_HIGH
- [15:15]
- read-write
-
-
- GPIO19_EDGE_LOW
- [14:14]
- read-write
-
-
- GPIO19_LEVEL_HIGH
- [13:13]
- read-write
-
-
- GPIO19_LEVEL_LOW
- [12:12]
- read-write
-
-
- GPIO18_EDGE_HIGH
- [11:11]
- read-write
-
-
- GPIO18_EDGE_LOW
- [10:10]
- read-write
-
-
- GPIO18_LEVEL_HIGH
- [9:9]
- read-write
-
-
- GPIO18_LEVEL_LOW
- [8:8]
- read-write
-
-
- GPIO17_EDGE_HIGH
- [7:7]
- read-write
-
-
- GPIO17_EDGE_LOW
- [6:6]
- read-write
-
-
- GPIO17_LEVEL_HIGH
- [5:5]
- read-write
-
-
- GPIO17_LEVEL_LOW
- [4:4]
- read-write
-
-
- GPIO16_EDGE_HIGH
- [3:3]
- read-write
-
-
- GPIO16_EDGE_LOW
- [2:2]
- read-write
-
-
- GPIO16_LEVEL_HIGH
- [1:1]
- read-write
-
-
- GPIO16_LEVEL_LOW
- [0:0]
- read-write
-
-
-
-
- PROC0_INTF3
- Interrupt Force for proc0
- 0x011c
- 0x00000000
-
-
- GPIO29_EDGE_HIGH
- [23:23]
- read-write
-
-
- GPIO29_EDGE_LOW
- [22:22]
- read-write
-
-
- GPIO29_LEVEL_HIGH
- [21:21]
- read-write
-
-
- GPIO29_LEVEL_LOW
- [20:20]
- read-write
-
-
- GPIO28_EDGE_HIGH
- [19:19]
- read-write
-
-
- GPIO28_EDGE_LOW
- [18:18]
- read-write
-
-
- GPIO28_LEVEL_HIGH
- [17:17]
- read-write
-
-
- GPIO28_LEVEL_LOW
- [16:16]
- read-write
-
-
- GPIO27_EDGE_HIGH
- [15:15]
- read-write
-
-
- GPIO27_EDGE_LOW
- [14:14]
- read-write
-
-
- GPIO27_LEVEL_HIGH
- [13:13]
- read-write
-
-
- GPIO27_LEVEL_LOW
- [12:12]
- read-write
-
-
- GPIO26_EDGE_HIGH
- [11:11]
- read-write
-
-
- GPIO26_EDGE_LOW
- [10:10]
- read-write
-
-
- GPIO26_LEVEL_HIGH
- [9:9]
- read-write
-
-
- GPIO26_LEVEL_LOW
- [8:8]
- read-write
-
-
- GPIO25_EDGE_HIGH
- [7:7]
- read-write
-
-
- GPIO25_EDGE_LOW
- [6:6]
- read-write
-
-
- GPIO25_LEVEL_HIGH
- [5:5]
- read-write
-
-
- GPIO25_LEVEL_LOW
- [4:4]
- read-write
-
-
- GPIO24_EDGE_HIGH
- [3:3]
- read-write
-
-
- GPIO24_EDGE_LOW
- [2:2]
- read-write
-
-
- GPIO24_LEVEL_HIGH
- [1:1]
- read-write
-
-
- GPIO24_LEVEL_LOW
- [0:0]
- read-write
-
-
-
-
- PROC0_INTS0
- Interrupt status after masking & forcing for proc0
- 0x0120
- 0x00000000
-
-
- GPIO7_EDGE_HIGH
- [31:31]
- read-only
-
-
- GPIO7_EDGE_LOW
- [30:30]
- read-only
-
-
- GPIO7_LEVEL_HIGH
- [29:29]
- read-only
-
-
- GPIO7_LEVEL_LOW
- [28:28]
- read-only
-
-
- GPIO6_EDGE_HIGH
- [27:27]
- read-only
-
-
- GPIO6_EDGE_LOW
- [26:26]
- read-only
-
-
- GPIO6_LEVEL_HIGH
- [25:25]
- read-only
-
-
- GPIO6_LEVEL_LOW
- [24:24]
- read-only
-
-
- GPIO5_EDGE_HIGH
- [23:23]
- read-only
-
-
- GPIO5_EDGE_LOW
- [22:22]
- read-only
-
-
- GPIO5_LEVEL_HIGH
- [21:21]
- read-only
-
-
- GPIO5_LEVEL_LOW
- [20:20]
- read-only
-
-
- GPIO4_EDGE_HIGH
- [19:19]
- read-only
-
-
- GPIO4_EDGE_LOW
- [18:18]
- read-only
-
-
- GPIO4_LEVEL_HIGH
- [17:17]
- read-only
-
-
- GPIO4_LEVEL_LOW
- [16:16]
- read-only
-
-
- GPIO3_EDGE_HIGH
- [15:15]
- read-only
-
-
- GPIO3_EDGE_LOW
- [14:14]
- read-only
-
-
- GPIO3_LEVEL_HIGH
- [13:13]
- read-only
-
-
- GPIO3_LEVEL_LOW
- [12:12]
- read-only
-
-
- GPIO2_EDGE_HIGH
- [11:11]
- read-only
-
-
- GPIO2_EDGE_LOW
- [10:10]
- read-only
-
-
- GPIO2_LEVEL_HIGH
- [9:9]
- read-only
-
-
- GPIO2_LEVEL_LOW
- [8:8]
- read-only
-
-
- GPIO1_EDGE_HIGH
- [7:7]
- read-only
-
-
- GPIO1_EDGE_LOW
- [6:6]
- read-only
-
-
- GPIO1_LEVEL_HIGH
- [5:5]
- read-only
-
-
- GPIO1_LEVEL_LOW
- [4:4]
- read-only
-
-
- GPIO0_EDGE_HIGH
- [3:3]
- read-only
-
-
- GPIO0_EDGE_LOW
- [2:2]
- read-only
-
-
- GPIO0_LEVEL_HIGH
- [1:1]
- read-only
-
-
- GPIO0_LEVEL_LOW
- [0:0]
- read-only
-
-
-
-
- PROC0_INTS1
- Interrupt status after masking & forcing for proc0
- 0x0124
- 0x00000000
-
-
- GPIO15_EDGE_HIGH
- [31:31]
- read-only
-
-
- GPIO15_EDGE_LOW
- [30:30]
- read-only
-
-
- GPIO15_LEVEL_HIGH
- [29:29]
- read-only
-
-
- GPIO15_LEVEL_LOW
- [28:28]
- read-only
-
-
- GPIO14_EDGE_HIGH
- [27:27]
- read-only
-
-
- GPIO14_EDGE_LOW
- [26:26]
- read-only
-
-
- GPIO14_LEVEL_HIGH
- [25:25]
- read-only
-
-
- GPIO14_LEVEL_LOW
- [24:24]
- read-only
-
-
- GPIO13_EDGE_HIGH
- [23:23]
- read-only
-
-
- GPIO13_EDGE_LOW
- [22:22]
- read-only
-
-
- GPIO13_LEVEL_HIGH
- [21:21]
- read-only
-
-
- GPIO13_LEVEL_LOW
- [20:20]
- read-only
-
-
- GPIO12_EDGE_HIGH
- [19:19]
- read-only
-
-
- GPIO12_EDGE_LOW
- [18:18]
- read-only
-
-
- GPIO12_LEVEL_HIGH
- [17:17]
- read-only
-
-
- GPIO12_LEVEL_LOW
- [16:16]
- read-only
-
-
- GPIO11_EDGE_HIGH
- [15:15]
- read-only
-
-
- GPIO11_EDGE_LOW
- [14:14]
- read-only
-
-
- GPIO11_LEVEL_HIGH
- [13:13]
- read-only
-
-
- GPIO11_LEVEL_LOW
- [12:12]
- read-only
-
-
- GPIO10_EDGE_HIGH
- [11:11]
- read-only
-
-
- GPIO10_EDGE_LOW
- [10:10]
- read-only
-
-
- GPIO10_LEVEL_HIGH
- [9:9]
- read-only
-
-
- GPIO10_LEVEL_LOW
- [8:8]
- read-only
-
-
- GPIO9_EDGE_HIGH
- [7:7]
- read-only
-
-
- GPIO9_EDGE_LOW
- [6:6]
- read-only
-
-
- GPIO9_LEVEL_HIGH
- [5:5]
- read-only
-
-
- GPIO9_LEVEL_LOW
- [4:4]
- read-only
-
-
- GPIO8_EDGE_HIGH
- [3:3]
- read-only
-
-
- GPIO8_EDGE_LOW
- [2:2]
- read-only
-
-
- GPIO8_LEVEL_HIGH
- [1:1]
- read-only
-
-
- GPIO8_LEVEL_LOW
- [0:0]
- read-only
-
-
-
-
- PROC0_INTS2
- Interrupt status after masking & forcing for proc0
- 0x0128
- 0x00000000
-
-
- GPIO23_EDGE_HIGH
- [31:31]
- read-only
-
-
- GPIO23_EDGE_LOW
- [30:30]
- read-only
-
-
- GPIO23_LEVEL_HIGH
- [29:29]
- read-only
-
-
- GPIO23_LEVEL_LOW
- [28:28]
- read-only
-
-
- GPIO22_EDGE_HIGH
- [27:27]
- read-only
-
-
- GPIO22_EDGE_LOW
- [26:26]
- read-only
-
-
- GPIO22_LEVEL_HIGH
- [25:25]
- read-only
-
-
- GPIO22_LEVEL_LOW
- [24:24]
- read-only
-
-
- GPIO21_EDGE_HIGH
- [23:23]
- read-only
-
-
- GPIO21_EDGE_LOW
- [22:22]
- read-only
-
-
- GPIO21_LEVEL_HIGH
- [21:21]
- read-only
-
-
- GPIO21_LEVEL_LOW
- [20:20]
- read-only
-
-
- GPIO20_EDGE_HIGH
- [19:19]
- read-only
-
-
- GPIO20_EDGE_LOW
- [18:18]
- read-only
-
-
- GPIO20_LEVEL_HIGH
- [17:17]
- read-only
-
-
- GPIO20_LEVEL_LOW
- [16:16]
- read-only
-
-
- GPIO19_EDGE_HIGH
- [15:15]
- read-only
-
-
- GPIO19_EDGE_LOW
- [14:14]
- read-only
-
-
- GPIO19_LEVEL_HIGH
- [13:13]
- read-only
-
-
- GPIO19_LEVEL_LOW
- [12:12]
- read-only
-
-
- GPIO18_EDGE_HIGH
- [11:11]
- read-only
-
-
- GPIO18_EDGE_LOW
- [10:10]
- read-only
-
-
- GPIO18_LEVEL_HIGH
- [9:9]
- read-only
-
-
- GPIO18_LEVEL_LOW
- [8:8]
- read-only
-
-
- GPIO17_EDGE_HIGH
- [7:7]
- read-only
-
-
- GPIO17_EDGE_LOW
- [6:6]
- read-only
-
-
- GPIO17_LEVEL_HIGH
- [5:5]
- read-only
-
-
- GPIO17_LEVEL_LOW
- [4:4]
- read-only
-
-
- GPIO16_EDGE_HIGH
- [3:3]
- read-only
-
-
- GPIO16_EDGE_LOW
- [2:2]
- read-only
-
-
- GPIO16_LEVEL_HIGH
- [1:1]
- read-only
-
-
- GPIO16_LEVEL_LOW
- [0:0]
- read-only
-
-
-
-
- PROC0_INTS3
- Interrupt status after masking & forcing for proc0
- 0x012c
- 0x00000000
-
-
- GPIO29_EDGE_HIGH
- [23:23]
- read-only
-
-
- GPIO29_EDGE_LOW
- [22:22]
- read-only
-
-
- GPIO29_LEVEL_HIGH
- [21:21]
- read-only
-
-
- GPIO29_LEVEL_LOW
- [20:20]
- read-only
-
-
- GPIO28_EDGE_HIGH
- [19:19]
- read-only
-
-
- GPIO28_EDGE_LOW
- [18:18]
- read-only
-
-
- GPIO28_LEVEL_HIGH
- [17:17]
- read-only
-
-
- GPIO28_LEVEL_LOW
- [16:16]
- read-only
-
-
- GPIO27_EDGE_HIGH
- [15:15]
- read-only
-
-
- GPIO27_EDGE_LOW
- [14:14]
- read-only
-
-
- GPIO27_LEVEL_HIGH
- [13:13]
- read-only
-
-
- GPIO27_LEVEL_LOW
- [12:12]
- read-only
-
-
- GPIO26_EDGE_HIGH
- [11:11]
- read-only
-
-
- GPIO26_EDGE_LOW
- [10:10]
- read-only
-
-
- GPIO26_LEVEL_HIGH
- [9:9]
- read-only
-
-
- GPIO26_LEVEL_LOW
- [8:8]
- read-only
-
-
- GPIO25_EDGE_HIGH
- [7:7]
- read-only
-
-
- GPIO25_EDGE_LOW
- [6:6]
- read-only
-
-
- GPIO25_LEVEL_HIGH
- [5:5]
- read-only
-
-
- GPIO25_LEVEL_LOW
- [4:4]
- read-only
-
-
- GPIO24_EDGE_HIGH
- [3:3]
- read-only
-
-
- GPIO24_EDGE_LOW
- [2:2]
- read-only
-
-
- GPIO24_LEVEL_HIGH
- [1:1]
- read-only
-
-
- GPIO24_LEVEL_LOW
- [0:0]
- read-only
-
-
-
-
- PROC1_INTE0
- Interrupt Enable for proc1
- 0x0130
- 0x00000000
-
-
- GPIO7_EDGE_HIGH
- [31:31]
- read-write
-
-
- GPIO7_EDGE_LOW
- [30:30]
- read-write
-
-
- GPIO7_LEVEL_HIGH
- [29:29]
- read-write
-
-
- GPIO7_LEVEL_LOW
- [28:28]
- read-write
-
-
- GPIO6_EDGE_HIGH
- [27:27]
- read-write
-
-
- GPIO6_EDGE_LOW
- [26:26]
- read-write
-
-
- GPIO6_LEVEL_HIGH
- [25:25]
- read-write
-
-
- GPIO6_LEVEL_LOW
- [24:24]
- read-write
-
-
- GPIO5_EDGE_HIGH
- [23:23]
- read-write
-
-
- GPIO5_EDGE_LOW
- [22:22]
- read-write
-
-
- GPIO5_LEVEL_HIGH
- [21:21]
- read-write
-
-
- GPIO5_LEVEL_LOW
- [20:20]
- read-write
-
-
- GPIO4_EDGE_HIGH
- [19:19]
- read-write
-
-
- GPIO4_EDGE_LOW
- [18:18]
- read-write
-
-
- GPIO4_LEVEL_HIGH
- [17:17]
- read-write
-
-
- GPIO4_LEVEL_LOW
- [16:16]
- read-write
-
-
- GPIO3_EDGE_HIGH
- [15:15]
- read-write
-
-
- GPIO3_EDGE_LOW
- [14:14]
- read-write
-
-
- GPIO3_LEVEL_HIGH
- [13:13]
- read-write
-
-
- GPIO3_LEVEL_LOW
- [12:12]
- read-write
-
-
- GPIO2_EDGE_HIGH
- [11:11]
- read-write
-
-
- GPIO2_EDGE_LOW
- [10:10]
- read-write
-
-
- GPIO2_LEVEL_HIGH
- [9:9]
- read-write
-
-
- GPIO2_LEVEL_LOW
- [8:8]
- read-write
-
-
- GPIO1_EDGE_HIGH
- [7:7]
- read-write
-
-
- GPIO1_EDGE_LOW
- [6:6]
- read-write
-
-
- GPIO1_LEVEL_HIGH
- [5:5]
- read-write
-
-
- GPIO1_LEVEL_LOW
- [4:4]
- read-write
-
-
- GPIO0_EDGE_HIGH
- [3:3]
- read-write
-
-
- GPIO0_EDGE_LOW
- [2:2]
- read-write
-
-
- GPIO0_LEVEL_HIGH
- [1:1]
- read-write
-
-
- GPIO0_LEVEL_LOW
- [0:0]
- read-write
-
-
-
-
- PROC1_INTE1
- Interrupt Enable for proc1
- 0x0134
- 0x00000000
-
-
- GPIO15_EDGE_HIGH
- [31:31]
- read-write
-
-
- GPIO15_EDGE_LOW
- [30:30]
- read-write
-
-
- GPIO15_LEVEL_HIGH
- [29:29]
- read-write
-
-
- GPIO15_LEVEL_LOW
- [28:28]
- read-write
-
-
- GPIO14_EDGE_HIGH
- [27:27]
- read-write
-
-
- GPIO14_EDGE_LOW
- [26:26]
- read-write
-
-
- GPIO14_LEVEL_HIGH
- [25:25]
- read-write
-
-
- GPIO14_LEVEL_LOW
- [24:24]
- read-write
-
-
- GPIO13_EDGE_HIGH
- [23:23]
- read-write
-
-
- GPIO13_EDGE_LOW
- [22:22]
- read-write
-
-
- GPIO13_LEVEL_HIGH
- [21:21]
- read-write
-
-
- GPIO13_LEVEL_LOW
- [20:20]
- read-write
-
-
- GPIO12_EDGE_HIGH
- [19:19]
- read-write
-
-
- GPIO12_EDGE_LOW
- [18:18]
- read-write
-
-
- GPIO12_LEVEL_HIGH
- [17:17]
- read-write
-
-
- GPIO12_LEVEL_LOW
- [16:16]
- read-write
-
-
- GPIO11_EDGE_HIGH
- [15:15]
- read-write
-
-
- GPIO11_EDGE_LOW
- [14:14]
- read-write
-
-
- GPIO11_LEVEL_HIGH
- [13:13]
- read-write
-
-
- GPIO11_LEVEL_LOW
- [12:12]
- read-write
-
-
- GPIO10_EDGE_HIGH
- [11:11]
- read-write
-
-
- GPIO10_EDGE_LOW
- [10:10]
- read-write
-
-
- GPIO10_LEVEL_HIGH
- [9:9]
- read-write
-
-
- GPIO10_LEVEL_LOW
- [8:8]
- read-write
-
-
- GPIO9_EDGE_HIGH
- [7:7]
- read-write
-
-
- GPIO9_EDGE_LOW
- [6:6]
- read-write
-
-
- GPIO9_LEVEL_HIGH
- [5:5]
- read-write
-
-
- GPIO9_LEVEL_LOW
- [4:4]
- read-write
-
-
- GPIO8_EDGE_HIGH
- [3:3]
- read-write
-
-
- GPIO8_EDGE_LOW
- [2:2]
- read-write
-
-
- GPIO8_LEVEL_HIGH
- [1:1]
- read-write
-
-
- GPIO8_LEVEL_LOW
- [0:0]
- read-write
-
-
-
-
- PROC1_INTE2
- Interrupt Enable for proc1
- 0x0138
- 0x00000000
-
-
- GPIO23_EDGE_HIGH
- [31:31]
- read-write
-
-
- GPIO23_EDGE_LOW
- [30:30]
- read-write
-
-
- GPIO23_LEVEL_HIGH
- [29:29]
- read-write
-
-
- GPIO23_LEVEL_LOW
- [28:28]
- read-write
-
-
- GPIO22_EDGE_HIGH
- [27:27]
- read-write
-
-
- GPIO22_EDGE_LOW
- [26:26]
- read-write
-
-
- GPIO22_LEVEL_HIGH
- [25:25]
- read-write
-
-
- GPIO22_LEVEL_LOW
- [24:24]
- read-write
-
-
- GPIO21_EDGE_HIGH
- [23:23]
- read-write
-
-
- GPIO21_EDGE_LOW
- [22:22]
- read-write
-
-
- GPIO21_LEVEL_HIGH
- [21:21]
- read-write
-
-
- GPIO21_LEVEL_LOW
- [20:20]
- read-write
-
-
- GPIO20_EDGE_HIGH
- [19:19]
- read-write
-
-
- GPIO20_EDGE_LOW
- [18:18]
- read-write
-
-
- GPIO20_LEVEL_HIGH
- [17:17]
- read-write
-
-
- GPIO20_LEVEL_LOW
- [16:16]
- read-write
-
-
- GPIO19_EDGE_HIGH
- [15:15]
- read-write
-
-
- GPIO19_EDGE_LOW
- [14:14]
- read-write
-
-
- GPIO19_LEVEL_HIGH
- [13:13]
- read-write
-
-
- GPIO19_LEVEL_LOW
- [12:12]
- read-write
-
-
- GPIO18_EDGE_HIGH
- [11:11]
- read-write
-
-
- GPIO18_EDGE_LOW
- [10:10]
- read-write
-
-
- GPIO18_LEVEL_HIGH
- [9:9]
- read-write
-
-
- GPIO18_LEVEL_LOW
- [8:8]
- read-write
-
-
- GPIO17_EDGE_HIGH
- [7:7]
- read-write
-
-
- GPIO17_EDGE_LOW
- [6:6]
- read-write
-
-
- GPIO17_LEVEL_HIGH
- [5:5]
- read-write
-
-
- GPIO17_LEVEL_LOW
- [4:4]
- read-write
-
-
- GPIO16_EDGE_HIGH
- [3:3]
- read-write
-
-
- GPIO16_EDGE_LOW
- [2:2]
- read-write
-
-
- GPIO16_LEVEL_HIGH
- [1:1]
- read-write
-
-
- GPIO16_LEVEL_LOW
- [0:0]
- read-write
-
-
-
-
- PROC1_INTE3
- Interrupt Enable for proc1
- 0x013c
- 0x00000000
-
-
- GPIO29_EDGE_HIGH
- [23:23]
- read-write
-
-
- GPIO29_EDGE_LOW
- [22:22]
- read-write
-
-
- GPIO29_LEVEL_HIGH
- [21:21]
- read-write
-
-
- GPIO29_LEVEL_LOW
- [20:20]
- read-write
-
-
- GPIO28_EDGE_HIGH
- [19:19]
- read-write
-
-
- GPIO28_EDGE_LOW
- [18:18]
- read-write
-
-
- GPIO28_LEVEL_HIGH
- [17:17]
- read-write
-
-
- GPIO28_LEVEL_LOW
- [16:16]
- read-write
-
-
- GPIO27_EDGE_HIGH
- [15:15]
- read-write
-
-
- GPIO27_EDGE_LOW
- [14:14]
- read-write
-
-
- GPIO27_LEVEL_HIGH
- [13:13]
- read-write
-
-
- GPIO27_LEVEL_LOW
- [12:12]
- read-write
-
-
- GPIO26_EDGE_HIGH
- [11:11]
- read-write
-
-
- GPIO26_EDGE_LOW
- [10:10]
- read-write
-
-
- GPIO26_LEVEL_HIGH
- [9:9]
- read-write
-
-
- GPIO26_LEVEL_LOW
- [8:8]
- read-write
-
-
- GPIO25_EDGE_HIGH
- [7:7]
- read-write
-
-
- GPIO25_EDGE_LOW
- [6:6]
- read-write
-
-
- GPIO25_LEVEL_HIGH
- [5:5]
- read-write
-
-
- GPIO25_LEVEL_LOW
- [4:4]
- read-write
-
-
- GPIO24_EDGE_HIGH
- [3:3]
- read-write
-
-
- GPIO24_EDGE_LOW
- [2:2]
- read-write
-
-
- GPIO24_LEVEL_HIGH
- [1:1]
- read-write
-
-
- GPIO24_LEVEL_LOW
- [0:0]
- read-write
-
-
-
-
- PROC1_INTF0
- Interrupt Force for proc1
- 0x0140
- 0x00000000
-
-
- GPIO7_EDGE_HIGH
- [31:31]
- read-write
-
-
- GPIO7_EDGE_LOW
- [30:30]
- read-write
-
-
- GPIO7_LEVEL_HIGH
- [29:29]
- read-write
-
-
- GPIO7_LEVEL_LOW
- [28:28]
- read-write
-
-
- GPIO6_EDGE_HIGH
- [27:27]
- read-write
-
-
- GPIO6_EDGE_LOW
- [26:26]
- read-write
-
-
- GPIO6_LEVEL_HIGH
- [25:25]
- read-write
-
-
- GPIO6_LEVEL_LOW
- [24:24]
- read-write
-
-
- GPIO5_EDGE_HIGH
- [23:23]
- read-write
-
-
- GPIO5_EDGE_LOW
- [22:22]
- read-write
-
-
- GPIO5_LEVEL_HIGH
- [21:21]
- read-write
-
-
- GPIO5_LEVEL_LOW
- [20:20]
- read-write
-
-
- GPIO4_EDGE_HIGH
- [19:19]
- read-write
-
-
- GPIO4_EDGE_LOW
- [18:18]
- read-write
-
-
- GPIO4_LEVEL_HIGH
- [17:17]
- read-write
-
-
- GPIO4_LEVEL_LOW
- [16:16]
- read-write
-
-
- GPIO3_EDGE_HIGH
- [15:15]
- read-write
-
-
- GPIO3_EDGE_LOW
- [14:14]
- read-write
-
-
- GPIO3_LEVEL_HIGH
- [13:13]
- read-write
-
-
- GPIO3_LEVEL_LOW
- [12:12]
- read-write
-
-
- GPIO2_EDGE_HIGH
- [11:11]
- read-write
-
-
- GPIO2_EDGE_LOW
- [10:10]
- read-write
-
-
- GPIO2_LEVEL_HIGH
- [9:9]
- read-write
-
-
- GPIO2_LEVEL_LOW
- [8:8]
- read-write
-
-
- GPIO1_EDGE_HIGH
- [7:7]
- read-write
-
-
- GPIO1_EDGE_LOW
- [6:6]
- read-write
-
-
- GPIO1_LEVEL_HIGH
- [5:5]
- read-write
-
-
- GPIO1_LEVEL_LOW
- [4:4]
- read-write
-
-
- GPIO0_EDGE_HIGH
- [3:3]
- read-write
-
-
- GPIO0_EDGE_LOW
- [2:2]
- read-write
-
-
- GPIO0_LEVEL_HIGH
- [1:1]
- read-write
-
-
- GPIO0_LEVEL_LOW
- [0:0]
- read-write
-
-
-
-
- PROC1_INTF1
- Interrupt Force for proc1
- 0x0144
- 0x00000000
-
-
- GPIO15_EDGE_HIGH
- [31:31]
- read-write
-
-
- GPIO15_EDGE_LOW
- [30:30]
- read-write
-
-
- GPIO15_LEVEL_HIGH
- [29:29]
- read-write
-
-
- GPIO15_LEVEL_LOW
- [28:28]
- read-write
-
-
- GPIO14_EDGE_HIGH
- [27:27]
- read-write
-
-
- GPIO14_EDGE_LOW
- [26:26]
- read-write
-
-
- GPIO14_LEVEL_HIGH
- [25:25]
- read-write
-
-
- GPIO14_LEVEL_LOW
- [24:24]
- read-write
-
-
- GPIO13_EDGE_HIGH
- [23:23]
- read-write
-
-
- GPIO13_EDGE_LOW
- [22:22]
- read-write
-
-
- GPIO13_LEVEL_HIGH
- [21:21]
- read-write
-
-
- GPIO13_LEVEL_LOW
- [20:20]
- read-write
-
-
- GPIO12_EDGE_HIGH
- [19:19]
- read-write
-
-
- GPIO12_EDGE_LOW
- [18:18]
- read-write
-
-
- GPIO12_LEVEL_HIGH
- [17:17]
- read-write
-
-
- GPIO12_LEVEL_LOW
- [16:16]
- read-write
-
-
- GPIO11_EDGE_HIGH
- [15:15]
- read-write
-
-
- GPIO11_EDGE_LOW
- [14:14]
- read-write
-
-
- GPIO11_LEVEL_HIGH
- [13:13]
- read-write
-
-
- GPIO11_LEVEL_LOW
- [12:12]
- read-write
-
-
- GPIO10_EDGE_HIGH
- [11:11]
- read-write
-
-
- GPIO10_EDGE_LOW
- [10:10]
- read-write
-
-
- GPIO10_LEVEL_HIGH
- [9:9]
- read-write
-
-
- GPIO10_LEVEL_LOW
- [8:8]
- read-write
-
-
- GPIO9_EDGE_HIGH
- [7:7]
- read-write
-
-
- GPIO9_EDGE_LOW
- [6:6]
- read-write
-
-
- GPIO9_LEVEL_HIGH
- [5:5]
- read-write
-
-
- GPIO9_LEVEL_LOW
- [4:4]
- read-write
-
-
- GPIO8_EDGE_HIGH
- [3:3]
- read-write
-
-
- GPIO8_EDGE_LOW
- [2:2]
- read-write
-
-
- GPIO8_LEVEL_HIGH
- [1:1]
- read-write
-
-
- GPIO8_LEVEL_LOW
- [0:0]
- read-write
-
-
-
-
- PROC1_INTF2
- Interrupt Force for proc1
- 0x0148
- 0x00000000
-
-
- GPIO23_EDGE_HIGH
- [31:31]
- read-write
-
-
- GPIO23_EDGE_LOW
- [30:30]
- read-write
-
-
- GPIO23_LEVEL_HIGH
- [29:29]
- read-write
-
-
- GPIO23_LEVEL_LOW
- [28:28]
- read-write
-
-
- GPIO22_EDGE_HIGH
- [27:27]
- read-write
-
-
- GPIO22_EDGE_LOW
- [26:26]
- read-write
-
-
- GPIO22_LEVEL_HIGH
- [25:25]
- read-write
-
-
- GPIO22_LEVEL_LOW
- [24:24]
- read-write
-
-
- GPIO21_EDGE_HIGH
- [23:23]
- read-write
-
-
- GPIO21_EDGE_LOW
- [22:22]
- read-write
-
-
- GPIO21_LEVEL_HIGH
- [21:21]
- read-write
-
-
- GPIO21_LEVEL_LOW
- [20:20]
- read-write
-
-
- GPIO20_EDGE_HIGH
- [19:19]
- read-write
-
-
- GPIO20_EDGE_LOW
- [18:18]
- read-write
-
-
- GPIO20_LEVEL_HIGH
- [17:17]
- read-write
-
-
- GPIO20_LEVEL_LOW
- [16:16]
- read-write
-
-
- GPIO19_EDGE_HIGH
- [15:15]
- read-write
-
-
- GPIO19_EDGE_LOW
- [14:14]
- read-write
-
-
- GPIO19_LEVEL_HIGH
- [13:13]
- read-write
-
-
- GPIO19_LEVEL_LOW
- [12:12]
- read-write
-
-
- GPIO18_EDGE_HIGH
- [11:11]
- read-write
-
-
- GPIO18_EDGE_LOW
- [10:10]
- read-write
-
-
- GPIO18_LEVEL_HIGH
- [9:9]
- read-write
-
-
- GPIO18_LEVEL_LOW
- [8:8]
- read-write
-
-
- GPIO17_EDGE_HIGH
- [7:7]
- read-write
-
-
- GPIO17_EDGE_LOW
- [6:6]
- read-write
-
-
- GPIO17_LEVEL_HIGH
- [5:5]
- read-write
-
-
- GPIO17_LEVEL_LOW
- [4:4]
- read-write
-
-
- GPIO16_EDGE_HIGH
- [3:3]
- read-write
-
-
- GPIO16_EDGE_LOW
- [2:2]
- read-write
-
-
- GPIO16_LEVEL_HIGH
- [1:1]
- read-write
-
-
- GPIO16_LEVEL_LOW
- [0:0]
- read-write
-
-
-
-
- PROC1_INTF3
- Interrupt Force for proc1
- 0x014c
- 0x00000000
-
-
- GPIO29_EDGE_HIGH
- [23:23]
- read-write
-
-
- GPIO29_EDGE_LOW
- [22:22]
- read-write
-
-
- GPIO29_LEVEL_HIGH
- [21:21]
- read-write
-
-
- GPIO29_LEVEL_LOW
- [20:20]
- read-write
-
-
- GPIO28_EDGE_HIGH
- [19:19]
- read-write
-
-
- GPIO28_EDGE_LOW
- [18:18]
- read-write
-
-
- GPIO28_LEVEL_HIGH
- [17:17]
- read-write
-
-
- GPIO28_LEVEL_LOW
- [16:16]
- read-write
-
-
- GPIO27_EDGE_HIGH
- [15:15]
- read-write
-
-
- GPIO27_EDGE_LOW
- [14:14]
- read-write
-
-
- GPIO27_LEVEL_HIGH
- [13:13]
- read-write
-
-
- GPIO27_LEVEL_LOW
- [12:12]
- read-write
-
-
- GPIO26_EDGE_HIGH
- [11:11]
- read-write
-
-
- GPIO26_EDGE_LOW
- [10:10]
- read-write
-
-
- GPIO26_LEVEL_HIGH
- [9:9]
- read-write
-
-
- GPIO26_LEVEL_LOW
- [8:8]
- read-write
-
-
- GPIO25_EDGE_HIGH
- [7:7]
- read-write
-
-
- GPIO25_EDGE_LOW
- [6:6]
- read-write
-
-
- GPIO25_LEVEL_HIGH
- [5:5]
- read-write
-
-
- GPIO25_LEVEL_LOW
- [4:4]
- read-write
-
-
- GPIO24_EDGE_HIGH
- [3:3]
- read-write
-
-
- GPIO24_EDGE_LOW
- [2:2]
- read-write
-
-
- GPIO24_LEVEL_HIGH
- [1:1]
- read-write
-
-
- GPIO24_LEVEL_LOW
- [0:0]
- read-write
-
-
-
-
- PROC1_INTS0
- Interrupt status after masking & forcing for proc1
- 0x0150
- 0x00000000
-
-
- GPIO7_EDGE_HIGH
- [31:31]
- read-only
-
-
- GPIO7_EDGE_LOW
- [30:30]
- read-only
-
-
- GPIO7_LEVEL_HIGH
- [29:29]
- read-only
-
-
- GPIO7_LEVEL_LOW
- [28:28]
- read-only
-
-
- GPIO6_EDGE_HIGH
- [27:27]
- read-only
-
-
- GPIO6_EDGE_LOW
- [26:26]
- read-only
-
-
- GPIO6_LEVEL_HIGH
- [25:25]
- read-only
-
-
- GPIO6_LEVEL_LOW
- [24:24]
- read-only
-
-
- GPIO5_EDGE_HIGH
- [23:23]
- read-only
-
-
- GPIO5_EDGE_LOW
- [22:22]
- read-only
-
-
- GPIO5_LEVEL_HIGH
- [21:21]
- read-only
-
-
- GPIO5_LEVEL_LOW
- [20:20]
- read-only
-
-
- GPIO4_EDGE_HIGH
- [19:19]
- read-only
-
-
- GPIO4_EDGE_LOW
- [18:18]
- read-only
-
-
- GPIO4_LEVEL_HIGH
- [17:17]
- read-only
-
-
- GPIO4_LEVEL_LOW
- [16:16]
- read-only
-
-
- GPIO3_EDGE_HIGH
- [15:15]
- read-only
-
-
- GPIO3_EDGE_LOW
- [14:14]
- read-only
-
-
- GPIO3_LEVEL_HIGH
- [13:13]
- read-only
-
-
- GPIO3_LEVEL_LOW
- [12:12]
- read-only
-
-
- GPIO2_EDGE_HIGH
- [11:11]
- read-only
-
-
- GPIO2_EDGE_LOW
- [10:10]
- read-only
-
-
- GPIO2_LEVEL_HIGH
- [9:9]
- read-only
-
-
- GPIO2_LEVEL_LOW
- [8:8]
- read-only
-
-
- GPIO1_EDGE_HIGH
- [7:7]
- read-only
-
-
- GPIO1_EDGE_LOW
- [6:6]
- read-only
-
-
- GPIO1_LEVEL_HIGH
- [5:5]
- read-only
-
-
- GPIO1_LEVEL_LOW
- [4:4]
- read-only
-
-
- GPIO0_EDGE_HIGH
- [3:3]
- read-only
-
-
- GPIO0_EDGE_LOW
- [2:2]
- read-only
-
-
- GPIO0_LEVEL_HIGH
- [1:1]
- read-only
-
-
- GPIO0_LEVEL_LOW
- [0:0]
- read-only
-
-
-
-
- PROC1_INTS1
- Interrupt status after masking & forcing for proc1
- 0x0154
- 0x00000000
-
-
- GPIO15_EDGE_HIGH
- [31:31]
- read-only
-
-
- GPIO15_EDGE_LOW
- [30:30]
- read-only
-
-
- GPIO15_LEVEL_HIGH
- [29:29]
- read-only
-
-
- GPIO15_LEVEL_LOW
- [28:28]
- read-only
-
-
- GPIO14_EDGE_HIGH
- [27:27]
- read-only
-
-
- GPIO14_EDGE_LOW
- [26:26]
- read-only
-
-
- GPIO14_LEVEL_HIGH
- [25:25]
- read-only
-
-
- GPIO14_LEVEL_LOW
- [24:24]
- read-only
-
-
- GPIO13_EDGE_HIGH
- [23:23]
- read-only
-
-
- GPIO13_EDGE_LOW
- [22:22]
- read-only
-
-
- GPIO13_LEVEL_HIGH
- [21:21]
- read-only
-
-
- GPIO13_LEVEL_LOW
- [20:20]
- read-only
-
-
- GPIO12_EDGE_HIGH
- [19:19]
- read-only
-
-
- GPIO12_EDGE_LOW
- [18:18]
- read-only
-
-
- GPIO12_LEVEL_HIGH
- [17:17]
- read-only
-
-
- GPIO12_LEVEL_LOW
- [16:16]
- read-only
-
-
- GPIO11_EDGE_HIGH
- [15:15]
- read-only
-
-
- GPIO11_EDGE_LOW
- [14:14]
- read-only
-
-
- GPIO11_LEVEL_HIGH
- [13:13]
- read-only
-
-
- GPIO11_LEVEL_LOW
- [12:12]
- read-only
-
-
- GPIO10_EDGE_HIGH
- [11:11]
- read-only
-
-
- GPIO10_EDGE_LOW
- [10:10]
- read-only
-
-
- GPIO10_LEVEL_HIGH
- [9:9]
- read-only
-
-
- GPIO10_LEVEL_LOW
- [8:8]
- read-only
-
-
- GPIO9_EDGE_HIGH
- [7:7]
- read-only
-
-
- GPIO9_EDGE_LOW
- [6:6]
- read-only
-
-
- GPIO9_LEVEL_HIGH
- [5:5]
- read-only
-
-
- GPIO9_LEVEL_LOW
- [4:4]
- read-only
-
-
- GPIO8_EDGE_HIGH
- [3:3]
- read-only
-
-
- GPIO8_EDGE_LOW
- [2:2]
- read-only
-
-
- GPIO8_LEVEL_HIGH
- [1:1]
- read-only
-
-
- GPIO8_LEVEL_LOW
- [0:0]
- read-only
-
-
-
-
- PROC1_INTS2
- Interrupt status after masking & forcing for proc1
- 0x0158
- 0x00000000
-
-
- GPIO23_EDGE_HIGH
- [31:31]
- read-only
-
-
- GPIO23_EDGE_LOW
- [30:30]
- read-only
-
-
- GPIO23_LEVEL_HIGH
- [29:29]
- read-only
-
-
- GPIO23_LEVEL_LOW
- [28:28]
- read-only
-
-
- GPIO22_EDGE_HIGH
- [27:27]
- read-only
-
-
- GPIO22_EDGE_LOW
- [26:26]
- read-only
-
-
- GPIO22_LEVEL_HIGH
- [25:25]
- read-only
-
-
- GPIO22_LEVEL_LOW
- [24:24]
- read-only
-
-
- GPIO21_EDGE_HIGH
- [23:23]
- read-only
-
-
- GPIO21_EDGE_LOW
- [22:22]
- read-only
-
-
- GPIO21_LEVEL_HIGH
- [21:21]
- read-only
-
-
- GPIO21_LEVEL_LOW
- [20:20]
- read-only
-
-
- GPIO20_EDGE_HIGH
- [19:19]
- read-only
-
-
- GPIO20_EDGE_LOW
- [18:18]
- read-only
-
-
- GPIO20_LEVEL_HIGH
- [17:17]
- read-only
-
-
- GPIO20_LEVEL_LOW
- [16:16]
- read-only
-
-
- GPIO19_EDGE_HIGH
- [15:15]
- read-only
-
-
- GPIO19_EDGE_LOW
- [14:14]
- read-only
-
-
- GPIO19_LEVEL_HIGH
- [13:13]
- read-only
-
-
- GPIO19_LEVEL_LOW
- [12:12]
- read-only
-
-
- GPIO18_EDGE_HIGH
- [11:11]
- read-only
-
-
- GPIO18_EDGE_LOW
- [10:10]
- read-only
-
-
- GPIO18_LEVEL_HIGH
- [9:9]
- read-only
-
-
- GPIO18_LEVEL_LOW
- [8:8]
- read-only
-
-
- GPIO17_EDGE_HIGH
- [7:7]
- read-only
-
-
- GPIO17_EDGE_LOW
- [6:6]
- read-only
-
-
- GPIO17_LEVEL_HIGH
- [5:5]
- read-only
-
-
- GPIO17_LEVEL_LOW
- [4:4]
- read-only
-
-
- GPIO16_EDGE_HIGH
- [3:3]
- read-only
-
-
- GPIO16_EDGE_LOW
- [2:2]
- read-only
-
-
- GPIO16_LEVEL_HIGH
- [1:1]
- read-only
-
-
- GPIO16_LEVEL_LOW
- [0:0]
- read-only
-
-
-
-
- PROC1_INTS3
- Interrupt status after masking & forcing for proc1
- 0x015c
- 0x00000000
-
-
- GPIO29_EDGE_HIGH
- [23:23]
- read-only
-
-
- GPIO29_EDGE_LOW
- [22:22]
- read-only
-
-
- GPIO29_LEVEL_HIGH
- [21:21]
- read-only
-
-
- GPIO29_LEVEL_LOW
- [20:20]
- read-only
-
-
- GPIO28_EDGE_HIGH
- [19:19]
- read-only
-
-
- GPIO28_EDGE_LOW
- [18:18]
- read-only
-
-
- GPIO28_LEVEL_HIGH
- [17:17]
- read-only
-
-
- GPIO28_LEVEL_LOW
- [16:16]
- read-only
-
-
- GPIO27_EDGE_HIGH
- [15:15]
- read-only
-
-
- GPIO27_EDGE_LOW
+ GPIO3_EDGE_LOW
[14:14]
read-only
- GPIO27_LEVEL_HIGH
+ GPIO3_LEVEL_HIGH
[13:13]
read-only
- GPIO27_LEVEL_LOW
+ GPIO3_LEVEL_LOW
[12:12]
read-only
- GPIO26_EDGE_HIGH
+ GPIO2_EDGE_HIGH
[11:11]
read-only
- GPIO26_EDGE_LOW
+ GPIO2_EDGE_LOW
[10:10]
read-only
- GPIO26_LEVEL_HIGH
+ GPIO2_LEVEL_HIGH
[9:9]
read-only
- GPIO26_LEVEL_LOW
+ GPIO2_LEVEL_LOW
[8:8]
read-only
- GPIO25_EDGE_HIGH
+ GPIO1_EDGE_HIGH
[7:7]
read-only
- GPIO25_EDGE_LOW
+ GPIO1_EDGE_LOW
[6:6]
read-only
- GPIO25_LEVEL_HIGH
+ GPIO1_LEVEL_HIGH
[5:5]
read-only
- GPIO25_LEVEL_LOW
+ GPIO1_LEVEL_LOW
[4:4]
read-only
- GPIO24_EDGE_HIGH
+ GPIO0_EDGE_HIGH
[3:3]
read-only
- GPIO24_EDGE_LOW
+ GPIO0_EDGE_LOW
[2:2]
read-only
- GPIO24_LEVEL_HIGH
+ GPIO0_LEVEL_HIGH
[1:1]
read-only
- GPIO24_LEVEL_LOW
+ GPIO0_LEVEL_LOW
[0:0]
read-only
From 0d845736c1c2ee02e1f2200221b0ec9e01637821 Mon Sep 17 00:00:00 2001
From: 9names <60134748+9names@users.noreply.github.com>
Date: Sun, 17 Oct 2021 21:00:03 +1100
Subject: [PATCH 3/7] Add generated files
---
src/io_bank0.rs | 202 +--
src/io_bank0/{intr0.rs => intr.rs} | 38 +-
src/io_bank0/intr1.rs | 1110 ------------
src/io_bank0/intr2.rs | 1110 ------------
src/io_bank0/intr3.rs | 850 ---------
.../{proc0_intf0.rs => proc0_inte.rs} | 40 +-
src/io_bank0/proc0_inte1.rs | 1542 -----------------
src/io_bank0/proc0_inte2.rs | 1542 -----------------
src/io_bank0/proc0_inte3.rs | 1174 -------------
.../{proc0_inte0.rs => proc0_intf.rs} | 40 +-
src/io_bank0/proc0_intf1.rs | 1542 -----------------
src/io_bank0/proc0_intf2.rs | 1542 -----------------
src/io_bank0/proc0_intf3.rs | 1174 -------------
.../{proc0_ints0.rs => proc0_ints.rs} | 26 +-
src/io_bank0/proc0_ints1.rs | 645 -------
src/io_bank0/proc0_ints2.rs | 645 -------
src/io_bank0/proc0_ints3.rs | 493 ------
.../{proc1_inte0.rs => proc1_inte.rs} | 38 +-
src/io_bank0/proc1_inte1.rs | 1542 -----------------
src/io_bank0/proc1_inte2.rs | 1542 -----------------
src/io_bank0/proc1_inte3.rs | 1174 -------------
.../{proc1_intf0.rs => proc1_intf.rs} | 38 +-
src/io_bank0/proc1_intf1.rs | 1542 -----------------
src/io_bank0/proc1_intf2.rs | 1542 -----------------
src/io_bank0/proc1_intf3.rs | 1174 -------------
.../{proc1_ints0.rs => proc1_ints.rs} | 24 +-
src/io_bank0/proc1_ints1.rs | 645 -------
src/io_bank0/proc1_ints2.rs | 645 -------
src/io_bank0/proc1_ints3.rs | 493 ------
29 files changed, 160 insertions(+), 23954 deletions(-)
rename src/io_bank0/{intr0.rs => intr.rs} (97%)
delete mode 100644 src/io_bank0/intr1.rs
delete mode 100644 src/io_bank0/intr2.rs
delete mode 100644 src/io_bank0/intr3.rs
rename src/io_bank0/{proc0_intf0.rs => proc0_inte.rs} (97%)
delete mode 100644 src/io_bank0/proc0_inte1.rs
delete mode 100644 src/io_bank0/proc0_inte2.rs
delete mode 100644 src/io_bank0/proc0_inte3.rs
rename src/io_bank0/{proc0_inte0.rs => proc0_intf.rs} (97%)
delete mode 100644 src/io_bank0/proc0_intf1.rs
delete mode 100644 src/io_bank0/proc0_intf2.rs
delete mode 100644 src/io_bank0/proc0_intf3.rs
rename src/io_bank0/{proc0_ints0.rs => proc0_ints.rs} (96%)
delete mode 100644 src/io_bank0/proc0_ints1.rs
delete mode 100644 src/io_bank0/proc0_ints2.rs
delete mode 100644 src/io_bank0/proc0_ints3.rs
rename src/io_bank0/{proc1_inte0.rs => proc1_inte.rs} (97%)
delete mode 100644 src/io_bank0/proc1_inte1.rs
delete mode 100644 src/io_bank0/proc1_inte2.rs
delete mode 100644 src/io_bank0/proc1_inte3.rs
rename src/io_bank0/{proc1_intf0.rs => proc1_intf.rs} (97%)
delete mode 100644 src/io_bank0/proc1_intf1.rs
delete mode 100644 src/io_bank0/proc1_intf2.rs
delete mode 100644 src/io_bank0/proc1_intf3.rs
rename src/io_bank0/{proc1_ints0.rs => proc1_ints.rs} (96%)
delete mode 100644 src/io_bank0/proc1_ints1.rs
delete mode 100644 src/io_bank0/proc1_ints2.rs
delete mode 100644 src/io_bank0/proc1_ints3.rs
diff --git a/src/io_bank0.rs b/src/io_bank0.rs
index 34cd3e338..730aa924e 100644
--- a/src/io_bank0.rs
+++ b/src/io_bank0.rs
@@ -3,62 +3,20 @@
pub struct RegisterBlock {
#[doc = "0x00..0xf0 - Cluster GPIO%s, containing GPIO*_STATUS, GPIO*_CTRL"]
pub gpio: [GPIO; 30],
- #[doc = "0xf0 - Raw Interrupts"]
- pub intr0: crate::Reg,
- #[doc = "0xf4 - Raw Interrupts"]
- pub intr1: crate::Reg,
- #[doc = "0xf8 - Raw Interrupts"]
- pub intr2: crate::Reg,
- #[doc = "0xfc - Raw Interrupts"]
- pub intr3: crate::Reg,
- #[doc = "0x100 - Interrupt Enable for proc0"]
- pub proc0_inte0: crate::Reg,
- #[doc = "0x104 - Interrupt Enable for proc0"]
- pub proc0_inte1: crate::Reg,
- #[doc = "0x108 - Interrupt Enable for proc0"]
- pub proc0_inte2: crate::Reg,
- #[doc = "0x10c - Interrupt Enable for proc0"]
- pub proc0_inte3: crate::Reg,
- #[doc = "0x110 - Interrupt Force for proc0"]
- pub proc0_intf0: crate::Reg,
- #[doc = "0x114 - Interrupt Force for proc0"]
- pub proc0_intf1: crate::Reg,
- #[doc = "0x118 - Interrupt Force for proc0"]
- pub proc0_intf2: crate::Reg,
- #[doc = "0x11c - Interrupt Force for proc0"]
- pub proc0_intf3: crate::Reg,
- #[doc = "0x120 - Interrupt status after masking & forcing for proc0"]
- pub proc0_ints0: crate::Reg,
- #[doc = "0x124 - Interrupt status after masking & forcing for proc0"]
- pub proc0_ints1: crate::Reg,
- #[doc = "0x128 - Interrupt status after masking & forcing for proc0"]
- pub proc0_ints2: crate::Reg,
- #[doc = "0x12c - Interrupt status after masking & forcing for proc0"]
- pub proc0_ints3: crate::Reg,
- #[doc = "0x130 - Interrupt Enable for proc1"]
- pub proc1_inte0: crate::Reg,
- #[doc = "0x134 - Interrupt Enable for proc1"]
- pub proc1_inte1: crate::Reg,
- #[doc = "0x138 - Interrupt Enable for proc1"]
- pub proc1_inte2: crate::Reg,
- #[doc = "0x13c - Interrupt Enable for proc1"]
- pub proc1_inte3: crate::Reg,
- #[doc = "0x140 - Interrupt Force for proc1"]
- pub proc1_intf0: crate::Reg,
- #[doc = "0x144 - Interrupt Force for proc1"]
- pub proc1_intf1: crate::Reg,
- #[doc = "0x148 - Interrupt Force for proc1"]
- pub proc1_intf2: crate::Reg,
- #[doc = "0x14c - Interrupt Force for proc1"]
- pub proc1_intf3: crate::Reg,
- #[doc = "0x150 - Interrupt status after masking & forcing for proc1"]
- pub proc1_ints0: crate::Reg,
- #[doc = "0x154 - Interrupt status after masking & forcing for proc1"]
- pub proc1_ints1: crate::Reg,
- #[doc = "0x158 - Interrupt status after masking & forcing for proc1"]
- pub proc1_ints2: crate::Reg,
- #[doc = "0x15c - Interrupt status after masking & forcing for proc1"]
- pub proc1_ints3: crate::Reg,
+ #[doc = "0xf0..0x100 - Raw Interrupts"]
+ pub intr: [crate::Reg; 4],
+ #[doc = "0x100..0x110 - Interrupt Enable for proc%s"]
+ pub proc0_inte: [crate::Reg; 4],
+ #[doc = "0x110..0x120 - Interrupt Force for proc%s"]
+ pub proc0_intf: [crate::Reg; 4],
+ #[doc = "0x120..0x130 - Interrupt status after masking & forcing for proc%s"]
+ pub proc0_ints: [crate::Reg; 4],
+ #[doc = "0x130..0x140 - Interrupt Enable for proc1"]
+ pub proc1_inte: [crate::Reg; 4],
+ #[doc = "0x140..0x150 - Interrupt Force for proc1"]
+ pub proc1_intf: [crate::Reg; 4],
+ #[doc = "0x150..0x160 - Interrupt status after masking & forcing for proc1"]
+ pub proc1_ints: [crate::Reg; 4],
#[doc = "0x160 - Interrupt Enable for dormant_wake"]
pub dormant_wake_inte0: crate::Reg,
#[doc = "0x164 - Interrupt Enable for dormant_wake"]
@@ -95,118 +53,34 @@ pub struct GPIO {
#[doc = r"Register block"]
#[doc = "Cluster GPIO%s, containing GPIO*_STATUS, GPIO*_CTRL"]
pub mod gpio;
-#[doc = "INTR0 register accessor: an alias for `Reg`"]
-pub type INTR0 = crate::Reg;
+#[doc = "INTR register accessor: an alias for `Reg`"]
+pub type INTR = crate::Reg;
#[doc = "Raw Interrupts"]
-pub mod intr0;
-#[doc = "INTR1 register accessor: an alias for `Reg`"]
-pub type INTR1 = crate::Reg;
-#[doc = "Raw Interrupts"]
-pub mod intr1;
-#[doc = "INTR2 register accessor: an alias for `Reg`"]
-pub type INTR2 = crate::Reg;
-#[doc = "Raw Interrupts"]
-pub mod intr2;
-#[doc = "INTR3 register accessor: an alias for `Reg`"]
-pub type INTR3 = crate::Reg;
-#[doc = "Raw Interrupts"]
-pub mod intr3;
-#[doc = "PROC0_INTE0 register accessor: an alias for `Reg`"]
-pub type PROC0_INTE0 = crate::Reg;
-#[doc = "Interrupt Enable for proc0"]
-pub mod proc0_inte0;
-#[doc = "PROC0_INTE1 register accessor: an alias for `Reg`"]
-pub type PROC0_INTE1 = crate::Reg;
-#[doc = "Interrupt Enable for proc0"]
-pub mod proc0_inte1;
-#[doc = "PROC0_INTE2 register accessor: an alias for `Reg`"]
-pub type PROC0_INTE2 = crate::Reg;
-#[doc = "Interrupt Enable for proc0"]
-pub mod proc0_inte2;
-#[doc = "PROC0_INTE3 register accessor: an alias for `Reg`"]
-pub type PROC0_INTE3 = crate::Reg;
-#[doc = "Interrupt Enable for proc0"]
-pub mod proc0_inte3;
-#[doc = "PROC0_INTF0 register accessor: an alias for `Reg`"]
-pub type PROC0_INTF0 = crate::Reg;
-#[doc = "Interrupt Force for proc0"]
-pub mod proc0_intf0;
-#[doc = "PROC0_INTF1 register accessor: an alias for `Reg`"]
-pub type PROC0_INTF1 = crate::Reg;
-#[doc = "Interrupt Force for proc0"]
-pub mod proc0_intf1;
-#[doc = "PROC0_INTF2 register accessor: an alias for `Reg`"]
-pub type PROC0_INTF2 = crate::Reg;
-#[doc = "Interrupt Force for proc0"]
-pub mod proc0_intf2;
-#[doc = "PROC0_INTF3 register accessor: an alias for `Reg`"]
-pub type PROC0_INTF3 = crate::Reg;
-#[doc = "Interrupt Force for proc0"]
-pub mod proc0_intf3;
-#[doc = "PROC0_INTS0 register accessor: an alias for `Reg`"]
-pub type PROC0_INTS0 = crate::Reg;
-#[doc = "Interrupt status after masking & forcing for proc0"]
-pub mod proc0_ints0;
-#[doc = "PROC0_INTS1 register accessor: an alias for `Reg`"]
-pub type PROC0_INTS1 = crate::Reg;
-#[doc = "Interrupt status after masking & forcing for proc0"]
-pub mod proc0_ints1;
-#[doc = "PROC0_INTS2 register accessor: an alias for `Reg`"]
-pub type PROC0_INTS2 = crate::Reg;
-#[doc = "Interrupt status after masking & forcing for proc0"]
-pub mod proc0_ints2;
-#[doc = "PROC0_INTS3 register accessor: an alias for `Reg`"]
-pub type PROC0_INTS3 = crate::Reg;
-#[doc = "Interrupt status after masking & forcing for proc0"]
-pub mod proc0_ints3;
-#[doc = "PROC1_INTE0 register accessor: an alias for `Reg`"]
-pub type PROC1_INTE0 = crate::Reg;
-#[doc = "Interrupt Enable for proc1"]
-pub mod proc1_inte0;
-#[doc = "PROC1_INTE1 register accessor: an alias for `Reg`"]
-pub type PROC1_INTE1 = crate::Reg;
-#[doc = "Interrupt Enable for proc1"]
-pub mod proc1_inte1;
-#[doc = "PROC1_INTE2 register accessor: an alias for `Reg`"]
-pub type PROC1_INTE2 = crate::Reg;
-#[doc = "Interrupt Enable for proc1"]
-pub mod proc1_inte2;
-#[doc = "PROC1_INTE3 register accessor: an alias for `Reg`"]
-pub type PROC1_INTE3 = crate::Reg;
+pub mod intr;
+#[doc = "PROC0_INTE register accessor: an alias for `Reg`"]
+pub type PROC0_INTE = crate::Reg;
+#[doc = "Interrupt Enable for proc%s"]
+pub mod proc0_inte;
+#[doc = "PROC0_INTF register accessor: an alias for `Reg`"]
+pub type PROC0_INTF = crate::Reg;
+#[doc = "Interrupt Force for proc%s"]
+pub mod proc0_intf;
+#[doc = "PROC0_INTS register accessor: an alias for `Reg`"]
+pub type PROC0_INTS = crate::Reg;
+#[doc = "Interrupt status after masking & forcing for proc%s"]
+pub mod proc0_ints;
+#[doc = "PROC1_INTE register accessor: an alias for `Reg`"]
+pub type PROC1_INTE = crate::Reg;
#[doc = "Interrupt Enable for proc1"]
-pub mod proc1_inte3;
-#[doc = "PROC1_INTF0 register accessor: an alias for `Reg`"]
-pub type PROC1_INTF0 = crate::Reg;
+pub mod proc1_inte;
+#[doc = "PROC1_INTF register accessor: an alias for `Reg`"]
+pub type PROC1_INTF = crate::Reg;
#[doc = "Interrupt Force for proc1"]
-pub mod proc1_intf0;
-#[doc = "PROC1_INTF1 register accessor: an alias for `Reg`"]
-pub type PROC1_INTF1 = crate::Reg;
-#[doc = "Interrupt Force for proc1"]
-pub mod proc1_intf1;
-#[doc = "PROC1_INTF2 register accessor: an alias for `Reg`"]
-pub type PROC1_INTF2 = crate::Reg;
-#[doc = "Interrupt Force for proc1"]
-pub mod proc1_intf2;
-#[doc = "PROC1_INTF3 register accessor: an alias for `Reg`"]
-pub type PROC1_INTF3 = crate::Reg;
-#[doc = "Interrupt Force for proc1"]
-pub mod proc1_intf3;
-#[doc = "PROC1_INTS0 register accessor: an alias for `Reg`"]
-pub type PROC1_INTS0 = crate::Reg;
-#[doc = "Interrupt status after masking & forcing for proc1"]
-pub mod proc1_ints0;
-#[doc = "PROC1_INTS1 register accessor: an alias for `Reg`"]
-pub type PROC1_INTS1 = crate::Reg;
-#[doc = "Interrupt status after masking & forcing for proc1"]
-pub mod proc1_ints1;
-#[doc = "PROC1_INTS2 register accessor: an alias for `Reg`"]
-pub type PROC1_INTS2 = crate::Reg;
-#[doc = "Interrupt status after masking & forcing for proc1"]
-pub mod proc1_ints2;
-#[doc = "PROC1_INTS3 register accessor: an alias for `Reg`"]
-pub type PROC1_INTS3 = crate::Reg;
+pub mod proc1_intf;
+#[doc = "PROC1_INTS register accessor: an alias for `Reg`"]
+pub type PROC1_INTS = crate::Reg;
#[doc = "Interrupt status after masking & forcing for proc1"]
-pub mod proc1_ints3;
+pub mod proc1_ints;
#[doc = "DORMANT_WAKE_INTE0 register accessor: an alias for `Reg`"]
pub type DORMANT_WAKE_INTE0 = crate::Reg;
#[doc = "Interrupt Enable for dormant_wake"]
diff --git a/src/io_bank0/intr0.rs b/src/io_bank0/intr.rs
similarity index 97%
rename from src/io_bank0/intr0.rs
rename to src/io_bank0/intr.rs
index 64a962ff7..87aaaa88b 100644
--- a/src/io_bank0/intr0.rs
+++ b/src/io_bank0/intr.rs
@@ -1,22 +1,22 @@
-#[doc = "Register `INTR0` reader"]
-pub struct R(crate::R);
+#[doc = "Register `INTR%s` reader"]
+pub struct R(crate::R);
impl core::ops::Deref for R {
- type Target = crate::R;
+ type Target = crate::R;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
-impl From> for R {
+impl From> for R {
#[inline(always)]
- fn from(reader: crate::R) -> Self {
+ fn from(reader: crate::R) -> Self {
R(reader)
}
}
-#[doc = "Register `INTR0` writer"]
-pub struct W(crate::W);
+#[doc = "Register `INTR%s` writer"]
+pub struct W(crate::W);
impl core::ops::Deref for W {
- type Target = crate::W;
+ type Target = crate::W;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
@@ -28,9 +28,9 @@ impl core::ops::DerefMut for W {
&mut self.0
}
}
-impl From> for W {
+impl From> for W {
#[inline(always)]
- fn from(writer: crate::W) -> Self {
+ fn from(writer: crate::W) -> Self {
W(writer)
}
}
@@ -1088,21 +1088,21 @@ impl W {
This register you can [`read`](crate::generic::Reg::read), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).
-For information about available fields see [intr0](index.html) module"]
-pub struct INTR0_SPEC;
-impl crate::RegisterSpec for INTR0_SPEC {
+For information about available fields see [intr](index.html) module"]
+pub struct INTR_SPEC;
+impl crate::RegisterSpec for INTR_SPEC {
type Ux = u32;
}
-#[doc = "`read()` method returns [intr0::R](R) reader structure"]
-impl crate::Readable for INTR0_SPEC {
+#[doc = "`read()` method returns [intr::R](R) reader structure"]
+impl crate::Readable for INTR_SPEC {
type Reader = R;
}
-#[doc = "`write(|w| ..)` method takes [intr0::W](W) writer structure"]
-impl crate::Writable for INTR0_SPEC {
+#[doc = "`write(|w| ..)` method takes [intr::W](W) writer structure"]
+impl crate::Writable for INTR_SPEC {
type Writer = W;
}
-#[doc = "`reset()` method sets INTR0 to value 0"]
-impl crate::Resettable for INTR0_SPEC {
+#[doc = "`reset()` method sets INTR%s to value 0"]
+impl crate::Resettable for INTR_SPEC {
#[inline(always)]
fn reset_value() -> Self::Ux {
0
diff --git a/src/io_bank0/intr1.rs b/src/io_bank0/intr1.rs
deleted file mode 100644
index 2cf63faaa..000000000
--- a/src/io_bank0/intr1.rs
+++ /dev/null
@@ -1,1110 +0,0 @@
-#[doc = "Register `INTR1` reader"]
-pub struct R(crate::R);
-impl core::ops::Deref for R {
- type Target = crate::R;
- #[inline(always)]
- fn deref(&self) -> &Self::Target {
- &self.0
- }
-}
-impl From> for R {
- #[inline(always)]
- fn from(reader: crate::R) -> Self {
- R(reader)
- }
-}
-#[doc = "Register `INTR1` writer"]
-pub struct W(crate::W);
-impl core::ops::Deref for W {
- type Target = crate::W;
- #[inline(always)]
- fn deref(&self) -> &Self::Target {
- &self.0
- }
-}
-impl core::ops::DerefMut for W {
- #[inline(always)]
- fn deref_mut(&mut self) -> &mut Self::Target {
- &mut self.0
- }
-}
-impl From> for W {
- #[inline(always)]
- fn from(writer: crate::W) -> Self {
- W(writer)
- }
-}
-#[doc = "Field `GPIO15_EDGE_HIGH` reader - "]
-pub struct GPIO15_EDGE_HIGH_R(crate::FieldReader);
-impl GPIO15_EDGE_HIGH_R {
- pub(crate) fn new(bits: bool) -> Self {
- GPIO15_EDGE_HIGH_R(crate::FieldReader::new(bits))
- }
-}
-impl core::ops::Deref for GPIO15_EDGE_HIGH_R {
- type Target = crate::FieldReader;
- #[inline(always)]
- fn deref(&self) -> &Self::Target {
- &self.0
- }
-}
-#[doc = "Field `GPIO15_EDGE_HIGH` writer - "]
-pub struct GPIO15_EDGE_HIGH_W<'a> {
- w: &'a mut W,
-}
-impl<'a> GPIO15_EDGE_HIGH_W<'a> {
- #[doc = r"Sets the field bit"]
- #[inline(always)]
- pub fn set_bit(self) -> &'a mut W {
- self.bit(true)
- }
- #[doc = r"Clears the field bit"]
- #[inline(always)]
- pub fn clear_bit(self) -> &'a mut W {
- self.bit(false)
- }
- #[doc = r"Writes raw bits to the field"]
- #[inline(always)]
- pub fn bit(self, value: bool) -> &'a mut W {
- self.w.bits = (self.w.bits & !(0x01 << 31)) | ((value as u32 & 0x01) << 31);
- self.w
- }
-}
-#[doc = "Field `GPIO15_EDGE_LOW` reader - "]
-pub struct GPIO15_EDGE_LOW_R(crate::FieldReader);
-impl GPIO15_EDGE_LOW_R {
- pub(crate) fn new(bits: bool) -> Self {
- GPIO15_EDGE_LOW_R(crate::FieldReader::new(bits))
- }
-}
-impl core::ops::Deref for GPIO15_EDGE_LOW_R {
- type Target = crate::FieldReader;
- #[inline(always)]
- fn deref(&self) -> &Self::Target {
- &self.0
- }
-}
-#[doc = "Field `GPIO15_EDGE_LOW` writer - "]
-pub struct GPIO15_EDGE_LOW_W<'a> {
- w: &'a mut W,
-}
-impl<'a> GPIO15_EDGE_LOW_W<'a> {
- #[doc = r"Sets the field bit"]
- #[inline(always)]
- pub fn set_bit(self) -> &'a mut W {
- self.bit(true)
- }
- #[doc = r"Clears the field bit"]
- #[inline(always)]
- pub fn clear_bit(self) -> &'a mut W {
- self.bit(false)
- }
- #[doc = r"Writes raw bits to the field"]
- #[inline(always)]
- pub fn bit(self, value: bool) -> &'a mut W {
- self.w.bits = (self.w.bits & !(0x01 << 30)) | ((value as u32 & 0x01) << 30);
- self.w
- }
-}
-#[doc = "Field `GPIO15_LEVEL_HIGH` reader - "]
-pub struct GPIO15_LEVEL_HIGH_R(crate::FieldReader);
-impl GPIO15_LEVEL_HIGH_R {
- pub(crate) fn new(bits: bool) -> Self {
- GPIO15_LEVEL_HIGH_R(crate::FieldReader::new(bits))
- }
-}
-impl core::ops::Deref for GPIO15_LEVEL_HIGH_R {
- type Target = crate::FieldReader;
- #[inline(always)]
- fn deref(&self) -> &Self::Target {
- &self.0
- }
-}
-#[doc = "Field `GPIO15_LEVEL_LOW` reader - "]
-pub struct GPIO15_LEVEL_LOW_R(crate::FieldReader);
-impl GPIO15_LEVEL_LOW_R {
- pub(crate) fn new(bits: bool) -> Self {
- GPIO15_LEVEL_LOW_R(crate::FieldReader::new(bits))
- }
-}
-impl core::ops::Deref for GPIO15_LEVEL_LOW_R {
- type Target = crate::FieldReader;
- #[inline(always)]
- fn deref(&self) -> &Self::Target {
- &self.0
- }
-}
-#[doc = "Field `GPIO14_EDGE_HIGH` reader - "]
-pub struct GPIO14_EDGE_HIGH_R(crate::FieldReader);
-impl GPIO14_EDGE_HIGH_R {
- pub(crate) fn new(bits: bool) -> Self {
- GPIO14_EDGE_HIGH_R(crate::FieldReader::new(bits))
- }
-}
-impl core::ops::Deref for GPIO14_EDGE_HIGH_R {
- type Target = crate::FieldReader;
- #[inline(always)]
- fn deref(&self) -> &Self::Target {
- &self.0
- }
-}
-#[doc = "Field `GPIO14_EDGE_HIGH` writer - "]
-pub struct GPIO14_EDGE_HIGH_W<'a> {
- w: &'a mut W,
-}
-impl<'a> GPIO14_EDGE_HIGH_W<'a> {
- #[doc = r"Sets the field bit"]
- #[inline(always)]
- pub fn set_bit(self) -> &'a mut W {
- self.bit(true)
- }
- #[doc = r"Clears the field bit"]
- #[inline(always)]
- pub fn clear_bit(self) -> &'a mut W {
- self.bit(false)
- }
- #[doc = r"Writes raw bits to the field"]
- #[inline(always)]
- pub fn bit(self, value: bool) -> &'a mut W {
- self.w.bits = (self.w.bits & !(0x01 << 27)) | ((value as u32 & 0x01) << 27);
- self.w
- }
-}
-#[doc = "Field `GPIO14_EDGE_LOW` reader - "]
-pub struct GPIO14_EDGE_LOW_R(crate::FieldReader);
-impl GPIO14_EDGE_LOW_R {
- pub(crate) fn new(bits: bool) -> Self {
- GPIO14_EDGE_LOW_R(crate::FieldReader::new(bits))
- }
-}
-impl core::ops::Deref for GPIO14_EDGE_LOW_R {
- type Target = crate::FieldReader;
- #[inline(always)]
- fn deref(&self) -> &Self::Target {
- &self.0
- }
-}
-#[doc = "Field `GPIO14_EDGE_LOW` writer - "]
-pub struct GPIO14_EDGE_LOW_W<'a> {
- w: &'a mut W,
-}
-impl<'a> GPIO14_EDGE_LOW_W<'a> {
- #[doc = r"Sets the field bit"]
- #[inline(always)]
- pub fn set_bit(self) -> &'a mut W {
- self.bit(true)
- }
- #[doc = r"Clears the field bit"]
- #[inline(always)]
- pub fn clear_bit(self) -> &'a mut W {
- self.bit(false)
- }
- #[doc = r"Writes raw bits to the field"]
- #[inline(always)]
- pub fn bit(self, value: bool) -> &'a mut W {
- self.w.bits = (self.w.bits & !(0x01 << 26)) | ((value as u32 & 0x01) << 26);
- self.w
- }
-}
-#[doc = "Field `GPIO14_LEVEL_HIGH` reader - "]
-pub struct GPIO14_LEVEL_HIGH_R(crate::FieldReader);
-impl GPIO14_LEVEL_HIGH_R {
- pub(crate) fn new(bits: bool) -> Self {
- GPIO14_LEVEL_HIGH_R(crate::FieldReader::new(bits))
- }
-}
-impl core::ops::Deref for GPIO14_LEVEL_HIGH_R {
- type Target = crate::FieldReader;
- #[inline(always)]
- fn deref(&self) -> &Self::Target {
- &self.0
- }
-}
-#[doc = "Field `GPIO14_LEVEL_LOW` reader - "]
-pub struct GPIO14_LEVEL_LOW_R(crate::FieldReader);
-impl GPIO14_LEVEL_LOW_R {
- pub(crate) fn new(bits: bool) -> Self {
- GPIO14_LEVEL_LOW_R(crate::FieldReader::new(bits))
- }
-}
-impl core::ops::Deref for GPIO14_LEVEL_LOW_R {
- type Target = crate::FieldReader;
- #[inline(always)]
- fn deref(&self) -> &Self::Target {
- &self.0
- }
-}
-#[doc = "Field `GPIO13_EDGE_HIGH` reader - "]
-pub struct GPIO13_EDGE_HIGH_R(crate::FieldReader);
-impl GPIO13_EDGE_HIGH_R {
- pub(crate) fn new(bits: bool) -> Self {
- GPIO13_EDGE_HIGH_R(crate::FieldReader::new(bits))
- }
-}
-impl core::ops::Deref for GPIO13_EDGE_HIGH_R {
- type Target = crate::FieldReader;
- #[inline(always)]
- fn deref(&self) -> &Self::Target {
- &self.0
- }
-}
-#[doc = "Field `GPIO13_EDGE_HIGH` writer - "]
-pub struct GPIO13_EDGE_HIGH_W<'a> {
- w: &'a mut W,
-}
-impl<'a> GPIO13_EDGE_HIGH_W<'a> {
- #[doc = r"Sets the field bit"]
- #[inline(always)]
- pub fn set_bit(self) -> &'a mut W {
- self.bit(true)
- }
- #[doc = r"Clears the field bit"]
- #[inline(always)]
- pub fn clear_bit(self) -> &'a mut W {
- self.bit(false)
- }
- #[doc = r"Writes raw bits to the field"]
- #[inline(always)]
- pub fn bit(self, value: bool) -> &'a mut W {
- self.w.bits = (self.w.bits & !(0x01 << 23)) | ((value as u32 & 0x01) << 23);
- self.w
- }
-}
-#[doc = "Field `GPIO13_EDGE_LOW` reader - "]
-pub struct GPIO13_EDGE_LOW_R(crate::FieldReader);
-impl GPIO13_EDGE_LOW_R {
- pub(crate) fn new(bits: bool) -> Self {
- GPIO13_EDGE_LOW_R(crate::FieldReader::new(bits))
- }
-}
-impl core::ops::Deref for GPIO13_EDGE_LOW_R {
- type Target = crate::FieldReader;
- #[inline(always)]
- fn deref(&self) -> &Self::Target {
- &self.0
- }
-}
-#[doc = "Field `GPIO13_EDGE_LOW` writer - "]
-pub struct GPIO13_EDGE_LOW_W<'a> {
- w: &'a mut W,
-}
-impl<'a> GPIO13_EDGE_LOW_W<'a> {
- #[doc = r"Sets the field bit"]
- #[inline(always)]
- pub fn set_bit(self) -> &'a mut W {
- self.bit(true)
- }
- #[doc = r"Clears the field bit"]
- #[inline(always)]
- pub fn clear_bit(self) -> &'a mut W {
- self.bit(false)
- }
- #[doc = r"Writes raw bits to the field"]
- #[inline(always)]
- pub fn bit(self, value: bool) -> &'a mut W {
- self.w.bits = (self.w.bits & !(0x01 << 22)) | ((value as u32 & 0x01) << 22);
- self.w
- }
-}
-#[doc = "Field `GPIO13_LEVEL_HIGH` reader - "]
-pub struct GPIO13_LEVEL_HIGH_R(crate::FieldReader);
-impl GPIO13_LEVEL_HIGH_R {
- pub(crate) fn new(bits: bool) -> Self {
- GPIO13_LEVEL_HIGH_R(crate::FieldReader::new(bits))
- }
-}
-impl core::ops::Deref for GPIO13_LEVEL_HIGH_R {
- type Target = crate::FieldReader;
- #[inline(always)]
- fn deref(&self) -> &Self::Target {
- &self.0
- }
-}
-#[doc = "Field `GPIO13_LEVEL_LOW` reader - "]
-pub struct GPIO13_LEVEL_LOW_R(crate::FieldReader);
-impl GPIO13_LEVEL_LOW_R {
- pub(crate) fn new(bits: bool) -> Self {
- GPIO13_LEVEL_LOW_R(crate::FieldReader::new(bits))
- }
-}
-impl core::ops::Deref for GPIO13_LEVEL_LOW_R {
- type Target = crate::FieldReader;
- #[inline(always)]
- fn deref(&self) -> &Self::Target {
- &self.0
- }
-}
-#[doc = "Field `GPIO12_EDGE_HIGH` reader - "]
-pub struct GPIO12_EDGE_HIGH_R(crate::FieldReader);
-impl GPIO12_EDGE_HIGH_R {
- pub(crate) fn new(bits: bool) -> Self {
- GPIO12_EDGE_HIGH_R(crate::FieldReader::new(bits))
- }
-}
-impl core::ops::Deref for GPIO12_EDGE_HIGH_R {
- type Target = crate::FieldReader;
- #[inline(always)]
- fn deref(&self) -> &Self::Target {
- &self.0
- }
-}
-#[doc = "Field `GPIO12_EDGE_HIGH` writer - "]
-pub struct GPIO12_EDGE_HIGH_W<'a> {
- w: &'a mut W,
-}
-impl<'a> GPIO12_EDGE_HIGH_W<'a> {
- #[doc = r"Sets the field bit"]
- #[inline(always)]
- pub fn set_bit(self) -> &'a mut W {
- self.bit(true)
- }
- #[doc = r"Clears the field bit"]
- #[inline(always)]
- pub fn clear_bit(self) -> &'a mut W {
- self.bit(false)
- }
- #[doc = r"Writes raw bits to the field"]
- #[inline(always)]
- pub fn bit(self, value: bool) -> &'a mut W {
- self.w.bits = (self.w.bits & !(0x01 << 19)) | ((value as u32 & 0x01) << 19);
- self.w
- }
-}
-#[doc = "Field `GPIO12_EDGE_LOW` reader - "]
-pub struct GPIO12_EDGE_LOW_R(crate::FieldReader);
-impl GPIO12_EDGE_LOW_R {
- pub(crate) fn new(bits: bool) -> Self {
- GPIO12_EDGE_LOW_R(crate::FieldReader::new(bits))
- }
-}
-impl core::ops::Deref for GPIO12_EDGE_LOW_R {
- type Target = crate::FieldReader;
- #[inline(always)]
- fn deref(&self) -> &Self::Target {
- &self.0
- }
-}
-#[doc = "Field `GPIO12_EDGE_LOW` writer - "]
-pub struct GPIO12_EDGE_LOW_W<'a> {
- w: &'a mut W,
-}
-impl<'a> GPIO12_EDGE_LOW_W<'a> {
- #[doc = r"Sets the field bit"]
- #[inline(always)]
- pub fn set_bit(self) -> &'a mut W {
- self.bit(true)
- }
- #[doc = r"Clears the field bit"]
- #[inline(always)]
- pub fn clear_bit(self) -> &'a mut W {
- self.bit(false)
- }
- #[doc = r"Writes raw bits to the field"]
- #[inline(always)]
- pub fn bit(self, value: bool) -> &'a mut W {
- self.w.bits = (self.w.bits & !(0x01 << 18)) | ((value as u32 & 0x01) << 18);
- self.w
- }
-}
-#[doc = "Field `GPIO12_LEVEL_HIGH` reader - "]
-pub struct GPIO12_LEVEL_HIGH_R(crate::FieldReader);
-impl GPIO12_LEVEL_HIGH_R {
- pub(crate) fn new(bits: bool) -> Self {
- GPIO12_LEVEL_HIGH_R(crate::FieldReader::new(bits))
- }
-}
-impl core::ops::Deref for GPIO12_LEVEL_HIGH_R {
- type Target = crate::FieldReader;
- #[inline(always)]
- fn deref(&self) -> &Self::Target {
- &self.0
- }
-}
-#[doc = "Field `GPIO12_LEVEL_LOW` reader - "]
-pub struct GPIO12_LEVEL_LOW_R(crate::FieldReader);
-impl GPIO12_LEVEL_LOW_R {
- pub(crate) fn new(bits: bool) -> Self {
- GPIO12_LEVEL_LOW_R(crate::FieldReader::new(bits))
- }
-}
-impl core::ops::Deref for GPIO12_LEVEL_LOW_R {
- type Target = crate::FieldReader;
- #[inline(always)]
- fn deref(&self) -> &Self::Target {
- &self.0
- }
-}
-#[doc = "Field `GPIO11_EDGE_HIGH` reader - "]
-pub struct GPIO11_EDGE_HIGH_R(crate::FieldReader);
-impl GPIO11_EDGE_HIGH_R {
- pub(crate) fn new(bits: bool) -> Self {
- GPIO11_EDGE_HIGH_R(crate::FieldReader::new(bits))
- }
-}
-impl core::ops::Deref for GPIO11_EDGE_HIGH_R {
- type Target = crate::FieldReader;
- #[inline(always)]
- fn deref(&self) -> &Self::Target {
- &self.0
- }
-}
-#[doc = "Field `GPIO11_EDGE_HIGH` writer - "]
-pub struct GPIO11_EDGE_HIGH_W<'a> {
- w: &'a mut W,
-}
-impl<'a> GPIO11_EDGE_HIGH_W<'a> {
- #[doc = r"Sets the field bit"]
- #[inline(always)]
- pub fn set_bit(self) -> &'a mut W {
- self.bit(true)
- }
- #[doc = r"Clears the field bit"]
- #[inline(always)]
- pub fn clear_bit(self) -> &'a mut W {
- self.bit(false)
- }
- #[doc = r"Writes raw bits to the field"]
- #[inline(always)]
- pub fn bit(self, value: bool) -> &'a mut W {
- self.w.bits = (self.w.bits & !(0x01 << 15)) | ((value as u32 & 0x01) << 15);
- self.w
- }
-}
-#[doc = "Field `GPIO11_EDGE_LOW` reader - "]
-pub struct GPIO11_EDGE_LOW_R(crate::FieldReader);
-impl GPIO11_EDGE_LOW_R {
- pub(crate) fn new(bits: bool) -> Self {
- GPIO11_EDGE_LOW_R(crate::FieldReader::new(bits))
- }
-}
-impl core::ops::Deref for GPIO11_EDGE_LOW_R {
- type Target = crate::FieldReader;
- #[inline(always)]
- fn deref(&self) -> &Self::Target {
- &self.0
- }
-}
-#[doc = "Field `GPIO11_EDGE_LOW` writer - "]
-pub struct GPIO11_EDGE_LOW_W<'a> {
- w: &'a mut W,
-}
-impl<'a> GPIO11_EDGE_LOW_W<'a> {
- #[doc = r"Sets the field bit"]
- #[inline(always)]
- pub fn set_bit(self) -> &'a mut W {
- self.bit(true)
- }
- #[doc = r"Clears the field bit"]
- #[inline(always)]
- pub fn clear_bit(self) -> &'a mut W {
- self.bit(false)
- }
- #[doc = r"Writes raw bits to the field"]
- #[inline(always)]
- pub fn bit(self, value: bool) -> &'a mut W {
- self.w.bits = (self.w.bits & !(0x01 << 14)) | ((value as u32 & 0x01) << 14);
- self.w
- }
-}
-#[doc = "Field `GPIO11_LEVEL_HIGH` reader - "]
-pub struct GPIO11_LEVEL_HIGH_R(crate::FieldReader);
-impl GPIO11_LEVEL_HIGH_R {
- pub(crate) fn new(bits: bool) -> Self {
- GPIO11_LEVEL_HIGH_R(crate::FieldReader::new(bits))
- }
-}
-impl core::ops::Deref for GPIO11_LEVEL_HIGH_R {
- type Target = crate::FieldReader;
- #[inline(always)]
- fn deref(&self) -> &Self::Target {
- &self.0
- }
-}
-#[doc = "Field `GPIO11_LEVEL_LOW` reader - "]
-pub struct GPIO11_LEVEL_LOW_R(crate::FieldReader);
-impl GPIO11_LEVEL_LOW_R {
- pub(crate) fn new(bits: bool) -> Self {
- GPIO11_LEVEL_LOW_R(crate::FieldReader::new(bits))
- }
-}
-impl core::ops::Deref for GPIO11_LEVEL_LOW_R {
- type Target = crate::FieldReader;
- #[inline(always)]
- fn deref(&self) -> &Self::Target {
- &self.0
- }
-}
-#[doc = "Field `GPIO10_EDGE_HIGH` reader - "]
-pub struct GPIO10_EDGE_HIGH_R(crate::FieldReader);
-impl GPIO10_EDGE_HIGH_R {
- pub(crate) fn new(bits: bool) -> Self {
- GPIO10_EDGE_HIGH_R(crate::FieldReader::new(bits))
- }
-}
-impl core::ops::Deref for GPIO10_EDGE_HIGH_R {
- type Target = crate::FieldReader;
- #[inline(always)]
- fn deref(&self) -> &Self::Target {
- &self.0
- }
-}
-#[doc = "Field `GPIO10_EDGE_HIGH` writer - "]
-pub struct GPIO10_EDGE_HIGH_W<'a> {
- w: &'a mut W,
-}
-impl<'a> GPIO10_EDGE_HIGH_W<'a> {
- #[doc = r"Sets the field bit"]
- #[inline(always)]
- pub fn set_bit(self) -> &'a mut W {
- self.bit(true)
- }
- #[doc = r"Clears the field bit"]
- #[inline(always)]
- pub fn clear_bit(self) -> &'a mut W {
- self.bit(false)
- }
- #[doc = r"Writes raw bits to the field"]
- #[inline(always)]
- pub fn bit(self, value: bool) -> &'a mut W {
- self.w.bits = (self.w.bits & !(0x01 << 11)) | ((value as u32 & 0x01) << 11);
- self.w
- }
-}
-#[doc = "Field `GPIO10_EDGE_LOW` reader - "]
-pub struct GPIO10_EDGE_LOW_R(crate::FieldReader);
-impl GPIO10_EDGE_LOW_R {
- pub(crate) fn new(bits: bool) -> Self {
- GPIO10_EDGE_LOW_R(crate::FieldReader::new(bits))
- }
-}
-impl core::ops::Deref for GPIO10_EDGE_LOW_R {
- type Target = crate::FieldReader;
- #[inline(always)]
- fn deref(&self) -> &Self::Target {
- &self.0
- }
-}
-#[doc = "Field `GPIO10_EDGE_LOW` writer - "]
-pub struct GPIO10_EDGE_LOW_W<'a> {
- w: &'a mut W,
-}
-impl<'a> GPIO10_EDGE_LOW_W<'a> {
- #[doc = r"Sets the field bit"]
- #[inline(always)]
- pub fn set_bit(self) -> &'a mut W {
- self.bit(true)
- }
- #[doc = r"Clears the field bit"]
- #[inline(always)]
- pub fn clear_bit(self) -> &'a mut W {
- self.bit(false)
- }
- #[doc = r"Writes raw bits to the field"]
- #[inline(always)]
- pub fn bit(self, value: bool) -> &'a mut W {
- self.w.bits = (self.w.bits & !(0x01 << 10)) | ((value as u32 & 0x01) << 10);
- self.w
- }
-}
-#[doc = "Field `GPIO10_LEVEL_HIGH` reader - "]
-pub struct GPIO10_LEVEL_HIGH_R(crate::FieldReader);
-impl GPIO10_LEVEL_HIGH_R {
- pub(crate) fn new(bits: bool) -> Self {
- GPIO10_LEVEL_HIGH_R(crate::FieldReader::new(bits))
- }
-}
-impl core::ops::Deref for GPIO10_LEVEL_HIGH_R {
- type Target = crate::FieldReader;
- #[inline(always)]
- fn deref(&self) -> &Self::Target {
- &self.0
- }
-}
-#[doc = "Field `GPIO10_LEVEL_LOW` reader - "]
-pub struct GPIO10_LEVEL_LOW_R(crate::FieldReader);
-impl GPIO10_LEVEL_LOW_R {
- pub(crate) fn new(bits: bool) -> Self {
- GPIO10_LEVEL_LOW_R(crate::FieldReader::new(bits))
- }
-}
-impl core::ops::Deref for GPIO10_LEVEL_LOW_R {
- type Target = crate::FieldReader;
- #[inline(always)]
- fn deref(&self) -> &Self::Target {
- &self.0
- }
-}
-#[doc = "Field `GPIO9_EDGE_HIGH` reader - "]
-pub struct GPIO9_EDGE_HIGH_R(crate::FieldReader);
-impl GPIO9_EDGE_HIGH_R {
- pub(crate) fn new(bits: bool) -> Self {
- GPIO9_EDGE_HIGH_R(crate::FieldReader::new(bits))
- }
-}
-impl core::ops::Deref for GPIO9_EDGE_HIGH_R {
- type Target = crate::FieldReader;
- #[inline(always)]
- fn deref(&self) -> &Self::Target {
- &self.0
- }
-}
-#[doc = "Field `GPIO9_EDGE_HIGH` writer - "]
-pub struct GPIO9_EDGE_HIGH_W<'a> {
- w: &'a mut W,
-}
-impl<'a> GPIO9_EDGE_HIGH_W<'a> {
- #[doc = r"Sets the field bit"]
- #[inline(always)]
- pub fn set_bit(self) -> &'a mut W {
- self.bit(true)
- }
- #[doc = r"Clears the field bit"]
- #[inline(always)]
- pub fn clear_bit(self) -> &'a mut W {
- self.bit(false)
- }
- #[doc = r"Writes raw bits to the field"]
- #[inline(always)]
- pub fn bit(self, value: bool) -> &'a mut W {
- self.w.bits = (self.w.bits & !(0x01 << 7)) | ((value as u32 & 0x01) << 7);
- self.w
- }
-}
-#[doc = "Field `GPIO9_EDGE_LOW` reader - "]
-pub struct GPIO9_EDGE_LOW_R(crate::FieldReader);
-impl GPIO9_EDGE_LOW_R {
- pub(crate) fn new(bits: bool) -> Self {
- GPIO9_EDGE_LOW_R(crate::FieldReader::new(bits))
- }
-}
-impl core::ops::Deref for GPIO9_EDGE_LOW_R {
- type Target = crate::FieldReader;
- #[inline(always)]
- fn deref(&self) -> &Self::Target {
- &self.0
- }
-}
-#[doc = "Field `GPIO9_EDGE_LOW` writer - "]
-pub struct GPIO9_EDGE_LOW_W<'a> {
- w: &'a mut W,
-}
-impl<'a> GPIO9_EDGE_LOW_W<'a> {
- #[doc = r"Sets the field bit"]
- #[inline(always)]
- pub fn set_bit(self) -> &'a mut W {
- self.bit(true)
- }
- #[doc = r"Clears the field bit"]
- #[inline(always)]
- pub fn clear_bit(self) -> &'a mut W {
- self.bit(false)
- }
- #[doc = r"Writes raw bits to the field"]
- #[inline(always)]
- pub fn bit(self, value: bool) -> &'a mut W {
- self.w.bits = (self.w.bits & !(0x01 << 6)) | ((value as u32 & 0x01) << 6);
- self.w
- }
-}
-#[doc = "Field `GPIO9_LEVEL_HIGH` reader - "]
-pub struct GPIO9_LEVEL_HIGH_R(crate::FieldReader);
-impl GPIO9_LEVEL_HIGH_R {
- pub(crate) fn new(bits: bool) -> Self {
- GPIO9_LEVEL_HIGH_R(crate::FieldReader::new(bits))
- }
-}
-impl core::ops::Deref for GPIO9_LEVEL_HIGH_R {
- type Target = crate::FieldReader;
- #[inline(always)]
- fn deref(&self) -> &Self::Target {
- &self.0
- }
-}
-#[doc = "Field `GPIO9_LEVEL_LOW` reader - "]
-pub struct GPIO9_LEVEL_LOW_R(crate::FieldReader);
-impl GPIO9_LEVEL_LOW_R {
- pub(crate) fn new(bits: bool) -> Self {
- GPIO9_LEVEL_LOW_R(crate::FieldReader::new(bits))
- }
-}
-impl core::ops::Deref for GPIO9_LEVEL_LOW_R {
- type Target = crate::FieldReader;
- #[inline(always)]
- fn deref(&self) -> &Self::Target {
- &self.0
- }
-}
-#[doc = "Field `GPIO8_EDGE_HIGH` reader - "]
-pub struct GPIO8_EDGE_HIGH_R(crate::FieldReader);
-impl GPIO8_EDGE_HIGH_R {
- pub(crate) fn new(bits: bool) -> Self {
- GPIO8_EDGE_HIGH_R(crate::FieldReader::new(bits))
- }
-}
-impl core::ops::Deref for GPIO8_EDGE_HIGH_R {
- type Target = crate::FieldReader;
- #[inline(always)]
- fn deref(&self) -> &Self::Target {
- &self.0
- }
-}
-#[doc = "Field `GPIO8_EDGE_HIGH` writer - "]
-pub struct GPIO8_EDGE_HIGH_W<'a> {
- w: &'a mut W,
-}
-impl<'a> GPIO8_EDGE_HIGH_W<'a> {
- #[doc = r"Sets the field bit"]
- #[inline(always)]
- pub fn set_bit(self) -> &'a mut W {
- self.bit(true)
- }
- #[doc = r"Clears the field bit"]
- #[inline(always)]
- pub fn clear_bit(self) -> &'a mut W {
- self.bit(false)
- }
- #[doc = r"Writes raw bits to the field"]
- #[inline(always)]
- pub fn bit(self, value: bool) -> &'a mut W {
- self.w.bits = (self.w.bits & !(0x01 << 3)) | ((value as u32 & 0x01) << 3);
- self.w
- }
-}
-#[doc = "Field `GPIO8_EDGE_LOW` reader - "]
-pub struct GPIO8_EDGE_LOW_R(crate::FieldReader);
-impl GPIO8_EDGE_LOW_R {
- pub(crate) fn new(bits: bool) -> Self {
- GPIO8_EDGE_LOW_R(crate::FieldReader::new(bits))
- }
-}
-impl core::ops::Deref for GPIO8_EDGE_LOW_R {
- type Target = crate::FieldReader;
- #[inline(always)]
- fn deref(&self) -> &Self::Target {
- &self.0
- }
-}
-#[doc = "Field `GPIO8_EDGE_LOW` writer - "]
-pub struct GPIO8_EDGE_LOW_W<'a> {
- w: &'a mut W,
-}
-impl<'a> GPIO8_EDGE_LOW_W<'a> {
- #[doc = r"Sets the field bit"]
- #[inline(always)]
- pub fn set_bit(self) -> &'a mut W {
- self.bit(true)
- }
- #[doc = r"Clears the field bit"]
- #[inline(always)]
- pub fn clear_bit(self) -> &'a mut W {
- self.bit(false)
- }
- #[doc = r"Writes raw bits to the field"]
- #[inline(always)]
- pub fn bit(self, value: bool) -> &'a mut W {
- self.w.bits = (self.w.bits & !(0x01 << 2)) | ((value as u32 & 0x01) << 2);
- self.w
- }
-}
-#[doc = "Field `GPIO8_LEVEL_HIGH` reader - "]
-pub struct GPIO8_LEVEL_HIGH_R(crate::FieldReader);
-impl GPIO8_LEVEL_HIGH_R {
- pub(crate) fn new(bits: bool) -> Self {
- GPIO8_LEVEL_HIGH_R(crate::FieldReader::new(bits))
- }
-}
-impl core::ops::Deref for GPIO8_LEVEL_HIGH_R {
- type Target = crate::FieldReader;
- #[inline(always)]
- fn deref(&self) -> &Self::Target {
- &self.0
- }
-}
-#[doc = "Field `GPIO8_LEVEL_LOW` reader - "]
-pub struct GPIO8_LEVEL_LOW_R(crate::FieldReader);
-impl GPIO8_LEVEL_LOW_R {
- pub(crate) fn new(bits: bool) -> Self {
- GPIO8_LEVEL_LOW_R(crate::FieldReader::new(bits))
- }
-}
-impl core::ops::Deref for GPIO8_LEVEL_LOW_R {
- type Target = crate::FieldReader;
- #[inline(always)]
- fn deref(&self) -> &Self::Target {
- &self.0
- }
-}
-impl R {
- #[doc = "Bit 31"]
- #[inline(always)]
- pub fn gpio15_edge_high(&self) -> GPIO15_EDGE_HIGH_R {
- GPIO15_EDGE_HIGH_R::new(((self.bits >> 31) & 0x01) != 0)
- }
- #[doc = "Bit 30"]
- #[inline(always)]
- pub fn gpio15_edge_low(&self) -> GPIO15_EDGE_LOW_R {
- GPIO15_EDGE_LOW_R::new(((self.bits >> 30) & 0x01) != 0)
- }
- #[doc = "Bit 29"]
- #[inline(always)]
- pub fn gpio15_level_high(&self) -> GPIO15_LEVEL_HIGH_R {
- GPIO15_LEVEL_HIGH_R::new(((self.bits >> 29) & 0x01) != 0)
- }
- #[doc = "Bit 28"]
- #[inline(always)]
- pub fn gpio15_level_low(&self) -> GPIO15_LEVEL_LOW_R {
- GPIO15_LEVEL_LOW_R::new(((self.bits >> 28) & 0x01) != 0)
- }
- #[doc = "Bit 27"]
- #[inline(always)]
- pub fn gpio14_edge_high(&self) -> GPIO14_EDGE_HIGH_R {
- GPIO14_EDGE_HIGH_R::new(((self.bits >> 27) & 0x01) != 0)
- }
- #[doc = "Bit 26"]
- #[inline(always)]
- pub fn gpio14_edge_low(&self) -> GPIO14_EDGE_LOW_R {
- GPIO14_EDGE_LOW_R::new(((self.bits >> 26) & 0x01) != 0)
- }
- #[doc = "Bit 25"]
- #[inline(always)]
- pub fn gpio14_level_high(&self) -> GPIO14_LEVEL_HIGH_R {
- GPIO14_LEVEL_HIGH_R::new(((self.bits >> 25) & 0x01) != 0)
- }
- #[doc = "Bit 24"]
- #[inline(always)]
- pub fn gpio14_level_low(&self) -> GPIO14_LEVEL_LOW_R {
- GPIO14_LEVEL_LOW_R::new(((self.bits >> 24) & 0x01) != 0)
- }
- #[doc = "Bit 23"]
- #[inline(always)]
- pub fn gpio13_edge_high(&self) -> GPIO13_EDGE_HIGH_R {
- GPIO13_EDGE_HIGH_R::new(((self.bits >> 23) & 0x01) != 0)
- }
- #[doc = "Bit 22"]
- #[inline(always)]
- pub fn gpio13_edge_low(&self) -> GPIO13_EDGE_LOW_R {
- GPIO13_EDGE_LOW_R::new(((self.bits >> 22) & 0x01) != 0)
- }
- #[doc = "Bit 21"]
- #[inline(always)]
- pub fn gpio13_level_high(&self) -> GPIO13_LEVEL_HIGH_R {
- GPIO13_LEVEL_HIGH_R::new(((self.bits >> 21) & 0x01) != 0)
- }
- #[doc = "Bit 20"]
- #[inline(always)]
- pub fn gpio13_level_low(&self) -> GPIO13_LEVEL_LOW_R {
- GPIO13_LEVEL_LOW_R::new(((self.bits >> 20) & 0x01) != 0)
- }
- #[doc = "Bit 19"]
- #[inline(always)]
- pub fn gpio12_edge_high(&self) -> GPIO12_EDGE_HIGH_R {
- GPIO12_EDGE_HIGH_R::new(((self.bits >> 19) & 0x01) != 0)
- }
- #[doc = "Bit 18"]
- #[inline(always)]
- pub fn gpio12_edge_low(&self) -> GPIO12_EDGE_LOW_R {
- GPIO12_EDGE_LOW_R::new(((self.bits >> 18) & 0x01) != 0)
- }
- #[doc = "Bit 17"]
- #[inline(always)]
- pub fn gpio12_level_high(&self) -> GPIO12_LEVEL_HIGH_R {
- GPIO12_LEVEL_HIGH_R::new(((self.bits >> 17) & 0x01) != 0)
- }
- #[doc = "Bit 16"]
- #[inline(always)]
- pub fn gpio12_level_low(&self) -> GPIO12_LEVEL_LOW_R {
- GPIO12_LEVEL_LOW_R::new(((self.bits >> 16) & 0x01) != 0)
- }
- #[doc = "Bit 15"]
- #[inline(always)]
- pub fn gpio11_edge_high(&self) -> GPIO11_EDGE_HIGH_R {
- GPIO11_EDGE_HIGH_R::new(((self.bits >> 15) & 0x01) != 0)
- }
- #[doc = "Bit 14"]
- #[inline(always)]
- pub fn gpio11_edge_low(&self) -> GPIO11_EDGE_LOW_R {
- GPIO11_EDGE_LOW_R::new(((self.bits >> 14) & 0x01) != 0)
- }
- #[doc = "Bit 13"]
- #[inline(always)]
- pub fn gpio11_level_high(&self) -> GPIO11_LEVEL_HIGH_R {
- GPIO11_LEVEL_HIGH_R::new(((self.bits >> 13) & 0x01) != 0)
- }
- #[doc = "Bit 12"]
- #[inline(always)]
- pub fn gpio11_level_low(&self) -> GPIO11_LEVEL_LOW_R {
- GPIO11_LEVEL_LOW_R::new(((self.bits >> 12) & 0x01) != 0)
- }
- #[doc = "Bit 11"]
- #[inline(always)]
- pub fn gpio10_edge_high(&self) -> GPIO10_EDGE_HIGH_R {
- GPIO10_EDGE_HIGH_R::new(((self.bits >> 11) & 0x01) != 0)
- }
- #[doc = "Bit 10"]
- #[inline(always)]
- pub fn gpio10_edge_low(&self) -> GPIO10_EDGE_LOW_R {
- GPIO10_EDGE_LOW_R::new(((self.bits >> 10) & 0x01) != 0)
- }
- #[doc = "Bit 9"]
- #[inline(always)]
- pub fn gpio10_level_high(&self) -> GPIO10_LEVEL_HIGH_R {
- GPIO10_LEVEL_HIGH_R::new(((self.bits >> 9) & 0x01) != 0)
- }
- #[doc = "Bit 8"]
- #[inline(always)]
- pub fn gpio10_level_low(&self) -> GPIO10_LEVEL_LOW_R {
- GPIO10_LEVEL_LOW_R::new(((self.bits >> 8) & 0x01) != 0)
- }
- #[doc = "Bit 7"]
- #[inline(always)]
- pub fn gpio9_edge_high(&self) -> GPIO9_EDGE_HIGH_R {
- GPIO9_EDGE_HIGH_R::new(((self.bits >> 7) & 0x01) != 0)
- }
- #[doc = "Bit 6"]
- #[inline(always)]
- pub fn gpio9_edge_low(&self) -> GPIO9_EDGE_LOW_R {
- GPIO9_EDGE_LOW_R::new(((self.bits >> 6) & 0x01) != 0)
- }
- #[doc = "Bit 5"]
- #[inline(always)]
- pub fn gpio9_level_high(&self) -> GPIO9_LEVEL_HIGH_R {
- GPIO9_LEVEL_HIGH_R::new(((self.bits >> 5) & 0x01) != 0)
- }
- #[doc = "Bit 4"]
- #[inline(always)]
- pub fn gpio9_level_low(&self) -> GPIO9_LEVEL_LOW_R {
- GPIO9_LEVEL_LOW_R::new(((self.bits >> 4) & 0x01) != 0)
- }
- #[doc = "Bit 3"]
- #[inline(always)]
- pub fn gpio8_edge_high(&self) -> GPIO8_EDGE_HIGH_R {
- GPIO8_EDGE_HIGH_R::new(((self.bits >> 3) & 0x01) != 0)
- }
- #[doc = "Bit 2"]
- #[inline(always)]
- pub fn gpio8_edge_low(&self) -> GPIO8_EDGE_LOW_R {
- GPIO8_EDGE_LOW_R::new(((self.bits >> 2) & 0x01) != 0)
- }
- #[doc = "Bit 1"]
- #[inline(always)]
- pub fn gpio8_level_high(&self) -> GPIO8_LEVEL_HIGH_R {
- GPIO8_LEVEL_HIGH_R::new(((self.bits >> 1) & 0x01) != 0)
- }
- #[doc = "Bit 0"]
- #[inline(always)]
- pub fn gpio8_level_low(&self) -> GPIO8_LEVEL_LOW_R {
- GPIO8_LEVEL_LOW_R::new((self.bits & 0x01) != 0)
- }
-}
-impl W {
- #[doc = "Bit 31"]
- #[inline(always)]
- pub fn gpio15_edge_high(&mut self) -> GPIO15_EDGE_HIGH_W {
- GPIO15_EDGE_HIGH_W { w: self }
- }
- #[doc = "Bit 30"]
- #[inline(always)]
- pub fn gpio15_edge_low(&mut self) -> GPIO15_EDGE_LOW_W {
- GPIO15_EDGE_LOW_W { w: self }
- }
- #[doc = "Bit 27"]
- #[inline(always)]
- pub fn gpio14_edge_high(&mut self) -> GPIO14_EDGE_HIGH_W {
- GPIO14_EDGE_HIGH_W { w: self }
- }
- #[doc = "Bit 26"]
- #[inline(always)]
- pub fn gpio14_edge_low(&mut self) -> GPIO14_EDGE_LOW_W {
- GPIO14_EDGE_LOW_W { w: self }
- }
- #[doc = "Bit 23"]
- #[inline(always)]
- pub fn gpio13_edge_high(&mut self) -> GPIO13_EDGE_HIGH_W {
- GPIO13_EDGE_HIGH_W { w: self }
- }
- #[doc = "Bit 22"]
- #[inline(always)]
- pub fn gpio13_edge_low(&mut self) -> GPIO13_EDGE_LOW_W {
- GPIO13_EDGE_LOW_W { w: self }
- }
- #[doc = "Bit 19"]
- #[inline(always)]
- pub fn gpio12_edge_high(&mut self) -> GPIO12_EDGE_HIGH_W {
- GPIO12_EDGE_HIGH_W { w: self }
- }
- #[doc = "Bit 18"]
- #[inline(always)]
- pub fn gpio12_edge_low(&mut self) -> GPIO12_EDGE_LOW_W {
- GPIO12_EDGE_LOW_W { w: self }
- }
- #[doc = "Bit 15"]
- #[inline(always)]
- pub fn gpio11_edge_high(&mut self) -> GPIO11_EDGE_HIGH_W {
- GPIO11_EDGE_HIGH_W { w: self }
- }
- #[doc = "Bit 14"]
- #[inline(always)]
- pub fn gpio11_edge_low(&mut self) -> GPIO11_EDGE_LOW_W {
- GPIO11_EDGE_LOW_W { w: self }
- }
- #[doc = "Bit 11"]
- #[inline(always)]
- pub fn gpio10_edge_high(&mut self) -> GPIO10_EDGE_HIGH_W {
- GPIO10_EDGE_HIGH_W { w: self }
- }
- #[doc = "Bit 10"]
- #[inline(always)]
- pub fn gpio10_edge_low(&mut self) -> GPIO10_EDGE_LOW_W {
- GPIO10_EDGE_LOW_W { w: self }
- }
- #[doc = "Bit 7"]
- #[inline(always)]
- pub fn gpio9_edge_high(&mut self) -> GPIO9_EDGE_HIGH_W {
- GPIO9_EDGE_HIGH_W { w: self }
- }
- #[doc = "Bit 6"]
- #[inline(always)]
- pub fn gpio9_edge_low(&mut self) -> GPIO9_EDGE_LOW_W {
- GPIO9_EDGE_LOW_W { w: self }
- }
- #[doc = "Bit 3"]
- #[inline(always)]
- pub fn gpio8_edge_high(&mut self) -> GPIO8_EDGE_HIGH_W {
- GPIO8_EDGE_HIGH_W { w: self }
- }
- #[doc = "Bit 2"]
- #[inline(always)]
- pub fn gpio8_edge_low(&mut self) -> GPIO8_EDGE_LOW_W {
- GPIO8_EDGE_LOW_W { w: self }
- }
- #[doc = "Writes raw bits to the register."]
- #[inline(always)]
- pub unsafe fn bits(&mut self, bits: u32) -> &mut Self {
- self.0.bits(bits);
- self
- }
-}
-#[doc = "Raw Interrupts
-
-This register you can [`read`](crate::generic::Reg::read), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).
-
-For information about available fields see [intr1](index.html) module"]
-pub struct INTR1_SPEC;
-impl crate::RegisterSpec for INTR1_SPEC {
- type Ux = u32;
-}
-#[doc = "`read()` method returns [intr1::R](R) reader structure"]
-impl crate::Readable for INTR1_SPEC {
- type Reader = R;
-}
-#[doc = "`write(|w| ..)` method takes [intr1::W](W) writer structure"]
-impl crate::Writable for INTR1_SPEC {
- type Writer = W;
-}
-#[doc = "`reset()` method sets INTR1 to value 0"]
-impl crate::Resettable for INTR1_SPEC {
- #[inline(always)]
- fn reset_value() -> Self::Ux {
- 0
- }
-}
diff --git a/src/io_bank0/intr2.rs b/src/io_bank0/intr2.rs
deleted file mode 100644
index 1e374e0c7..000000000
--- a/src/io_bank0/intr2.rs
+++ /dev/null
@@ -1,1110 +0,0 @@
-#[doc = "Register `INTR2` reader"]
-pub struct R(crate::R);
-impl core::ops::Deref for R {
- type Target = crate::R;
- #[inline(always)]
- fn deref(&self) -> &Self::Target {
- &self.0
- }
-}
-impl From> for R {
- #[inline(always)]
- fn from(reader: crate::R) -> Self {
- R(reader)
- }
-}
-#[doc = "Register `INTR2` writer"]
-pub struct W(crate::W);
-impl core::ops::Deref for W {
- type Target = crate::W;
- #[inline(always)]
- fn deref(&self) -> &Self::Target {
- &self.0
- }
-}
-impl core::ops::DerefMut for W {
- #[inline(always)]
- fn deref_mut(&mut self) -> &mut Self::Target {
- &mut self.0
- }
-}
-impl From> for W {
- #[inline(always)]
- fn from(writer: crate::W) -> Self {
- W(writer)
- }
-}
-#[doc = "Field `GPIO23_EDGE_HIGH` reader - "]
-pub struct GPIO23_EDGE_HIGH_R(crate::FieldReader);
-impl GPIO23_EDGE_HIGH_R {
- pub(crate) fn new(bits: bool) -> Self {
- GPIO23_EDGE_HIGH_R(crate::FieldReader::new(bits))
- }
-}
-impl core::ops::Deref for GPIO23_EDGE_HIGH_R {
- type Target = crate::FieldReader;
- #[inline(always)]
- fn deref(&self) -> &Self::Target {
- &self.0
- }
-}
-#[doc = "Field `GPIO23_EDGE_HIGH` writer - "]
-pub struct GPIO23_EDGE_HIGH_W<'a> {
- w: &'a mut W,
-}
-impl<'a> GPIO23_EDGE_HIGH_W<'a> {
- #[doc = r"Sets the field bit"]
- #[inline(always)]
- pub fn set_bit(self) -> &'a mut W {
- self.bit(true)
- }
- #[doc = r"Clears the field bit"]
- #[inline(always)]
- pub fn clear_bit(self) -> &'a mut W {
- self.bit(false)
- }
- #[doc = r"Writes raw bits to the field"]
- #[inline(always)]
- pub fn bit(self, value: bool) -> &'a mut W {
- self.w.bits = (self.w.bits & !(0x01 << 31)) | ((value as u32 & 0x01) << 31);
- self.w
- }
-}
-#[doc = "Field `GPIO23_EDGE_LOW` reader - "]
-pub struct GPIO23_EDGE_LOW_R(crate::FieldReader);
-impl GPIO23_EDGE_LOW_R {
- pub(crate) fn new(bits: bool) -> Self {
- GPIO23_EDGE_LOW_R(crate::FieldReader::new(bits))
- }
-}
-impl core::ops::Deref for GPIO23_EDGE_LOW_R {
- type Target = crate::FieldReader;
- #[inline(always)]
- fn deref(&self) -> &Self::Target {
- &self.0
- }
-}
-#[doc = "Field `GPIO23_EDGE_LOW` writer - "]
-pub struct GPIO23_EDGE_LOW_W<'a> {
- w: &'a mut W,
-}
-impl<'a> GPIO23_EDGE_LOW_W<'a> {
- #[doc = r"Sets the field bit"]
- #[inline(always)]
- pub fn set_bit(self) -> &'a mut W {
- self.bit(true)
- }
- #[doc = r"Clears the field bit"]
- #[inline(always)]
- pub fn clear_bit(self) -> &'a mut W {
- self.bit(false)
- }
- #[doc = r"Writes raw bits to the field"]
- #[inline(always)]
- pub fn bit(self, value: bool) -> &'a mut W {
- self.w.bits = (self.w.bits & !(0x01 << 30)) | ((value as u32 & 0x01) << 30);
- self.w
- }
-}
-#[doc = "Field `GPIO23_LEVEL_HIGH` reader - "]
-pub struct GPIO23_LEVEL_HIGH_R(crate::FieldReader);
-impl GPIO23_LEVEL_HIGH_R {
- pub(crate) fn new(bits: bool) -> Self {
- GPIO23_LEVEL_HIGH_R(crate::FieldReader::new(bits))
- }
-}
-impl core::ops::Deref for GPIO23_LEVEL_HIGH_R {
- type Target = crate::FieldReader;
- #[inline(always)]
- fn deref(&self) -> &Self::Target {
- &self.0
- }
-}
-#[doc = "Field `GPIO23_LEVEL_LOW` reader - "]
-pub struct GPIO23_LEVEL_LOW_R(crate::FieldReader);
-impl GPIO23_LEVEL_LOW_R {
- pub(crate) fn new(bits: bool) -> Self {
- GPIO23_LEVEL_LOW_R(crate::FieldReader::new(bits))
- }
-}
-impl core::ops::Deref for GPIO23_LEVEL_LOW_R {
- type Target = crate::FieldReader;
- #[inline(always)]
- fn deref(&self) -> &Self::Target {
- &self.0
- }
-}
-#[doc = "Field `GPIO22_EDGE_HIGH` reader - "]
-pub struct GPIO22_EDGE_HIGH_R(crate::FieldReader);
-impl GPIO22_EDGE_HIGH_R {
- pub(crate) fn new(bits: bool) -> Self {
- GPIO22_EDGE_HIGH_R(crate::FieldReader::new(bits))
- }
-}
-impl core::ops::Deref for GPIO22_EDGE_HIGH_R {
- type Target = crate::FieldReader;
- #[inline(always)]
- fn deref(&self) -> &Self::Target {
- &self.0
- }
-}
-#[doc = "Field `GPIO22_EDGE_HIGH` writer - "]
-pub struct GPIO22_EDGE_HIGH_W<'a> {
- w: &'a mut W,
-}
-impl<'a> GPIO22_EDGE_HIGH_W<'a> {
- #[doc = r"Sets the field bit"]
- #[inline(always)]
- pub fn set_bit(self) -> &'a mut W {
- self.bit(true)
- }
- #[doc = r"Clears the field bit"]
- #[inline(always)]
- pub fn clear_bit(self) -> &'a mut W {
- self.bit(false)
- }
- #[doc = r"Writes raw bits to the field"]
- #[inline(always)]
- pub fn bit(self, value: bool) -> &'a mut W {
- self.w.bits = (self.w.bits & !(0x01 << 27)) | ((value as u32 & 0x01) << 27);
- self.w
- }
-}
-#[doc = "Field `GPIO22_EDGE_LOW` reader - "]
-pub struct GPIO22_EDGE_LOW_R(crate::FieldReader);
-impl GPIO22_EDGE_LOW_R {
- pub(crate) fn new(bits: bool) -> Self {
- GPIO22_EDGE_LOW_R(crate::FieldReader::new(bits))
- }
-}
-impl core::ops::Deref for GPIO22_EDGE_LOW_R {
- type Target = crate::FieldReader;
- #[inline(always)]
- fn deref(&self) -> &Self::Target {
- &self.0
- }
-}
-#[doc = "Field `GPIO22_EDGE_LOW` writer - "]
-pub struct GPIO22_EDGE_LOW_W<'a> {
- w: &'a mut W,
-}
-impl<'a> GPIO22_EDGE_LOW_W<'a> {
- #[doc = r"Sets the field bit"]
- #[inline(always)]
- pub fn set_bit(self) -> &'a mut W {
- self.bit(true)
- }
- #[doc = r"Clears the field bit"]
- #[inline(always)]
- pub fn clear_bit(self) -> &'a mut W {
- self.bit(false)
- }
- #[doc = r"Writes raw bits to the field"]
- #[inline(always)]
- pub fn bit(self, value: bool) -> &'a mut W {
- self.w.bits = (self.w.bits & !(0x01 << 26)) | ((value as u32 & 0x01) << 26);
- self.w
- }
-}
-#[doc = "Field `GPIO22_LEVEL_HIGH` reader - "]
-pub struct GPIO22_LEVEL_HIGH_R(crate::FieldReader);
-impl GPIO22_LEVEL_HIGH_R {
- pub(crate) fn new(bits: bool) -> Self {
- GPIO22_LEVEL_HIGH_R(crate::FieldReader::new(bits))
- }
-}
-impl core::ops::Deref for GPIO22_LEVEL_HIGH_R {
- type Target = crate::FieldReader;
- #[inline(always)]
- fn deref(&self) -> &Self::Target {
- &self.0
- }
-}
-#[doc = "Field `GPIO22_LEVEL_LOW` reader - "]
-pub struct GPIO22_LEVEL_LOW_R(crate::FieldReader);
-impl GPIO22_LEVEL_LOW_R {
- pub(crate) fn new(bits: bool) -> Self {
- GPIO22_LEVEL_LOW_R(crate::FieldReader::new(bits))
- }
-}
-impl core::ops::Deref for GPIO22_LEVEL_LOW_R {
- type Target = crate::FieldReader;
- #[inline(always)]
- fn deref(&self) -> &Self::Target {
- &self.0
- }
-}
-#[doc = "Field `GPIO21_EDGE_HIGH` reader - "]
-pub struct GPIO21_EDGE_HIGH_R(crate::FieldReader);
-impl GPIO21_EDGE_HIGH_R {
- pub(crate) fn new(bits: bool) -> Self {
- GPIO21_EDGE_HIGH_R(crate::FieldReader::new(bits))
- }
-}
-impl core::ops::Deref for GPIO21_EDGE_HIGH_R {
- type Target = crate::FieldReader;
- #[inline(always)]
- fn deref(&self) -> &Self::Target {
- &self.0
- }
-}
-#[doc = "Field `GPIO21_EDGE_HIGH` writer - "]
-pub struct GPIO21_EDGE_HIGH_W<'a> {
- w: &'a mut W,
-}
-impl<'a> GPIO21_EDGE_HIGH_W<'a> {
- #[doc = r"Sets the field bit"]
- #[inline(always)]
- pub fn set_bit(self) -> &'a mut W {
- self.bit(true)
- }
- #[doc = r"Clears the field bit"]
- #[inline(always)]
- pub fn clear_bit(self) -> &'a mut W {
- self.bit(false)
- }
- #[doc = r"Writes raw bits to the field"]
- #[inline(always)]
- pub fn bit(self, value: bool) -> &'a mut W {
- self.w.bits = (self.w.bits & !(0x01 << 23)) | ((value as u32 & 0x01) << 23);
- self.w
- }
-}
-#[doc = "Field `GPIO21_EDGE_LOW` reader - "]
-pub struct GPIO21_EDGE_LOW_R(crate::FieldReader);
-impl GPIO21_EDGE_LOW_R {
- pub(crate) fn new(bits: bool) -> Self {
- GPIO21_EDGE_LOW_R(crate::FieldReader::new(bits))
- }
-}
-impl core::ops::Deref for GPIO21_EDGE_LOW_R {
- type Target = crate::FieldReader;
- #[inline(always)]
- fn deref(&self) -> &Self::Target {
- &self.0
- }
-}
-#[doc = "Field `GPIO21_EDGE_LOW` writer - "]
-pub struct GPIO21_EDGE_LOW_W<'a> {
- w: &'a mut W,
-}
-impl<'a> GPIO21_EDGE_LOW_W<'a> {
- #[doc = r"Sets the field bit"]
- #[inline(always)]
- pub fn set_bit(self) -> &'a mut W {
- self.bit(true)
- }
- #[doc = r"Clears the field bit"]
- #[inline(always)]
- pub fn clear_bit(self) -> &'a mut W {
- self.bit(false)
- }
- #[doc = r"Writes raw bits to the field"]
- #[inline(always)]
- pub fn bit(self, value: bool) -> &'a mut W {
- self.w.bits = (self.w.bits & !(0x01 << 22)) | ((value as u32 & 0x01) << 22);
- self.w
- }
-}
-#[doc = "Field `GPIO21_LEVEL_HIGH` reader - "]
-pub struct GPIO21_LEVEL_HIGH_R(crate::FieldReader);
-impl GPIO21_LEVEL_HIGH_R {
- pub(crate) fn new(bits: bool) -> Self {
- GPIO21_LEVEL_HIGH_R(crate::FieldReader::new(bits))
- }
-}
-impl core::ops::Deref for GPIO21_LEVEL_HIGH_R {
- type Target = crate::FieldReader;
- #[inline(always)]
- fn deref(&self) -> &Self::Target {
- &self.0
- }
-}
-#[doc = "Field `GPIO21_LEVEL_LOW` reader - "]
-pub struct GPIO21_LEVEL_LOW_R(crate::FieldReader);
-impl GPIO21_LEVEL_LOW_R {
- pub(crate) fn new(bits: bool) -> Self {
- GPIO21_LEVEL_LOW_R(crate::FieldReader::new(bits))
- }
-}
-impl core::ops::Deref for GPIO21_LEVEL_LOW_R {
- type Target = crate::FieldReader;
- #[inline(always)]
- fn deref(&self) -> &Self::Target {
- &self.0
- }
-}
-#[doc = "Field `GPIO20_EDGE_HIGH` reader - "]
-pub struct GPIO20_EDGE_HIGH_R(crate::FieldReader);
-impl GPIO20_EDGE_HIGH_R {
- pub(crate) fn new(bits: bool) -> Self {
- GPIO20_EDGE_HIGH_R(crate::FieldReader::new(bits))
- }
-}
-impl core::ops::Deref for GPIO20_EDGE_HIGH_R {
- type Target = crate::FieldReader;
- #[inline(always)]
- fn deref(&self) -> &Self::Target {
- &self.0
- }
-}
-#[doc = "Field `GPIO20_EDGE_HIGH` writer - "]
-pub struct GPIO20_EDGE_HIGH_W<'a> {
- w: &'a mut W,
-}
-impl<'a> GPIO20_EDGE_HIGH_W<'a> {
- #[doc = r"Sets the field bit"]
- #[inline(always)]
- pub fn set_bit(self) -> &'a mut W {
- self.bit(true)
- }
- #[doc = r"Clears the field bit"]
- #[inline(always)]
- pub fn clear_bit(self) -> &'a mut W {
- self.bit(false)
- }
- #[doc = r"Writes raw bits to the field"]
- #[inline(always)]
- pub fn bit(self, value: bool) -> &'a mut W {
- self.w.bits = (self.w.bits & !(0x01 << 19)) | ((value as u32 & 0x01) << 19);
- self.w
- }
-}
-#[doc = "Field `GPIO20_EDGE_LOW` reader - "]
-pub struct GPIO20_EDGE_LOW_R(crate::FieldReader);
-impl GPIO20_EDGE_LOW_R {
- pub(crate) fn new(bits: bool) -> Self {
- GPIO20_EDGE_LOW_R(crate::FieldReader::new(bits))
- }
-}
-impl core::ops::Deref for GPIO20_EDGE_LOW_R {
- type Target = crate::FieldReader;
- #[inline(always)]
- fn deref(&self) -> &Self::Target {
- &self.0
- }
-}
-#[doc = "Field `GPIO20_EDGE_LOW` writer - "]
-pub struct GPIO20_EDGE_LOW_W<'a> {
- w: &'a mut W,
-}
-impl<'a> GPIO20_EDGE_LOW_W<'a> {
- #[doc = r"Sets the field bit"]
- #[inline(always)]
- pub fn set_bit(self) -> &'a mut W {
- self.bit(true)
- }
- #[doc = r"Clears the field bit"]
- #[inline(always)]
- pub fn clear_bit(self) -> &'a mut W {
- self.bit(false)
- }
- #[doc = r"Writes raw bits to the field"]
- #[inline(always)]
- pub fn bit(self, value: bool) -> &'a mut W {
- self.w.bits = (self.w.bits & !(0x01 << 18)) | ((value as u32 & 0x01) << 18);
- self.w
- }
-}
-#[doc = "Field `GPIO20_LEVEL_HIGH` reader - "]
-pub struct GPIO20_LEVEL_HIGH_R(crate::FieldReader);
-impl GPIO20_LEVEL_HIGH_R {
- pub(crate) fn new(bits: bool) -> Self {
- GPIO20_LEVEL_HIGH_R(crate::FieldReader::new(bits))
- }
-}
-impl core::ops::Deref for GPIO20_LEVEL_HIGH_R {
- type Target = crate::FieldReader;
- #[inline(always)]
- fn deref(&self) -> &Self::Target {
- &self.0
- }
-}
-#[doc = "Field `GPIO20_LEVEL_LOW` reader - "]
-pub struct GPIO20_LEVEL_LOW_R(crate::FieldReader);
-impl GPIO20_LEVEL_LOW_R {
- pub(crate) fn new(bits: bool) -> Self {
- GPIO20_LEVEL_LOW_R(crate::FieldReader::new(bits))
- }
-}
-impl core::ops::Deref for GPIO20_LEVEL_LOW_R {
- type Target = crate::FieldReader;
- #[inline(always)]
- fn deref(&self) -> &Self::Target {
- &self.0
- }
-}
-#[doc = "Field `GPIO19_EDGE_HIGH` reader - "]
-pub struct GPIO19_EDGE_HIGH_R(crate::FieldReader);
-impl GPIO19_EDGE_HIGH_R {
- pub(crate) fn new(bits: bool) -> Self {
- GPIO19_EDGE_HIGH_R(crate::FieldReader::new(bits))
- }
-}
-impl core::ops::Deref for GPIO19_EDGE_HIGH_R {
- type Target = crate::FieldReader;
- #[inline(always)]
- fn deref(&self) -> &Self::Target {
- &self.0
- }
-}
-#[doc = "Field `GPIO19_EDGE_HIGH` writer - "]
-pub struct GPIO19_EDGE_HIGH_W<'a> {
- w: &'a mut W,
-}
-impl<'a> GPIO19_EDGE_HIGH_W<'a> {
- #[doc = r"Sets the field bit"]
- #[inline(always)]
- pub fn set_bit(self) -> &'a mut W {
- self.bit(true)
- }
- #[doc = r"Clears the field bit"]
- #[inline(always)]
- pub fn clear_bit(self) -> &'a mut W {
- self.bit(false)
- }
- #[doc = r"Writes raw bits to the field"]
- #[inline(always)]
- pub fn bit(self, value: bool) -> &'a mut W {
- self.w.bits = (self.w.bits & !(0x01 << 15)) | ((value as u32 & 0x01) << 15);
- self.w
- }
-}
-#[doc = "Field `GPIO19_EDGE_LOW` reader - "]
-pub struct GPIO19_EDGE_LOW_R(crate::FieldReader);
-impl GPIO19_EDGE_LOW_R {
- pub(crate) fn new(bits: bool) -> Self {
- GPIO19_EDGE_LOW_R(crate::FieldReader::new(bits))
- }
-}
-impl core::ops::Deref for GPIO19_EDGE_LOW_R {
- type Target = crate::FieldReader;
- #[inline(always)]
- fn deref(&self) -> &Self::Target {
- &self.0
- }
-}
-#[doc = "Field `GPIO19_EDGE_LOW` writer - "]
-pub struct GPIO19_EDGE_LOW_W<'a> {
- w: &'a mut W,
-}
-impl<'a> GPIO19_EDGE_LOW_W<'a> {
- #[doc = r"Sets the field bit"]
- #[inline(always)]
- pub fn set_bit(self) -> &'a mut W {
- self.bit(true)
- }
- #[doc = r"Clears the field bit"]
- #[inline(always)]
- pub fn clear_bit(self) -> &'a mut W {
- self.bit(false)
- }
- #[doc = r"Writes raw bits to the field"]
- #[inline(always)]
- pub fn bit(self, value: bool) -> &'a mut W {
- self.w.bits = (self.w.bits & !(0x01 << 14)) | ((value as u32 & 0x01) << 14);
- self.w
- }
-}
-#[doc = "Field `GPIO19_LEVEL_HIGH` reader - "]
-pub struct GPIO19_LEVEL_HIGH_R(crate::FieldReader);
-impl GPIO19_LEVEL_HIGH_R {
- pub(crate) fn new(bits: bool) -> Self {
- GPIO19_LEVEL_HIGH_R(crate::FieldReader::new(bits))
- }
-}
-impl core::ops::Deref for GPIO19_LEVEL_HIGH_R {
- type Target = crate::FieldReader;
- #[inline(always)]
- fn deref(&self) -> &Self::Target {
- &self.0
- }
-}
-#[doc = "Field `GPIO19_LEVEL_LOW` reader - "]
-pub struct GPIO19_LEVEL_LOW_R(crate::FieldReader);
-impl GPIO19_LEVEL_LOW_R {
- pub(crate) fn new(bits: bool) -> Self {
- GPIO19_LEVEL_LOW_R(crate::FieldReader::new(bits))
- }
-}
-impl core::ops::Deref for GPIO19_LEVEL_LOW_R {
- type Target = crate::FieldReader;
- #[inline(always)]
- fn deref(&self) -> &Self::Target {
- &self.0
- }
-}
-#[doc = "Field `GPIO18_EDGE_HIGH` reader - "]
-pub struct GPIO18_EDGE_HIGH_R(crate::FieldReader);
-impl GPIO18_EDGE_HIGH_R {
- pub(crate) fn new(bits: bool) -> Self {
- GPIO18_EDGE_HIGH_R(crate::FieldReader::new(bits))
- }
-}
-impl core::ops::Deref for GPIO18_EDGE_HIGH_R {
- type Target = crate::FieldReader;
- #[inline(always)]
- fn deref(&self) -> &Self::Target {
- &self.0
- }
-}
-#[doc = "Field `GPIO18_EDGE_HIGH` writer - "]
-pub struct GPIO18_EDGE_HIGH_W<'a> {
- w: &'a mut W,
-}
-impl<'a> GPIO18_EDGE_HIGH_W<'a> {
- #[doc = r"Sets the field bit"]
- #[inline(always)]
- pub fn set_bit(self) -> &'a mut W {
- self.bit(true)
- }
- #[doc = r"Clears the field bit"]
- #[inline(always)]
- pub fn clear_bit(self) -> &'a mut W {
- self.bit(false)
- }
- #[doc = r"Writes raw bits to the field"]
- #[inline(always)]
- pub fn bit(self, value: bool) -> &'a mut W {
- self.w.bits = (self.w.bits & !(0x01 << 11)) | ((value as u32 & 0x01) << 11);
- self.w
- }
-}
-#[doc = "Field `GPIO18_EDGE_LOW` reader - "]
-pub struct GPIO18_EDGE_LOW_R(crate::FieldReader);
-impl GPIO18_EDGE_LOW_R {
- pub(crate) fn new(bits: bool) -> Self {
- GPIO18_EDGE_LOW_R(crate::FieldReader::new(bits))
- }
-}
-impl core::ops::Deref for GPIO18_EDGE_LOW_R {
- type Target = crate::FieldReader;
- #[inline(always)]
- fn deref(&self) -> &Self::Target {
- &self.0
- }
-}
-#[doc = "Field `GPIO18_EDGE_LOW` writer - "]
-pub struct GPIO18_EDGE_LOW_W<'a> {
- w: &'a mut W,
-}
-impl<'a> GPIO18_EDGE_LOW_W<'a> {
- #[doc = r"Sets the field bit"]
- #[inline(always)]
- pub fn set_bit(self) -> &'a mut W {
- self.bit(true)
- }
- #[doc = r"Clears the field bit"]
- #[inline(always)]
- pub fn clear_bit(self) -> &'a mut W {
- self.bit(false)
- }
- #[doc = r"Writes raw bits to the field"]
- #[inline(always)]
- pub fn bit(self, value: bool) -> &'a mut W {
- self.w.bits = (self.w.bits & !(0x01 << 10)) | ((value as u32 & 0x01) << 10);
- self.w
- }
-}
-#[doc = "Field `GPIO18_LEVEL_HIGH` reader - "]
-pub struct GPIO18_LEVEL_HIGH_R(crate::FieldReader);
-impl GPIO18_LEVEL_HIGH_R {
- pub(crate) fn new(bits: bool) -> Self {
- GPIO18_LEVEL_HIGH_R(crate::FieldReader::new(bits))
- }
-}
-impl core::ops::Deref for GPIO18_LEVEL_HIGH_R {
- type Target = crate::FieldReader;
- #[inline(always)]
- fn deref(&self) -> &Self::Target {
- &self.0
- }
-}
-#[doc = "Field `GPIO18_LEVEL_LOW` reader - "]
-pub struct GPIO18_LEVEL_LOW_R(crate::FieldReader);
-impl GPIO18_LEVEL_LOW_R {
- pub(crate) fn new(bits: bool) -> Self {
- GPIO18_LEVEL_LOW_R(crate::FieldReader::new(bits))
- }
-}
-impl core::ops::Deref for GPIO18_LEVEL_LOW_R {
- type Target = crate::FieldReader;
- #[inline(always)]
- fn deref(&self) -> &Self::Target {
- &self.0
- }
-}
-#[doc = "Field `GPIO17_EDGE_HIGH` reader - "]
-pub struct GPIO17_EDGE_HIGH_R(crate::FieldReader