Lines Matching full:group
99 NRF_PPI_CHANNEL_GROUP0 = 0, /**< Channel group 0. */
100 NRF_PPI_CHANNEL_GROUP1 = 1, /**< Channel group 1. */
101 NRF_PPI_CHANNEL_GROUP2 = 2, /**< Channel group 2. */
102 NRF_PPI_CHANNEL_GROUP3 = 3, /**< Channel group 3. */
104 NRF_PPI_CHANNEL_GROUP4 = 4, /**< Channel group 4. */
105 NRF_PPI_CHANNEL_GROUP5 = 5 /**< Channel group 5. */
111 * @brief Definition of which PPI channels belong to a group.
115 NRF_PPI_CHANNEL_EXCLUDE = PPI_CHG_CH0_Excluded, /**< Channel excluded from a group. */
116 NRF_PPI_CHANNEL_INCLUDE = PPI_CHG_CH0_Included /**< Channel included in a group. */
136 …TASK_CHG0_EN = offsetof(NRF_PPI_Type, TASKS_CHG[0].EN), /**< Task for enabling channel group 0 */
137 …ASK_CHG0_DIS = offsetof(NRF_PPI_Type, TASKS_CHG[0].DIS), /**< Task for disabling channel group 0 */
138 …TASK_CHG1_EN = offsetof(NRF_PPI_Type, TASKS_CHG[1].EN), /**< Task for enabling channel group 1 */
139 …ASK_CHG1_DIS = offsetof(NRF_PPI_Type, TASKS_CHG[1].DIS), /**< Task for disabling channel group 1 */
140 …TASK_CHG2_EN = offsetof(NRF_PPI_Type, TASKS_CHG[2].EN), /**< Task for enabling channel group 2 */
141 …ASK_CHG2_DIS = offsetof(NRF_PPI_Type, TASKS_CHG[2].DIS), /**< Task for disabling channel group 2 */
142 …TASK_CHG3_EN = offsetof(NRF_PPI_Type, TASKS_CHG[3].EN), /**< Task for enabling channel group 3 */
143 …ASK_CHG3_DIS = offsetof(NRF_PPI_Type, TASKS_CHG[3].DIS), /**< Task for disabling channel group 3 */
145 …TASK_CHG4_EN = offsetof(NRF_PPI_Type, TASKS_CHG[4].EN), /**< Task for enabling channel group 4 */
146 …ASK_CHG4_DIS = offsetof(NRF_PPI_Type, TASKS_CHG[4].DIS), /**< Task for disabling channel group 4 */
147 …TASK_CHG5_EN = offsetof(NRF_PPI_Type, TASKS_CHG[5].EN), /**< Task for enabling channel group 5 */
148 …ASK_CHG5_DIS = offsetof(NRF_PPI_Type, TASKS_CHG[5].DIS) /**< Task for disabling channel group 5 */
265 * @brief Function for including a PPI channel in a channel group.
267 * @details This function adds only one channel to the group.
269 * @param[in] channel Channel to be included in the group.
271 * @param[in] channel_group Channel group.
278 * @brief Function for including multiple PPI channels in a channel group.
280 * @details This function adds all specified channels to the group.
282 * @param[in] channel_mask Channels to be included in the group.
284 * @param[in] channel_group Channel group.
291 * @brief Function for removing a PPI channel from a channel group.
293 * @details This function removes only one channel from the group.
295 * @param[in] channel Channel to be removed from the group.
297 * @param[in] channel_group Channel group.
303 * @brief Function for removing multiple PPI channels from a channel group.
305 * @details This function removes all specified channels from the group.
307 * @param[in] channel_mask Channels to be removed from the group.
309 * @param[in] channel_group Channel group.
315 * @brief Function for removing all PPI channels from a channel group.
317 * @param[in] group Channel group.
320 __STATIC_INLINE void nrf_ppi_channel_group_clear(nrf_ppi_channel_group_t group);
323 * @brief Function for enabling a channel group.
325 * @param[in] group Channel group.
328 __STATIC_INLINE void nrf_ppi_group_enable(nrf_ppi_channel_group_t group);
331 * @brief Function for disabling a channel group.
333 * @param[in] group Channel group.
336 __STATIC_INLINE void nrf_ppi_group_disable(nrf_ppi_channel_group_t group);
353 * @brief Function for returning the PPI enable task address of a specific group.
355 * @param[in] group PPI group.
357 __STATIC_INLINE uint32_t * nrf_ppi_task_group_enable_address_get(nrf_ppi_channel_group_t group);
360 * @brief Function for returning the PPI disable task address of a specific group.
362 * @param[in] group PPI group.
364 __STATIC_INLINE uint32_t * nrf_ppi_task_group_disable_address_get(nrf_ppi_channel_group_t group);
472 __STATIC_INLINE void nrf_ppi_channel_group_clear(nrf_ppi_channel_group_t group) in nrf_ppi_channel_group_clear() argument
474 NRF_PPI->CHG[(uint32_t) group] = 0; in nrf_ppi_channel_group_clear()
477 __STATIC_INLINE void nrf_ppi_group_enable(nrf_ppi_channel_group_t group) in nrf_ppi_group_enable() argument
479 NRF_PPI->TASKS_CHG[(uint32_t) group].EN = NRF_PPI_TASK_SET; in nrf_ppi_group_enable()
482 __STATIC_INLINE void nrf_ppi_group_disable(nrf_ppi_channel_group_t group) in nrf_ppi_group_disable() argument
484 NRF_PPI->TASKS_CHG[(uint32_t) group].DIS = NRF_PPI_TASK_SET; in nrf_ppi_group_disable()
497 __STATIC_INLINE uint32_t * nrf_ppi_task_group_enable_address_get(nrf_ppi_channel_group_t group) in nrf_ppi_task_group_enable_address_get() argument
499 return (uint32_t *) &NRF_PPI->TASKS_CHG[(uint32_t) group].EN; in nrf_ppi_task_group_enable_address_get()
502 __STATIC_INLINE uint32_t * nrf_ppi_task_group_disable_address_get(nrf_ppi_channel_group_t group) in nrf_ppi_task_group_disable_address_get() argument
504 return (uint32_t *) &NRF_PPI->TASKS_CHG[(uint32_t) group].DIS; in nrf_ppi_task_group_disable_address_get()