36 palSetPadMode(port, gpios, PAL_MODE_OUTPUT_PUSHPULL);
43 palSetPadMode(port, gpios, PAL_MODE_INPUT);
50 palSetPadMode(port, gpios, PAL_MODE_INPUT_PULLUP);
57 palSetPadMode(port, gpios, PAL_MODE_INPUT_PULLDOWN);
71 #elif defined(STM32F4) || defined(STM32F3) || defined(STM32F7)
74 palSetPadMode(port, pin, PAL_MODE_ALTERNATE(af));
77 palSetPadMode(port, pin, PAL_MODE_OUTPUT_PUSHPULL);
79 palSetPadMode(port, pin, PAL_MODE_INPUT);
89 palSetPadMode(port, pin, PAL_MODE_INPUT_ANALOG);