Lines Matching refs:cc_channel

430                                                    uint8_t         cc_channel,
442 uint8_t cc_channel);
464 uint8_t cc_channel,
859 NRF_STATIC_INLINE nrf_grtc_task_t nrf_grtc_sys_counter_capture_task_get(uint8_t cc_channel);
868 uint8_t cc_channel);
877 uint8_t cc_channel);
887 NRF_STATIC_INLINE nrf_grtc_event_t nrf_grtc_sys_counter_compare_event_get(uint8_t cc_channel);
899 uint8_t cc_channel);
1122 uint8_t cc_channel, in nrf_grtc_sys_counter_cc_set() argument
1126 NRFX_ASSERT(cc_channel < NRF_GRTC_SYSCOUNTER_CC_COUNT); in nrf_grtc_sys_counter_cc_set()
1128 NRFX_ASSERT(cc_channel < NRF_GRTC_SYSCOUNTER_CC_COUNT && in nrf_grtc_sys_counter_cc_set()
1129 cc_channel > NRF_GRTC_MAIN_CC_CHANNEL); in nrf_grtc_sys_counter_cc_set()
1134 p_reg->CC[cc_channel].CCL = (uint32_t)cc_value; in nrf_grtc_sys_counter_cc_set()
1135 p_reg->CC[cc_channel].CCH = cc_h & NRF_GRTC_SYSCOUNTER_CCH_MASK; in nrf_grtc_sys_counter_cc_set()
1139 uint8_t cc_channel) in nrf_grtc_sys_counter_cc_get() argument
1142 NRFX_ASSERT(cc_channel < NRF_GRTC_SYSCOUNTER_CC_COUNT); in nrf_grtc_sys_counter_cc_get()
1144 NRFX_ASSERT(cc_channel < NRF_GRTC_SYSCOUNTER_CC_COUNT && in nrf_grtc_sys_counter_cc_get()
1145 cc_channel > NRF_GRTC_MAIN_CC_CHANNEL); in nrf_grtc_sys_counter_cc_get()
1147 uint32_t cc_h = p_reg->CC[cc_channel].CCH; in nrf_grtc_sys_counter_cc_get()
1149 return (uint64_t)p_reg->CC[cc_channel].CCL | ((uint64_t)cc_h << 32); in nrf_grtc_sys_counter_cc_get()
1153 uint8_t cc_channel, in nrf_grtc_sys_counter_cc_add_set() argument
1158 NRFX_ASSERT(cc_channel < NRF_GRTC_SYSCOUNTER_CC_COUNT); in nrf_grtc_sys_counter_cc_add_set()
1160 NRFX_ASSERT(cc_channel < NRF_GRTC_SYSCOUNTER_CC_COUNT && in nrf_grtc_sys_counter_cc_add_set()
1161 cc_channel > NRF_GRTC_MAIN_CC_CHANNEL); in nrf_grtc_sys_counter_cc_add_set()
1165 p_reg->CC[cc_channel].CCADD = ((uint32_t)reference << GRTC_CC_CCADD_REFERENCE_Pos) | in nrf_grtc_sys_counter_cc_add_set()
1654 NRF_STATIC_INLINE nrf_grtc_task_t nrf_grtc_sys_counter_capture_task_get(uint8_t cc_channel) in nrf_grtc_sys_counter_capture_task_get() argument
1656 return (nrf_grtc_task_t)NRFX_OFFSETOF(NRF_GRTC_Type, TASKS_CAPTURE[cc_channel]); in nrf_grtc_sys_counter_capture_task_get()
1660 uint8_t cc_channel) in nrf_grtc_sys_counter_compare_event_enable() argument
1664 NRFX_ASSERT(cc_channel < NRF_GRTC_SYSCOUNTER_CC_COUNT); in nrf_grtc_sys_counter_compare_event_enable()
1666 NRFX_ASSERT(cc_channel < NRF_GRTC_SYSCOUNTER_CC_COUNT && in nrf_grtc_sys_counter_compare_event_enable()
1667 cc_channel > NRF_GRTC_MAIN_CC_CHANNEL); in nrf_grtc_sys_counter_compare_event_enable()
1669 p_reg->CC[cc_channel].CCEN = GRTC_CC_CCEN_ACTIVE_Enable; in nrf_grtc_sys_counter_compare_event_enable()
1673 uint8_t cc_channel) in nrf_grtc_sys_counter_compare_event_disable() argument
1676 NRFX_ASSERT(cc_channel < NRF_GRTC_SYSCOUNTER_CC_COUNT); in nrf_grtc_sys_counter_compare_event_disable()
1678 NRFX_ASSERT(cc_channel < NRF_GRTC_SYSCOUNTER_CC_COUNT && in nrf_grtc_sys_counter_compare_event_disable()
1679 cc_channel > NRF_GRTC_MAIN_CC_CHANNEL); in nrf_grtc_sys_counter_compare_event_disable()
1681 p_reg->CC[cc_channel].CCEN = GRTC_CC_CCEN_ACTIVE_Disable; in nrf_grtc_sys_counter_compare_event_disable()
1684 NRF_STATIC_INLINE nrf_grtc_event_t nrf_grtc_sys_counter_compare_event_get(uint8_t cc_channel) in nrf_grtc_sys_counter_compare_event_get() argument
1686 return (nrf_grtc_event_t)NRFX_OFFSETOF(NRF_GRTC_Type, EVENTS_COMPARE[cc_channel]); in nrf_grtc_sys_counter_compare_event_get()
1690 uint8_t cc_channel) in nrf_grtc_sys_counter_cc_enable_check() argument
1692 return ((p_reg->CC[cc_channel].CCEN & GRTC_CC_CCEN_ACTIVE_Msk) >> GRTC_CC_CCEN_ACTIVE_Pos) == in nrf_grtc_sys_counter_cc_enable_check()