Searched refs:RTC_COUNTER_MASK (Results 1 – 1 of 1) sorted by relevance
106 #define RTC_COUNTER_MASK 0xFFFFFF /*24 bits*/ macro284 return counter_to_time_sub_us(rtc, (uint64_t)RTC_COUNTER_MASK + 1); in time_of_1_counter_wrap_sub_us()369 …this->overflow_timer = get_counter_match_time(rtc, RTC_COUNTER_MASK + 1, &this->overflow_timer_sub… in update_overflow_timer()389 counter_val &= RTC_COUNTER_MASK; in nhw_rtc_set_counter()481 RTC_regs->COUNTER = count & RTC_COUNTER_MASK; in nhw_rtc_update_COUNTER()483 RTC_regs->COUNTER = this->counter_at_stop & RTC_COUNTER_MASK; in nhw_rtc_update_COUNTER()520 this->counter_at_stop &= RTC_COUNTER_MASK; in nhw_rtc_TASKS_STOP()