]> git.sur5r.net Git - freertos/blob - FreeRTOS/Demo/RISC-V-Qemu-sifive_e-FreedomStudio/freedom-e-sdk/include/sifive/devices/gpio.h
Recreate the RISC-V-Qemu demo using Vanilla Eclipse in place of Freedom Studio as...
[freertos] / FreeRTOS / Demo / RISC-V-Qemu-sifive_e-FreedomStudio / freedom-e-sdk / include / sifive / devices / gpio.h
1 // See LICENSE for license details.\r
2 \r
3 #ifndef _SIFIVE_GPIO_H\r
4 #define _SIFIVE_GPIO_H\r
5 \r
6 #define GPIO_INPUT_VAL  (0x00)\r
7 #define GPIO_INPUT_EN   (0x04)\r
8 #define GPIO_OUTPUT_EN  (0x08)\r
9 #define GPIO_OUTPUT_VAL (0x0C)\r
10 #define GPIO_PULLUP_EN  (0x10)\r
11 #define GPIO_DRIVE      (0x14)\r
12 #define GPIO_RISE_IE    (0x18)\r
13 #define GPIO_RISE_IP    (0x1C)\r
14 #define GPIO_FALL_IE    (0x20)\r
15 #define GPIO_FALL_IP    (0x24)\r
16 #define GPIO_HIGH_IE    (0x28)\r
17 #define GPIO_HIGH_IP    (0x2C)\r
18 #define GPIO_LOW_IE     (0x30)\r
19 #define GPIO_LOW_IP     (0x34)\r
20 #define GPIO_IOF_EN     (0x38)\r
21 #define GPIO_IOF_SEL    (0x3C)\r
22 #define GPIO_OUTPUT_XOR    (0x40)\r
23 \r
24 #endif /* _SIFIVE_GPIO_H */\r