Lines Matching full:channel

53  * @brief Function for allocating a DPPI channel.
54 * @details This function allocates the first unused DPPI channel.
56 * @param[out] p_channel Pointer to the DPPI channel number that has been allocated.
58 * @retval NRFX_SUCCESS If the channel was successfully allocated.
59 * @retval NRFX_ERROR_NO_MEM If there is no available channel to be used.
64 * @brief Function for freeing a DPPI channel.
65 * @details This function also disables the chosen channel.
67 * @param[in] channel DPPI channel to be freed.
69 * @retval NRFX_SUCCESS If the channel was successfully freed.
70 * @retval NRFX_ERROR_INVALID_PARAM If the specified channel is not allocated.
72 nrfx_err_t nrfx_dppi_channel_free(uint8_t channel);
75 * @brief Function for enabling a DPPI channel.
77 * @param[in] channel DPPI channel to be enabled.
79 * @retval NRFX_SUCCESS If the channel was successfully enabled.
80 * @retval NRFX_ERROR_INVALID_PARAM If the specified channel is not allocated.
82 nrfx_err_t nrfx_dppi_channel_enable(uint8_t channel);
85 * @brief Function for disabling a DPPI channel.
87 * @param[in] channel DPPI channel to be disabled.
89 * @retval NRFX_SUCCESS If the channel was successfully disabled.
90 * @retval NRFX_ERROR_INVALID_PARAM If the specified channel is not allocated.
92 nrfx_err_t nrfx_dppi_channel_disable(uint8_t channel);
95 * @brief Function for allocating a DPPI channel group.
98 * @param[out] p_group Pointer to the DPPI channel group that has been allocated.
100 * @retval NRFX_SUCCESS If the channel group was successfully allocated.
101 * @retval NRFX_ERROR_NO_MEM If there is no available channel group to be used.
106 * @brief Function for freeing a DPPI channel group.
109 * @param[in] group DPPI channel group to be freed.
111 * @retval NRFX_SUCCESS If the channel group was successfully freed.
117 * @brief Function for including a DPPI channel in a channel group.
119 * @param[in] channel DPPI channel to be added.
120 * @param[in] group Channel group in which to include the channel.
122 * @retval NRFX_SUCCESS If the channel was successfully included.
123 * @retval NRFX_ERROR_INVALID_PARAM If the specified group or channel is not allocated.
125 nrfx_err_t nrfx_dppi_channel_include_in_group(uint8_t channel,
129 * @brief Function for removing a DPPI channel from a channel group.
131 * @param[in] channel DPPI channel to be removed.
132 * @param[in] group Channel group from which to remove the channel.
134 * @retval NRFX_SUCCESS If the channel was successfully removed.
135 * @retval NRFX_ERROR_INVALID_PARAM If the specified group or channel is not allocated.
137 nrfx_err_t nrfx_dppi_channel_remove_from_group(uint8_t channel,
141 * @brief Function for clearing a DPPI channel group.
143 * @param[in] group Channel group to be cleared.
151 * @brief Function for enabling a DPPI channel group.
153 * @param[in] group Channel group to be enabled.
161 * @brief Function for disabling a DPPI channel group.
163 * @param[in] group Channel group to be disabled.