From f5e284223d25ee5beab98de95cd74e3ac72a39a6 Mon Sep 17 00:00:00 2001 From: Silvan Jegen Date: Mon, 22 Jul 2019 23:04:17 +0200 Subject: Implement first superblink version --- software/first/gpio.inc | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 software/first/gpio.inc (limited to 'software/first/gpio.inc') 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 -- cgit v1.2.1-18-gbd029