nrfxlib API 3.3.99
Loading...
Searching...
No Matches
mpsl_pm.h File Reference
#include <stdbool.h>
#include <stdint.h>

Go to the source code of this file.

Data Structures

struct  mpsl_pm_params_t
 MPSL Power Management parameters. More...
 

Macros

#define MPSL_PM_EVENT_TIME_INVALID   UINT64_MAX
 

Typedefs

typedef uint8_t mpsl_pm_event_state_t
 MPSL Power Management state in regards to next event.
 
typedef uint8_t mpsl_pm_low_latency_state_t
 MPSL Power Management low latency state.
 

Enumerations

enum  MPSL_PM_EVENT_STATE { MPSL_PM_EVENT_STATE_BEFORE_EVENT = 0 , MPSL_PM_EVENT_STATE_NO_EVENTS_LEFT }
 Applicable values for mpsl_pm_event_state_t type. More...
 
enum  MPSL_PM_LOW_LATENCY_STATE { MPSL_PM_LOW_LATENCY_STATE_OFF = 0 , MPSL_PM_LOW_LATENCY_STATE_REQUESTING , MPSL_PM_LOW_LATENCY_STATE_ON , MPSL_PM_LOW_LATENCY_STATE_RELEASING }
 Applicable values for mpsl_pm_low_latency_state_t type. More...
 

Functions

bool mpsl_pm_params_get (mpsl_pm_params_t *p_params)
 Get next expected event time.
 
bool mpsl_pm_low_latency_requested (void)
 Get low latency request status.
 
void mpsl_pm_low_latency_state_set (mpsl_pm_low_latency_state_t state)
 Set low latency state.
 
mpsl_pm_low_latency_state_t mpsl_pm_low_latency_state_get (void)
 Get low latency state.