nrfxlib API 0.1.0
|
Go to the source code of this file.
Data Structures | |
struct | mpsl_timeslot_request_earliest_t |
Parameters for a request for a timeslot as early as possible. More... | |
struct | mpsl_timeslot_request_normal_t |
Parameters for a normal timeslot request. More... | |
struct | mpsl_timeslot_request_t |
Timeslot request parameters. More... | |
struct | mpsl_timeslot_signal_return_param_t |
Return parameters of the timeslot signal callback. More... | |
Macros | |
#define | MPSL_TIMESLOT_LENGTH_MIN_US (100UL) |
The shortest allowed timeslot event in microseconds. | |
#define | MPSL_TIMESLOT_LENGTH_MAX_US (100000UL) |
The longest allowed timeslot event in microseconds. | |
#define | MPSL_TIMESLOT_DISTANCE_MAX_US (256000000UL - 1UL) |
The longest timeslot distance in microseconds allowed for the distance parameter see mpsl_timeslot_request_normal_t. | |
#define | MPSL_TIMESLOT_EARLIEST_TIMEOUT_MAX_US (256000000UL - 1UL) |
The longest timeout in microseconds allowed when requesting the earliest possible timeslot. | |
#define | MPSL_TIMESLOT_START_JITTER_US (1UL) |
The maximum jitter in MPSL_TIMESLOT_SIGNAL_START relative to the requested start time. | |
#define | MPSL_TIMESLOT_EXTENSION_TIME_MIN_US (200UL) |
The minimum allowed timeslot extension time. | |
#define | MPSL_TIMESLOT_EXTENSION_PROCESSING_TIME_MAX_US (25UL) |
The maximum processing time to handle a timeslot extension. | |
#define | MPSL_TIMESLOT_EXTENSION_MARGIN_MIN_US (87UL) |
The latest time before the end of a timeslot when timeslot can be extended. | |
#define | MPSL_TIMESLOT_CONTEXT_SIZE (48) |
Size of a single timeslot context. | |
#define | MPSL_TIMESLOT_CONTEXT_COUNT_MAX (8) |
Maximum number of timeslot sessions. | |
Typedefs | |
typedef uint8_t | mpsl_timeslot_session_id_t |
The timeslot session id type. | |
typedef mpsl_timeslot_signal_return_param_t *(* | mpsl_timeslot_callback_t) (mpsl_timeslot_session_id_t session_id, uint32_t signal) |
The timeslot signal callback type. | |
Functions | |
int32_t | mpsl_timeslot_session_count_set (void *p_mem, uint8_t n_sessions) |
Set or update the MPSL timeslot configuration. | |
int32_t | mpsl_timeslot_session_open (mpsl_timeslot_callback_t mpsl_timeslot_signal_callback, mpsl_timeslot_session_id_t *p_session_id) |
Opens a session for timeslot requests. | |
int32_t | mpsl_timeslot_session_close (mpsl_timeslot_session_id_t session_id) |
Closes a session for timeslot requests. | |
int32_t | mpsl_timeslot_request (mpsl_timeslot_session_id_t session_id, mpsl_timeslot_request_t const *p_request) |
Requests a timeslot. | |