Searched refs:SPINEL_BIT_MASK (Results 1 – 1 of 1) sorted by relevance
/openthread-2.7.6/src/lib/spinel/ |
D | spinel.h | 437 #define SPINEL_BIT_MASK(bit_index, field_bit_count) ((1 << ((field_bit_count)-1)) >> (bit_index)) macro 651 SPINEL_GPIO_FLAG_DIR_OUTPUT = SPINEL_BIT_MASK(0, 8), 652 SPINEL_GPIO_FLAG_PULL_UP = SPINEL_BIT_MASK(1, 8), 653 SPINEL_GPIO_FLAG_PULL_DOWN = SPINEL_BIT_MASK(2, 8), 654 SPINEL_GPIO_FLAG_OPEN_DRAIN = SPINEL_BIT_MASK(2, 8), 656 SPINEL_GPIO_FLAG_TRIGGER_RISING = SPINEL_BIT_MASK(3, 8), 657 SPINEL_GPIO_FLAG_TRIGGER_FALLING = SPINEL_BIT_MASK(4, 8),
|