3 of 3 people found this helpful
They are flags, so they are combined with a bitwise OR which is the symbol "|".
Here are a couple of examples directly from my working-well-now code base. :-)
gpio_configurePin(GPIO_PIN_P0 / 16, GPIO_PIN_P0 % 16, GPIO_INPUT_ENABLE | GPIO_PULL_UP, 0);
gpio_configurePin(COL1 / 16, COL1 % 16, GPIO_INPUT_ENABLE | GPIO_EN_INT_BOTH_EDGE, GPIO_PIN_OUTPUT_LOW);
Ok i will try this...