Searched refs:bitwidths (Results 1 – 1 of 1) sorted by relevance
26 static uint32_t const bitwidths[] = {16, 8, 24, 32}; variable47 s->counter = (s->counter + ticks) % BIT(bitwidths[s->bitmode]); in update_counter()71 delta_ns = ticks_to_ns(s, BIT(bitwidths[s->bitmode]) - in rearm_timer()111 cc_remaining[i] = BIT(bitwidths[s->bitmode]) - in timer_expire()226 s->counter = (s->counter + 1) % BIT(bitwidths[s->bitmode]); in nrf51_timer_write()294 s->cc[idx] = value % BIT(bitwidths[s->bitmode]); in nrf51_timer_write()