Lines Matching refs:gpioConfig
85 for (const auto& gpioConfig : gpioDefs) in main() local
87 std::string formFactorName = gpioConfig["name"]; in main()
90 buttonCfg.extraJsonInfo = gpioConfig; in main()
98 if (gpioConfig.contains("group_gpio_config")) in main()
100 const auto& groupGpio = gpioConfig["group_gpio_config"]; in main()
105 if (gpioConfig.contains("pin")) in main()
108 gpioCfg.number = getGpioNum(gpioConfig.at("pin")); in main()
113 gpioCfg.number = gpioConfig.at("num").get<uint32_t>(); in main()
126 if (gpioConfig.contains("pin")) in main()
129 gpioCfg.number = getGpioNum(gpioConfig.at("pin")); in main()
134 gpioCfg.number = gpioConfig.at("num").get<uint32_t>(); in main()
136 gpioCfg.direction = gpioConfig["direction"]; in main()