Lines Matching refs:task
80 nrf_grtc_task_t task, in nrf_grtc_subscribe_set() argument
84 NRFX_ASSERT((task != NRF_GRTC_TASK_START) && in nrf_grtc_subscribe_set()
85 (task != NRF_GRTC_TASK_CLEAR) && in nrf_grtc_subscribe_set()
86 (task != NRF_GRTC_TASK_STOP)); in nrf_grtc_subscribe_set()
89 *((volatile uint32_t *) ((uint8_t *) p_reg + (uint32_t) task + 0x80uL)) = in nrf_grtc_subscribe_set()
92 int task_nbr = (task - NRF_GRTC_TASK_CAPTURE_0)/sizeof(uint32_t); in nrf_grtc_subscribe_set()
98 nrf_grtc_task_t task) in nrf_grtc_subscribe_clear() argument
101 NRFX_ASSERT((task != NRF_GRTC_TASK_START) && in nrf_grtc_subscribe_clear()
102 (task != NRF_GRTC_TASK_CLEAR) && in nrf_grtc_subscribe_clear()
103 (task != NRF_GRTC_TASK_STOP)); in nrf_grtc_subscribe_clear()
106 *((volatile uint32_t *) ((uint8_t *) p_reg + (uint32_t) task + 0x80uL)) = 0; in nrf_grtc_subscribe_clear()
108 int task_nbr = (task - NRF_GRTC_TASK_CAPTURE_0)/sizeof(uint32_t); in nrf_grtc_subscribe_clear()