Function nrf_softdevice_s112::sd_ppi_channel_assign
source · pub unsafe fn sd_ppi_channel_assign(
channel_num: u8,
evt_endpoint: *const c_void,
task_endpoint: *const c_void
) -> u32
Expand description
@brief Assign endpoints to a PPI channel.
@param[in] channel_num Number of the PPI channel to assign. @param[in] evt_endpoint Event endpoint of the PPI channel. @param[in] task_endpoint Task endpoint of the PPI channel.
@retval ::NRF_ERROR_SOC_PPI_INVALID_CHANNEL The channel number is invalid. @retval ::NRF_SUCCESS