Lines Matching refs:channel

147 NRF_STATIC_INLINE void nrf_ppi_channel_enable(NRF_PPI_Type * p_reg, nrf_ppi_channel_t channel);
157 NRF_STATIC_INLINE void nrf_ppi_channel_disable(NRF_PPI_Type * p_reg, nrf_ppi_channel_t channel);
172 nrf_ppi_channel_t channel);
206 nrf_ppi_channel_t channel,
218 nrf_ppi_channel_t channel,
229 nrf_ppi_channel_t channel,
242 nrf_ppi_channel_t channel,
255 nrf_ppi_channel_t channel,
271 nrf_ppi_channel_t channel,
312 nrf_ppi_channel_t channel,
418 NRF_STATIC_INLINE void nrf_ppi_channel_enable(NRF_PPI_Type * p_reg, nrf_ppi_channel_t channel) in nrf_ppi_channel_enable() argument
420 p_reg->CHENSET = PPI_CHENSET_CH0_Set << ((uint32_t) channel); in nrf_ppi_channel_enable()
423 NRF_STATIC_INLINE void nrf_ppi_channel_disable(NRF_PPI_Type * p_reg, nrf_ppi_channel_t channel) in nrf_ppi_channel_disable() argument
425 p_reg->CHENCLR = PPI_CHENCLR_CH0_Clear << ((uint32_t) channel); in nrf_ppi_channel_disable()
429 nrf_ppi_channel_t channel) in nrf_ppi_channel_enable_get() argument
431 if (p_reg->CHEN & (PPI_CHEN_CH0_Msk << ((uint32_t) channel))) in nrf_ppi_channel_enable_get()
457 nrf_ppi_channel_t channel, in nrf_ppi_channel_endpoint_setup() argument
461 p_reg->CH[(uint32_t) channel].EEP = eep; in nrf_ppi_channel_endpoint_setup()
462 p_reg->CH[(uint32_t) channel].TEP = tep; in nrf_ppi_channel_endpoint_setup()
466 nrf_ppi_channel_t channel, in nrf_ppi_event_endpoint_setup() argument
469 p_reg->CH[(uint32_t) channel].EEP = eep; in nrf_ppi_event_endpoint_setup()
473 nrf_ppi_channel_t channel, in nrf_ppi_task_endpoint_setup() argument
476 p_reg->CH[(uint32_t) channel].TEP = tep; in nrf_ppi_task_endpoint_setup()
482 nrf_ppi_channel_t channel, in nrf_ppi_fork_endpoint_setup() argument
485 p_reg->FORK[(uint32_t) channel].TEP = fork_tep; in nrf_ppi_fork_endpoint_setup()
489 nrf_ppi_channel_t channel, in nrf_ppi_channel_and_fork_endpoint_setup() argument
494 nrf_ppi_channel_endpoint_setup(p_reg, channel, eep, tep); in nrf_ppi_channel_and_fork_endpoint_setup()
495 nrf_ppi_fork_endpoint_setup(p_reg, channel, fork_tep); in nrf_ppi_channel_and_fork_endpoint_setup()
500 nrf_ppi_channel_t channel, in nrf_ppi_channel_include_in_group() argument
503 p_reg->CHG[(uint32_t) channel_group] |= (PPI_CHG_CH0_Included << ((uint32_t) channel)); in nrf_ppi_channel_include_in_group()
521 nrf_ppi_channel_t channel, in nrf_ppi_channel_remove_from_group() argument
524 p_reg->CHG[(uint32_t) channel_group] &= ~(PPI_CHG_CH0_Included << ((uint32_t) channel)); in nrf_ppi_channel_remove_from_group()