PPI driver - legacy layer

nRF5 SDK v15.0.0

Layer providing compatibility with the former API. More...

Macros

#define NRF_PPI_ALL_APP_CHANNELS_MASK NRFX_PPI_ALL_APP_CHANNELS_MASK
Macro for forwarding the new implementation.
#define NRF_PPI_PROG_APP_CHANNELS_MASK NRFX_PPI_PROG_APP_CHANNELS_MASK
Macro for forwarding the new implementation.
#define NRF_PPI_ALL_APP_GROUPS_MASK NRFX_PPI_ALL_APP_GROUPS_MASK
Macro for forwarding the new implementation.
#define nrf_drv_ppi_channel_alloc nrfx_ppi_channel_alloc
Macro for forwarding the new implementation.
#define nrf_drv_ppi_channel_free nrfx_ppi_channel_free
Macro for forwarding the new implementation.
#define nrf_drv_ppi_channel_assign nrfx_ppi_channel_assign
Macro for forwarding the new implementation.
#define nrf_drv_ppi_channel_fork_assign nrfx_ppi_channel_fork_assign
Macro for forwarding the new implementation.
#define nrf_drv_ppi_channel_enable nrfx_ppi_channel_enable
Macro for forwarding the new implementation.
#define nrf_drv_ppi_channel_disable nrfx_ppi_channel_disable
Macro for forwarding the new implementation.
#define nrf_drv_ppi_channel_to_mask nrfx_ppi_channel_to_mask
Macro for forwarding the new implementation.
#define nrf_drv_ppi_channels_include_in_group nrfx_ppi_channels_include_in_group
Macro for forwarding the new implementation.
#define nrf_drv_ppi_channel_include_in_group nrfx_ppi_channel_include_in_group
Macro for forwarding the new implementation.
#define nrf_drv_ppi_channels_remove_from_group nrfx_ppi_channels_remove_from_group
Macro for forwarding the new implementation.
#define nrf_drv_ppi_channel_remove_from_group nrfx_ppi_channel_remove_from_group
Macro for forwarding the new implementation.
#define nrf_drv_ppi_group_alloc nrfx_ppi_group_alloc
Macro for forwarding the new implementation.
#define nrf_drv_ppi_group_free nrfx_ppi_group_free
Macro for forwarding the new implementation.
#define nrf_drv_ppi_group_clear nrfx_ppi_group_clear
Macro for forwarding the new implementation.
#define nrf_drv_ppi_group_enable nrfx_ppi_group_enable
Macro for forwarding the new implementation.
#define nrf_drv_ppi_group_disable nrfx_ppi_group_disable
Macro for forwarding the new implementation.
#define nrf_drv_ppi_task_addr_get nrfx_ppi_task_addr_get
Macro for forwarding the new implementation.
#define nrf_drv_ppi_task_addr_group_enable_get nrfx_ppi_task_addr_group_enable_get
Macro for forwarding the new implementation.
#define nrf_drv_ppi_task_addr_group_disable_get nrfx_ppi_task_addr_group_disable_get
Macro for forwarding the new implementation.

Functions

ret_code_t nrf_drv_ppi_init (void)
Function for initializing PPI module. More...
ret_code_t nrf_drv_ppi_uninit (void)
Function for uninitializing the PPI module. More...

Detailed Description

Layer providing compatibility with the former API.

Function Documentation

ret_code_t nrf_drv_ppi_init ( void )

Function for initializing PPI module.

Return values
NRF_SUCCESS If the module was successfully initialized.
NRF_ERROR_MODULE_ALREADY_INITIALIZED If the module has already been initialized.
ret_code_t nrf_drv_ppi_uninit ( void )

Function for uninitializing the PPI module.

This function also disables all channels and clears the channel groups.

Return values
NRF_SUCCESS If the module was successfully uninitialized.
NRF_ERROR_INVALID_STATE If the module has not been initialized yet.