Searched refs:cc_n (Results 1 – 6 of 6) sorted by relevance
/nrf_hw_models-latest/src/HW_models/ |
D | NHW_TIMER.c | 317 void nhw_timer_TASK_CAPTURE(int t, unsigned int cc_n) { in nhw_timer_TASK_CAPTURE() argument 320 if (cc_n >= this->n_CCs) { in nhw_timer_TASK_CAPTURE() 323 t, cc_n, this->n_CCs); in nhw_timer_TASK_CAPTURE() 326 NRF_TIMER_regs[t].CC[cc_n] = this->Counter & mask_from_bitmode(t); in nhw_timer_TASK_CAPTURE() 329 NRF_TIMER_regs[t].CC[cc_n] = time_to_counter(Elapsed,t) & mask_from_bitmode(t); in nhw_timer_TASK_CAPTURE() 332 update_cc_timer(t, cc_n); in nhw_timer_TASK_CAPTURE() 391 static void nhw_timer_signal_COMPARE_if(uint t, uint cc_n) { in nhw_timer_signal_COMPARE_if() argument 394 if ((this->oneshot_flag[cc_n] == false) && this->NRF_TIMER_regs->ONESHOTEN[cc_n]) { in nhw_timer_signal_COMPARE_if() 398 this->oneshot_flag[cc_n] = false; in nhw_timer_signal_COMPARE_if() 399 nhw_timer_signal_COMPARE(t, cc_n); in nhw_timer_signal_COMPARE_if() [all …]
|
D | NHW_TIMER.h | 21 void nhw_timer_regw_sideeffects_TASKS_CAPTURE(uint t, uint cc_n); 24 void nhw_timer_regw_sideeffects_CC(uint t, uint cc_n); 33 void nhw_timer_regw_sideeffects_SUBSCRIBE_CAPTURE(uint inst, uint cc_n);
|
D | NHW_RTC.c | 555 static void nhw_rtc_TASKS_CAPTURE(uint rtc, uint cc_n) { in nhw_rtc_TASKS_CAPTURE() argument 559 RTC_regs->CC[cc_n] = RTC_regs->COUNTER; in nhw_rtc_TASKS_CAPTURE() 561 nhw_rtc_regw_sideeffects_CC(rtc, cc_n); in nhw_rtc_TASKS_CAPTURE() 769 uint cc_n = (uintptr_t)param & 0xFFFF; in nhw_rtc_taskcapture_wrap() local 770 nhw_rtc_TASKS_CAPTURE(inst, cc_n); in nhw_rtc_taskcapture_wrap() 773 void nhw_rtc_regw_sideeffects_SUBSCRIBE_CAPTURE(uint inst, uint cc_n) { in nhw_rtc_regw_sideeffects_SUBSCRIBE_CAPTURE() argument 777 this->NRF_RTC_regs->SUBSCRIBE_CAPTURE[cc_n], in nhw_rtc_regw_sideeffects_SUBSCRIBE_CAPTURE() 778 &this->subscribed_CAPTURE[cc_n], in nhw_rtc_regw_sideeffects_SUBSCRIBE_CAPTURE() 780 (void*)((inst << 16) + cc_n)); in nhw_rtc_regw_sideeffects_SUBSCRIBE_CAPTURE() 859 void nhw_rtc_regw_sideeffects_CC(uint rtc, uint cc_n) { in nhw_rtc_regw_sideeffects_CC() argument [all …]
|
D | NHW_GRTC.c | 376 uint cc_n = (uintptr_t)param & 0xFFFF; in nhw_GRTC_taskcapture_wrap() local 377 nhw_GRTC_TASK_CAPTURE(inst, cc_n); in nhw_GRTC_taskcapture_wrap() 380 void nhw_GRTC_regw_sideeffects_SUBSCRIBE_CAPTURE(uint inst, uint cc_n) { in nhw_GRTC_regw_sideeffects_SUBSCRIBE_CAPTURE() argument 383 nhw_GRTC_check_valid_cc_index(inst, cc_n, "SUBSCRIBE_CAPTURE"); in nhw_GRTC_regw_sideeffects_SUBSCRIBE_CAPTURE() 386 this->NRF_GRTC_regs->SUBSCRIBE_CAPTURE[cc_n], in nhw_GRTC_regw_sideeffects_SUBSCRIBE_CAPTURE() 387 &this->subscribed[cc_n], in nhw_GRTC_regw_sideeffects_SUBSCRIBE_CAPTURE() 389 (void*)((inst << 16) + cc_n)); in nhw_GRTC_regw_sideeffects_SUBSCRIBE_CAPTURE()
|
D | NHW_RTC.h | 27 void nhw_rtc_regw_sideeffects_CC(uint rtc, uint cc_n);
|
/nrf_hw_models-latest/src/nrfx/hal/ |
D | nrf_rtc.c | 109 int cc_n = (task - NRF_RTC_TASK_CAPTURE_0)/sizeof(uint32_t); in nrf_rtc_subscribe_common() local 110 nhw_rtc_regw_sideeffects_SUBSCRIBE_CAPTURE(i, cc_n); in nrf_rtc_subscribe_common()
|