nrf-softdevice-s113

Crates

git

Versions

default

Flavors

pub type nrf_radio_signal_callback_t = Option<unsafe extern "C" fn(signal_type: u8) -> *mut nrf_radio_signal_callback_return_param_t>;
Expand description

@brief The radio timeslot signal callback type.

@note In case of invalid return parameters, the radio timeslot will automatically end immediately after returning from the signal callback and the @ref NRF_EVT_RADIO_SIGNAL_CALLBACK_INVALID_RETURN event will be sent. @note The returned struct pointer must remain valid after the signal callback function returns. For instance, this means that it must not point to a stack variable.

@param[in] signal_type Type of signal, see @ref NRF_RADIO_CALLBACK_SIGNAL_TYPE.

@return Pointer to structure containing action requested by the application.