Lines Matching refs:pin_config
29 struct soc_gpio_pin pin_config = {0, 0, 0, 0}; in pinctrl_configure_pins() local
32 pin_config.port = GECKO_GET_PORT(pins[i]); in pinctrl_configure_pins()
33 pin_config.pin = GECKO_GET_PIN(pins[i]); in pinctrl_configure_pins()
58 pin_config.mode = gpioModePushPull; in pinctrl_configure_pins()
59 pin_config.out = 1; in pinctrl_configure_pins()
60 GPIO_PinModeSet(pin_config.port, pin_config.pin, pin_config.mode, in pinctrl_configure_pins()
61 pin_config.out); in pinctrl_configure_pins()
65 pin_config.mode = gpioModeInput; in pinctrl_configure_pins()
66 pin_config.out = 1; in pinctrl_configure_pins()
67 GPIO_PinModeSet(pin_config.port, pin_config.pin, pin_config.mode, in pinctrl_configure_pins()
68 pin_config.out); in pinctrl_configure_pins()
148 pin_config.mode = gpioModePushPull; in pinctrl_configure_pins()
149 pin_config.out = 1; in pinctrl_configure_pins()
150 GPIO_PinModeSet(pin_config.port, pin_config.pin, pin_config.mode, in pinctrl_configure_pins()
151 pin_config.out); in pinctrl_configure_pins()
155 pin_config.mode = gpioModePushPull; in pinctrl_configure_pins()
156 pin_config.out = 1; in pinctrl_configure_pins()
157 GPIO_PinModeSet(pin_config.port, pin_config.pin, pin_config.mode, in pinctrl_configure_pins()
158 pin_config.out); in pinctrl_configure_pins()
162 pin_config.mode = gpioModeInput; in pinctrl_configure_pins()
163 pin_config.out = 1; in pinctrl_configure_pins()
164 GPIO_PinModeSet(pin_config.port, pin_config.pin, pin_config.mode, in pinctrl_configure_pins()
165 pin_config.out); in pinctrl_configure_pins()
169 pin_config.mode = gpioModePushPull; in pinctrl_configure_pins()
170 pin_config.out = 1; in pinctrl_configure_pins()
171 GPIO_PinModeSet(pin_config.port, pin_config.pin, pin_config.mode, in pinctrl_configure_pins()
172 pin_config.out); in pinctrl_configure_pins()
176 pin_config.mode = gpioModeInput; in pinctrl_configure_pins()
177 pin_config.out = 1; in pinctrl_configure_pins()
178 GPIO_PinModeSet(pin_config.port, pin_config.pin, pin_config.mode, in pinctrl_configure_pins()
179 pin_config.out); in pinctrl_configure_pins()
183 pin_config.mode = gpioModeInput; in pinctrl_configure_pins()
184 pin_config.out = 1; in pinctrl_configure_pins()
185 GPIO_PinModeSet(pin_config.port, pin_config.pin, pin_config.mode, in pinctrl_configure_pins()
186 pin_config.out); in pinctrl_configure_pins()
190 pin_config.mode = gpioModePushPull; in pinctrl_configure_pins()
191 pin_config.out = 1; in pinctrl_configure_pins()
192 GPIO_PinModeSet(pin_config.port, pin_config.pin, pin_config.mode, in pinctrl_configure_pins()
193 pin_config.out); in pinctrl_configure_pins()
197 pin_config.mode = gpioModeInput; in pinctrl_configure_pins()
198 pin_config.out = 1; in pinctrl_configure_pins()
199 GPIO_PinModeSet(pin_config.port, pin_config.pin, pin_config.mode, in pinctrl_configure_pins()
200 pin_config.out); in pinctrl_configure_pins()
231 pin_config.mode = gpioModeWiredAnd; in pinctrl_configure_pins()
232 pin_config.out = 1; in pinctrl_configure_pins()
233 GPIO_PinModeSet(pin_config.port, pin_config.pin, pin_config.mode, in pinctrl_configure_pins()
234 pin_config.out); in pinctrl_configure_pins()
238 pin_config.mode = gpioModeWiredAnd; in pinctrl_configure_pins()
239 pin_config.out = 1; in pinctrl_configure_pins()
240 GPIO_PinModeSet(pin_config.port, pin_config.pin, pin_config.mode, in pinctrl_configure_pins()
241 pin_config.out); in pinctrl_configure_pins()