Home
last modified time | relevance | path

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

/nrf_hw_models-latest/src/HW_models/
DNHW_GRTC.c211 if (NRF_GRTC_regs.CC[cc].CCEN) { in nhw_GRTC_update_cc_timer()
212 uint64_t cc_value = ((uint64_t)NRF_GRTC_regs.CC[cc].CCH << 32) | NRF_GRTC_regs.CC[cc].CCL; in nhw_GRTC_update_cc_timer()
350 NRF_GRTC_regs.CC[n].CCEN = 0; /* Trigger the capture task disables the compare feature */ in nhw_GRTC_TASK_CAPTURE()
355 NRF_GRTC_regs.CC[n].CCL = nhw_GRTC_get_SYNCOUNTERL(inst); in nhw_GRTC_TASK_CAPTURE()
356 NRF_GRTC_regs.CC[n].CCH = nhw_GRTC_get_SYNCOUNTERH(inst); in nhw_GRTC_TASK_CAPTURE()
486 uint32_t offset = NRF_GRTC_regs.CC[cc].CCADD & GRTC_CC_CCADD_VALUE_Msk; in nhw_GRTC_regw_sideeffects_CC_CCADD()
488 if (NRF_GRTC_regs.CC[cc].CCADD & GRTC_CC_CCADD_REFERENCE_Msk) { //Added to CC in nhw_GRTC_regw_sideeffects_CC_CCADD()
489 value = ((uint64_t)NRF_GRTC_regs.CC[cc].CCH << 32) | NRF_GRTC_regs.CC[cc].CCL; in nhw_GRTC_regw_sideeffects_CC_CCADD()
496 NRF_GRTC_regs.CC[cc].CCL = value & UINT32_MAX; in nhw_GRTC_regw_sideeffects_CC_CCADD()
497 NRF_GRTC_regs.CC[cc].CCH = nhw_GRTC_get_counterhighword(value); in nhw_GRTC_regw_sideeffects_CC_CCADD()
[all …]
DNHW_TIMER.c219 + counter_to_time(NRF_TIMER_regs[t].CC[cc], t); in update_cc_timer()
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()
409 if (this->Counter == (NRF_TIMER_regs[t].CC[cc_n] & mask_from_bitmode(t))){ in nhw_timer_TASK_COUNT()
DNHW_RTC.c354 …nhw_rtc_st[rtc].cc_timers[cc] = get_counter_match_time(rtc, NRF_RTC_regs[rtc].CC[cc], &match_sub_u… in update_cc_timer()
559 RTC_regs->CC[cc_n] = RTC_regs->COUNTER; in nhw_rtc_TASKS_CAPTURE()
DNRF5340_peri_types.h5004 …__IOM uint32_t CC[4]; /*!< (@ 0x00000540) Description collection: Compare … member
5723 …__IOM uint32_t CC[8]; /*!< (@ 0x00000540) Description collection: Capture/… member
/nrf_hw_models-latest/src/nrfx/hal/
Dnrf_grtc.c25 p_reg->CC[cc_channel].CCL = (uint32_t)cc_value; in nrf_grtc_sys_counter_cc_set()
27 p_reg->CC[cc_channel].CCH = cc_h & NRF_GRTC_SYSCOUNTER_CCH_MASK; in nrf_grtc_sys_counter_cc_set()
44 p_reg->CC[cc_channel].CCADD = ((uint32_t)reference << GRTC_CC_CCADD_REFERENCE_Pos) | in nrf_grtc_sys_counter_cc_add_set()
199 p_reg->CC[cc_channel].CCEN = GRTC_CC_CCEN_ACTIVE_Enable; in nrf_grtc_sys_counter_compare_event_enable()
212 p_reg->CC[cc_channel].CCEN = GRTC_CC_CCEN_ACTIVE_Disable; in nrf_grtc_sys_counter_compare_event_disable()
Dnrf_timer.c25 p_reg->CC[cc_channel] = cc_value; in nrf_timer_cc_set()
Dnrf_rtc.c20 p_reg->CC[ch] = cc_val; in nrf_rtc_cc_set()
/nrf_hw_models-latest/make_inc/
Dpre.mk19 CC:=ccache gcc
Dcommon_post.mk29 @${CC} ${CPPFLAGS} ${CFLAGS} ${COVERAGE} -c $< -o $@