Searched refs:Counter (Results 1 – 1 of 1) sorted by relevance
57 uint32_t Counter; //Internal count value. Used in count mode, and in Timer mode during stops. member98 t_st->Counter = 0; in nhw_timer_init()270 …this->start_t = nsi_hws_get_time() - counter_to_time(this->Counter, t); //If the counter is not ze… in nhw_timer_TASK_START()284 …this->Counter = time_to_counter(nsi_hws_get_time() - this->start_t, t); //we save the value when t… in nhw_timer_TASK_STOP()306 this->Counter = 0; in nhw_timer_TASK_SHUTDOWN()326 NRF_TIMER_regs[t].CC[cc_n] = this->Counter & mask_from_bitmode(t); in nhw_timer_TASK_CAPTURE()340 this->Counter = 0; in nhw_timer_TASK_CLEAR()406 this->Counter = (this->Counter + 1) & mask_from_bitmode(t); in nhw_timer_TASK_COUNT()409 if (this->Counter == (NRF_TIMER_regs[t].CC[cc_n] & mask_from_bitmode(t))){ in nhw_timer_TASK_COUNT()