#include <mpsl/include/mpsl_timeslot.h>
The timeslot signal callback type.
- Note
- In case of invalid return parameters, the timeslot will automatically end immediately after returning from the signal callback and the MPSL_TIMESLOT_SIGNAL_INVALID_RETURN event will be sent.
-
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.
-
The signal callback is executed from high priority context. It is not advised to use blocking operations in it. Use of kernel APIs may be also disallowed. Please check your operating system documentation.
- Parameters
-
- Returns
- Pointer to structure containing action requested by the application.