Lines Matching refs:task

52 void nrf_gpiote_task_trigger(NRF_GPIOTE_Type * p_reg, nrf_gpiote_task_t task)  in nrf_gpiote_task_trigger()  argument
54 uint32_t *reg = (uint32_t *)((uintptr_t)p_reg + task); in nrf_gpiote_task_trigger()
69 bs_trace_error_time_line("%s: Unknown GPIOTE tasks %i\n",task); /* LCOV_EXCL_LINE */ in nrf_gpiote_task_trigger()
290 nrf_gpiote_task_t task) in nrf_gpiote_subscribe_common() argument
295 if ((task >= NRF_GPIOTE_TASK_OUT_0) && (task < NRF_GPIOTE_TASK_SET_0)) { in nrf_gpiote_subscribe_common()
296 task_nbr = (task - NRF_GPIOTE_TASK_OUT_0)/sizeof(uint32_t); in nrf_gpiote_subscribe_common()
298 } else if ((task >= NRF_GPIOTE_TASK_SET_0) && (task < NRF_GPIOTE_TASK_CLR_0)) { in nrf_gpiote_subscribe_common()
299 task_nbr = (task - NRF_GPIOTE_TASK_SET_0)/sizeof(uint32_t); in nrf_gpiote_subscribe_common()
301 } else if (task >= NRF_GPIOTE_TASK_CLR_0) { in nrf_gpiote_subscribe_common()
302 task_nbr = (task - NRF_GPIOTE_TASK_CLR_0)/sizeof(uint32_t); in nrf_gpiote_subscribe_common()
306 task); in nrf_gpiote_subscribe_common()
311 nrf_gpiote_task_t task, in nrf_gpiote_subscribe_set() argument
314 *((volatile uint32_t *) ((uint8_t *) p_reg + (uint32_t) task + 0x80uL)) = in nrf_gpiote_subscribe_set()
316 nrf_gpiote_subscribe_common(p_reg, task); in nrf_gpiote_subscribe_set()
319 void nrf_gpiote_subscribe_clear(NRF_GPIOTE_Type * p_reg, nrf_gpiote_task_t task) in nrf_gpiote_subscribe_clear() argument
321 *((volatile uint32_t *) ((uint8_t *) p_reg + (uint32_t) task + 0x80uL)) = 0; in nrf_gpiote_subscribe_clear()
322 nrf_gpiote_subscribe_common(p_reg, task); in nrf_gpiote_subscribe_clear()