summaryrefslogtreecommitdiff
path: root/software/first/gpio.inc
diff options
context:
space:
mode:
authorSilvan Jegen <s.jegen@gmail.com>2019-07-22 23:04:17 +0200
committerSilvan Jegen <s.jegen@gmail.com>2019-07-22 23:04:17 +0200
commitf5e284223d25ee5beab98de95cd74e3ac72a39a6 (patch)
tree33d6b2b3a0e5fa5b1d0b3094108bac78bd84bda0 /software/first/gpio.inc
parent4bc2e5141c68e82f2f6d7c8f71051fe93dd96d18 (diff)
Implement first superblink version
Diffstat (limited to 'software/first/gpio.inc')
-rw-r--r--software/first/gpio.inc8
1 files changed, 8 insertions, 0 deletions
diff --git a/software/first/gpio.inc b/software/first/gpio.inc
new file mode 100644
index 0000000..37caeba
--- /dev/null
+++ b/software/first/gpio.inc
@@ -0,0 +1,8 @@
+.equ GPIO_OUTPUT_EN, 0x08
+.equ GPIO_OUTPUT_VAL, 0x0C
+.equ GPIO_OUTPUT_XOR, 0x40
+
+.equ GPIO_RGB_PINS, 0x680000
+.equ GPIO_RED_LED, 0x400000
+.equ GPIO_BLUE_LED, 0x200000
+.equ GPIO_GREEN_LED, 0x080000