Lines Matching refs:channel
361 static nrfx_err_t dppi_channel_free(nrfx_dppi_t const * p_instance, uint8_t channel) in dppi_channel_free() argument
365 nrfy_dppi_channels_disable(p_instance->p_reg, NRFX_BIT(channel)); in dppi_channel_free()
366 return nrfx_flag32_free(&p_cb->allocated_channels, channel); in dppi_channel_free()
369 static nrfx_err_t dppi_channel_enable(nrfx_dppi_t const * p_instance, uint8_t channel) in dppi_channel_enable() argument
375 if (!nrfx_flag32_is_allocated(p_cb->allocated_channels, channel)) in dppi_channel_enable()
381 nrfy_dppi_channels_enable(p_instance->p_reg, NRFX_BIT(channel)); in dppi_channel_enable()
387 static nrfx_err_t dppi_channel_disable(nrfx_dppi_t const * p_instance, uint8_t channel) in dppi_channel_disable() argument
393 if (!nrfx_flag32_is_allocated(p_cb->allocated_channels, channel)) in dppi_channel_disable()
399 nrfy_dppi_channels_disable(p_instance->p_reg, NRFX_BIT(channel)); in dppi_channel_disable()
423 uint8_t channel, in dppi_channel_include_in_group() argument
430 !nrfx_flag32_is_allocated(p_cb->allocated_channels, channel)) in dppi_channel_include_in_group()
437 nrfy_dppi_channels_include_in_group(p_instance->p_reg, NRFX_BIT(channel), group); in dppi_channel_include_in_group()
445 uint8_t channel, in dppi_channel_remove_from_group() argument
452 !nrfx_flag32_is_allocated(p_cb->allocated_channels, channel)) in dppi_channel_remove_from_group()
459 nrfy_dppi_channels_remove_from_group(p_instance->p_reg, NRFX_BIT(channel), group); in dppi_channel_remove_from_group()
532 nrfx_err_t nrfx_dppi_channel_free(nrfx_dppi_t const * p_instance, uint8_t channel) in nrfx_dppi_channel_free() argument
534 return dppi_channel_free(p_instance, channel); in nrfx_dppi_channel_free()
537 nrfx_err_t nrfx_dppi_channel_enable(nrfx_dppi_t const * p_instance, uint8_t channel) in nrfx_dppi_channel_enable() argument
539 return dppi_channel_enable(p_instance, channel); in nrfx_dppi_channel_enable()
542 nrfx_err_t nrfx_dppi_channel_disable(nrfx_dppi_t const * p_instance, uint8_t channel) in nrfx_dppi_channel_disable() argument
544 return dppi_channel_disable(p_instance, channel); in nrfx_dppi_channel_disable()
559 uint8_t channel, in nrfx_dppi_channel_include_in_group() argument
562 return dppi_channel_include_in_group(p_instance, channel, group); in nrfx_dppi_channel_include_in_group()
566 uint8_t channel, in nrfx_dppi_channel_remove_from_group() argument
569 return dppi_channel_remove_from_group(p_instance, channel, group); in nrfx_dppi_channel_remove_from_group()
602 nrfx_err_t nrfx_dppi_channel_free(uint8_t channel) in nrfx_dppi_channel_free() argument
604 return dppi_channel_free(&dppi_instance, channel); in nrfx_dppi_channel_free()
607 nrfx_err_t nrfx_dppi_channel_enable(uint8_t channel) in nrfx_dppi_channel_enable() argument
609 return dppi_channel_enable(&dppi_instance, channel); in nrfx_dppi_channel_enable()
612 nrfx_err_t nrfx_dppi_channel_disable(uint8_t channel) in nrfx_dppi_channel_disable() argument
614 return dppi_channel_disable(&dppi_instance, channel); in nrfx_dppi_channel_disable()
627 nrfx_err_t nrfx_dppi_channel_include_in_group(uint8_t channel, in nrfx_dppi_channel_include_in_group() argument
630 return dppi_channel_include_in_group(&dppi_instance, channel, group); in nrfx_dppi_channel_include_in_group()
633 nrfx_err_t nrfx_dppi_channel_remove_from_group(uint8_t channel, in nrfx_dppi_channel_remove_from_group() argument
636 return dppi_channel_remove_from_group(&dppi_instance, channel, group); in nrfx_dppi_channel_remove_from_group()