Lines Matching refs:task
12 void nrf_ecb_task_trigger(NRF_ECB_Type * p_reg, nrf_ecb_task_t task) in nrf_ecb_task_trigger() argument
14 *((volatile uint32_t *)((uint8_t *)p_reg + (uint32_t)task)) = 0x1UL; in nrf_ecb_task_trigger()
16 if ( task == NRF_ECB_TASK_STARTECB ) { in nrf_ecb_task_trigger()
18 } else if ( task == NRF_ECB_TASK_STOPECB ) { in nrf_ecb_task_trigger()
46 nrf_ecb_task_t task) in nrf_ecb_subscribe_common() argument
49 if (task == NRF_ECB_TASK_STARTECB) { in nrf_ecb_subscribe_common()
51 } else if ( task == NRF_ECB_TASK_STOPECB ) { in nrf_ecb_subscribe_common()
55 task); in nrf_ecb_subscribe_common()
60 nrf_ecb_task_t task, in nrf_ecb_subscribe_set() argument
63 *((volatile uint32_t *) ((uint8_t *) p_reg + (uint32_t) task + 0x80uL)) = in nrf_ecb_subscribe_set()
65 nrf_ecb_subscribe_common(p_reg, task); in nrf_ecb_subscribe_set()
69 nrf_ecb_task_t task) in nrf_ecb_subscribe_clear() argument
71 *((volatile uint32_t *) ((uint8_t *) p_reg + (uint32_t) task + 0x80uL)) = 0; in nrf_ecb_subscribe_clear()
72 nrf_ecb_subscribe_common(p_reg, task); in nrf_ecb_subscribe_clear()