• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1
2#include "device_info.hcs"
3
4root {
5    platform {
6        gpio_config {
7            match_attr = "gpio_config";
8
9            gpios = [
10                /*
11                    GPIOINDEX 0,1,2,
12                    GPIONO should in order ,first is start
13                    GPIOTYPE GPIO(0)\INT(1)
14                    DIR: IN(0)\OUT(1)
15                    MODE: LOW(0)\HIGH(1)
16                        irq trigger edge, rising(1)\falling(2)\high(4)\low(8)\thread
17                */
18                0, 6, 0, 1, 0,
19            ];
20        }
21    }
22}
23