Home
last modified time | relevance | path

Searched refs:t_st (Results 1 – 1 of 1) sorted by relevance

/nrf_hw_models-latest/src/HW_models/
DNHW_TIMER.c91 struct timer_status *t_st = &nhw_timer_st[t]; in nhw_timer_init() local
93 t_st->NRF_TIMER_regs = &NRF_TIMER_regs[t]; in nhw_timer_init()
95 t_st->INTEN = 0; in nhw_timer_init()
96 t_st->is_running = false; in nhw_timer_init()
97 t_st->start_t = TIME_NEVER; in nhw_timer_init()
98 t_st->Counter = 0; in nhw_timer_init()
100 t_st->base_freq = Timer_freqs[t]; in nhw_timer_init()
101 t_st->n_CCs = Timer_n_CCs[t]; in nhw_timer_init()
102 t_st->CC_timers = (bs_time_t *)bs_malloc(sizeof(bs_time_t)*Timer_n_CCs[t]); in nhw_timer_init()
103 t_st->oneshot_flag = (bool *)bs_calloc(Timer_n_CCs[t], sizeof(bool)); in nhw_timer_init()
[all …]