diff options
Diffstat (limited to 'software/first/gpio.inc')
-rw-r--r-- | software/first/gpio.inc | 8 |
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 |