Lines Matching refs:pin_config
480 gpio_config_t pin_config; in main() local
582 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()
645 "failed (flags=%d)", pin_config.g_pin, file, in main()
646 pin_config.g_flags); in main()