Lines Matching full:channel

125 /**@brief Function for getting max channel number of given EGU.
154 * @param channel Channel number.
157 uint8_t channel);
163 * @param channel Channel number.
165 __STATIC_INLINE nrf_egu_task_t nrf_egu_task_trigger_get(NRF_EGU_Type * NRF_EGUx, uint8_t channel);
198 * @param channel Channel number.
201 uint8_t channel);
207 * @param channel Channel number.
210 uint8_t channel);
243 * @param channel Channel number.
247 __STATIC_INLINE nrf_egu_int_mask_t nrf_egu_int_get(NRF_EGU_Type * NRF_EGUx, uint8_t channel);
256 * @param[in] channel Channel through which to subscribe events.
260 uint8_t channel);
278 * @param[in] channel Channel through which to publish the event.
282 uint8_t channel);
336 uint8_t channel) in nrf_egu_task_trigger_address_get() argument
339 NRFX_ASSERT(channel < nrf_egu_channel_count(NRF_EGUx)); in nrf_egu_task_trigger_address_get()
340 return (uint32_t*)&NRF_EGUx->TASKS_TRIGGER[channel]; in nrf_egu_task_trigger_address_get()
343 __STATIC_INLINE nrf_egu_task_t nrf_egu_task_trigger_get(NRF_EGU_Type * NRF_EGUx, uint8_t channel) in nrf_egu_task_trigger_get() argument
346 NRFX_ASSERT(channel < nrf_egu_channel_count(NRF_EGUx)); in nrf_egu_task_trigger_get()
347 return (nrf_egu_task_t)((uint32_t) NRF_EGU_TASK_TRIGGER0 + (channel * sizeof(uint32_t))); in nrf_egu_task_trigger_get()
376 uint8_t channel) in nrf_egu_event_triggered_address_get() argument
379 NRFX_ASSERT(channel < nrf_egu_channel_count(NRF_EGUx)); in nrf_egu_event_triggered_address_get()
380 return (uint32_t*)&NRF_EGUx->EVENTS_TRIGGERED[channel]; in nrf_egu_event_triggered_address_get()
384 uint8_t channel) in nrf_egu_event_triggered_get() argument
387 NRFX_ASSERT(channel < nrf_egu_channel_count(NRF_EGUx)); in nrf_egu_event_triggered_get()
388 return (nrf_egu_event_t)((uint32_t) NRF_EGU_EVENT_TRIGGERED0 + (channel * sizeof(uint32_t))); in nrf_egu_event_triggered_get()
409 __STATIC_INLINE nrf_egu_int_mask_t nrf_egu_int_get(NRF_EGU_Type * NRF_EGUx, uint8_t channel) in nrf_egu_int_get() argument
412 NRFX_ASSERT(channel < nrf_egu_channel_count(NRF_EGUx)); in nrf_egu_int_get()
413 return (nrf_egu_int_mask_t)((uint32_t) (EGU_INTENSET_TRIGGERED0_Msk << channel)); in nrf_egu_int_get()
419 uint8_t channel) in nrf_egu_subscribe_set() argument
422 ((uint32_t)channel | EGU_SUBSCRIBE_TRIGGER_EN_Msk); in nrf_egu_subscribe_set()
433 uint8_t channel) in nrf_egu_publish_set() argument
436 ((uint32_t)channel | EGU_PUBLISH_TRIGGERED_EN_Msk); in nrf_egu_publish_set()