diff options
author | deadprogram <[email protected]> | 2023-01-11 14:41:34 +0100 |
---|---|---|
committer | Ron Evans <[email protected]> | 2023-03-12 23:53:59 +0100 |
commit | 60366adfa801754b41044833610f59730d36781a (patch) | |
tree | 24dd256a03a4a6e9e59338e864429e72c65acc60 /src/machine/machine_rp2040_gpio.go | |
parent | faa449a9e17aff8499d35aff300335edea4b5d21 (diff) | |
download | tinygo-60366adfa801754b41044833610f59730d36781a.tar.gz tinygo-60366adfa801754b41044833610f59730d36781a.zip |
machine/rp2040: implement Flash interface
Signed-off-by: deadprogram <[email protected]>
Diffstat (limited to 'src/machine/machine_rp2040_gpio.go')
-rw-r--r-- | src/machine/machine_rp2040_gpio.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/machine/machine_rp2040_gpio.go b/src/machine/machine_rp2040_gpio.go index a62a90484..fa2051af8 100644 --- a/src/machine/machine_rp2040_gpio.go +++ b/src/machine/machine_rp2040_gpio.go @@ -9,7 +9,7 @@ import ( "unsafe" ) -type io struct { +type ioType struct { status volatile.Register32 ctrl volatile.Register32 } @@ -21,7 +21,7 @@ type irqCtrl struct { } type ioBank0Type struct { - io [30]io + io [30]ioType intR [4]volatile.Register32 proc0IRQctrl irqCtrl proc1IRQctrl irqCtrl |