LR_GPIO_POLARITY
if ((flags & LR_GPIO_POLARITY) == LR_GPIO_ACTLO)
if ((flags & LR_GPIO_POLARITY) == LR_GPIO_ACTBOTH)
if ((flags & LR_GPIO_POLARITY) == LR_GPIO_ACTLO)
if ((flags & LR_GPIO_POLARITY) == LR_GPIO_ACTBOTH)
if ((flags & LR_GPIO_POLARITY) == LR_GPIO_ACTLO)
if ((flags & LR_GPIO_POLARITY) == LR_GPIO_ACTHI)
if ((flags & LR_GPIO_POLARITY) == LR_GPIO_ACTBOTH)
switch (flags & (LR_GPIO_MODE | LR_GPIO_POLARITY)) {
if ((flags & LR_GPIO_POLARITY) == LR_GPIO_ACTHI)
if ((flags & LR_GPIO_POLARITY) == LR_GPIO_ACTLO)
if ((flags & LR_GPIO_POLARITY) == LR_GPIO_ACTBOTH)
if ((flags & LR_GPIO_POLARITY) == LR_GPIO_ACTLO)
if ((flags & LR_GPIO_POLARITY) == LR_GPIO_ACTBOTH)
switch (flags & (LR_GPIO_MODE | LR_GPIO_POLARITY)) {