Searched refs:BIT_PER_GPIO (Results 1 – 1 of 1) sorted by relevance
24 #define BIT_PER_GPIO 2 macro36 reg &= ~(GPIO_PIN_MASK << (oft * BIT_PER_GPIO)); in hsdk_creg_gpio_set_value()37 reg |= (cmd << (oft * BIT_PER_GPIO)); in hsdk_creg_gpio_set_value()64 val = (val >> (oft * BIT_PER_GPIO)) & GPIO_PIN_MASK; in hsdk_creg_gpio_get_value()