Searched refs:gpioCfg (Results 1 – 2 of 2) sorted by relevance
104 GpioInfo gpioCfg; in main() local108 gpioCfg.number = getGpioNum(gpioConfig.at("pin")); in main()115 gpioCfg.direction = config["direction"]; in main()116 gpioCfg.name = config["name"]; in main()117 gpioCfg.polarity = (config["polarity"] == "active_high") in main()120 buttonCfg.gpios.push_back(gpioCfg); in main()125 GpioInfo gpioCfg; in main() local129 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()[all …]
134 for (auto& gpioCfg : buttonIFConfig.gpios) in configGroupGpio() local136 result = configGpio(gpioCfg, buttonIFConfig); in configGroupGpio()140 buttonIFConfig.formFactorName, "NUM", gpioCfg.number, in configGroupGpio()