Searched refs:pin_config (Results 1 – 1 of 1) sorted by relevance
480 gpio_config_t pin_config; in main() local582 pin_config.g_pin = strtol(argv[i], NULL, 10); in main()598 pin_config.g_flags = GPIO_INTR_NONE; in main()601 pin_config.g_flags = GPIO_INTR_EDGE_RISING; in main()604 pin_config.g_flags = GPIO_INTR_EDGE_FALLING; in main()607 pin_config.g_flags = GPIO_INTR_EDGE_BOTH; in main()628 pin_config.g_flags |= GPIO_PIN_PULLDOWN; in main()631 pin_config.g_flags |= GPIO_PIN_PULLUP; in main()640 pin_config.g_flags |= GPIO_PIN_INPUT; in main()642 res = gpio_pin_set_flags(handle, &pin_config); in main()[all …]