Lines Matching full:group

144  * @brief Function for allocating a PPI channel group.
145 * @details This function allocates the first unused PPI group.
147 * @param[out] p_group Pointer to the PPI channel group that has been allocated.
149 * @retval NRFX_SUCCESS If the channel group was successfully allocated.
150 * @retval NRFX_ERROR_NO_MEM If there is no available channel group to be used.
155 * @brief Function for freeing a PPI channel group.
156 * @details This function also disables the chosen group.
158 * @param[in] group PPI channel group to be freed.
160 * @retval NRFX_SUCCESS If the channel group was successfully freed.
161 * @retval NRFX_ERROR_INVALID_PARAM If the channel group is not user-configurable.
163 nrfx_err_t nrfx_ppi_group_free(nrf_ppi_channel_group_t group);
178 * @brief Function for including multiple PPI channels in a channel group.
181 * @param[in] group Channel group in which to include the channels.
184 * @retval NRFX_ERROR_INVALID_PARAM If group is not an application group or channels are not an
186 * @retval NRFX_ERROR_INVALID_STATE If group is not an allocated group.
189 nrf_ppi_channel_group_t group);
192 * @brief Function for including a PPI channel in a channel group.
195 * @param[in] group Channel group in which to include the channel.
198 * @retval NRFX_ERROR_INVALID_PARAM If group is not an application group or channel is not an
200 * @retval NRFX_ERROR_INVALID_STATE If group is not an allocated group.
203 nrf_ppi_channel_group_t group) in nrfx_ppi_channel_include_in_group() argument
205 return nrfx_ppi_channels_include_in_group(nrfx_ppi_channel_to_mask(channel), group); in nrfx_ppi_channel_include_in_group()
209 * @brief Function for removing multiple PPI channels from a channel group.
212 * @param[in] group Channel group from which to remove the channels.
215 * @retval NRFX_ERROR_INVALID_PARAM If group is not an application group or channels are not an
217 * @retval NRFX_ERROR_INVALID_STATE If group is not an allocated group.
220 nrf_ppi_channel_group_t group);
223 * @brief Function for removing a PPI channel from a channel group.
226 * @param[in] group Channel group from which to remove the channel.
229 * @retval NRFX_ERROR_INVALID_PARAM If group is not an application group or channel is not an
231 * @retval NRFX_ERROR_INVALID_STATE If group is not an allocated group.
234 nrf_ppi_channel_group_t group) in nrfx_ppi_channel_remove_from_group() argument
236 return nrfx_ppi_channels_remove_from_group(nrfx_ppi_channel_to_mask(channel), group); in nrfx_ppi_channel_remove_from_group()
240 * @brief Function for clearing a PPI channel group.
242 * @param[in] group Channel group to be cleared.
244 * @retval NRFX_SUCCESS If the group was successfully cleared.
245 * @retval NRFX_ERROR_INVALID_PARAM If group is not an application group.
246 * @retval NRFX_ERROR_INVALID_STATE If group is not an allocated group.
248 __STATIC_INLINE nrfx_err_t nrfx_ppi_group_clear(nrf_ppi_channel_group_t group) in nrfx_ppi_group_clear() argument
250 return nrfx_ppi_channels_remove_from_group(NRFX_PPI_ALL_APP_CHANNELS_MASK, group); in nrfx_ppi_group_clear()
254 * @brief Function for enabling a PPI channel group.
256 * @param[in] group Channel group to be enabled.
258 * @retval NRFX_SUCCESS If the group was successfully enabled.
259 * @retval NRFX_ERROR_INVALID_PARAM If group is not an application group.
260 * @retval NRFX_ERROR_INVALID_STATE If group is not an allocated group.
262 nrfx_err_t nrfx_ppi_group_enable(nrf_ppi_channel_group_t group);
265 * @brief Function for disabling a PPI channel group.
267 * @param[in] group Channel group to be disabled.
269 * @retval NRFX_SUCCESS If the group was successfully disabled.
270 * @retval NRFX_ERROR_INVALID_PARAM If group is not an application group.
271 * @retval NRFX_ERROR_INVALID_STATE If group is not an allocated group.
273 nrfx_err_t nrfx_ppi_group_disable(nrf_ppi_channel_group_t group);
288 * @brief Function for getting the address of a PPI group enable task.
290 * @param[in] group PPI channel group
294 __STATIC_INLINE uint32_t nrfx_ppi_task_addr_group_enable_get(nrf_ppi_channel_group_t group) in nrfx_ppi_task_addr_group_enable_get() argument
296 return (uint32_t) nrf_ppi_task_group_enable_address_get(group); in nrfx_ppi_task_addr_group_enable_get()
300 * @brief Function for getting the address of a PPI group enable task.
302 * @param[in] group PPI channel group
306 __STATIC_INLINE uint32_t nrfx_ppi_task_addr_group_disable_get(nrf_ppi_channel_group_t group) in nrfx_ppi_task_addr_group_disable_get() argument
308 return (uint32_t) nrf_ppi_task_group_disable_address_get(group); in nrfx_ppi_task_addr_group_disable_get()