Expand description
See Nordic’s documentation for usage and details.
Structs§
- NRF_
GPIO_ Type - GPIO Port 0 (P0)
- mpsl_
clock_ hfclk_ ctrl_ source_ t - Type representing HFCLK clock handling external API that is expected by MPSL to be delivered on init.
- mpsl_
clock_ lfclk_ cfg_ t - Type representing LFCLK oscillator source.
- mpsl_
clock_ lfclk_ ctrl_ source_ t - Type representing LFCLK clock handling external API that is expected by MPSL to be delivered on init.
- mpsl_
cx_ interface_ t - Set of pointers to functions in MPSL Coexistence interface.
- mpsl_
cx_ request_ t - Structure with parameters describing next coexistence request.
- mpsl_
ecb_ hal_ data_ t - AES ECB data structure
- mpsl_
fem_ calibration_ data_ t__ bindgen_ ty_ 1 - Calibration data for simple GPIO.
- mpsl_
fem_ calibration_ data_ t__ bindgen_ ty_ 2 - Calibration data for nRF21540 GPIO.
- mpsl_
fem_ calibration_ data_ t__ bindgen_ ty_ 3 - Calibration data for nRF21540 GPIO/SPI.
- mpsl_
fem_ calibration_ point_ t - Type binding gain of the FEM with PA power control value for calibration purposes.
- mpsl_
fem_ external_ conditions_ t - External conditions that affect Front-End Module’s power model.
- mpsl_
fem_ gpio_ pin_ config_ t - Configuration parameters for pins that control Front End Module.
- mpsl_
fem_ gpiote_ pin_ config_ t - Configuration parameters for pins that control Front End Module through a GPIOTE peripheral.
- mpsl_
fem_ pin_ t - GPIO pin and port to be used by Front End Module.
- mpsl_
fem_ power_ model_ output_ t - Decomposition of a single value of output power on the antenna.
- mpsl_
fem_ power_ model_ t - Front-End Module power model.
- mpsl_
pm_ params_ t - MPSL Power Management parameters.
- mpsl_
timeslot_ request_ earliest_ t - Parameters for a request for a timeslot as early as possible.
- mpsl_
timeslot_ request_ normal_ t - Parameters for a normal timeslot request.
- mpsl_
timeslot_ request_ t - Timeslot request parameters.
- mpsl_
timeslot_ signal_ return_ param_ t - Return parameters of the timeslot signal callback.
- mpsl_
timeslot_ signal_ return_ param_ t__ bindgen_ ty_ 1__ bindgen_ ty_ 1 - mpsl_
timeslot_ signal_ return_ param_ t__ bindgen_ ty_ 1__ bindgen_ ty_ 2 - mpsl_
tx_ power_ envelope_ t - Max TX power envelope. It is up to the application to allocate memory for an envelope.
Constants§
- MPSL_
BUILD_ REVISION_ SIZE - MPSL_
CLOCK_ HF_ LATENCY_ BEST - MPSL_
CLOCK_ HF_ LATENCY_ TYPICAL - MPSL_
CLOCK_ HF_ LATENCY_ WORST_ CASE - MPSL_
CLOCK_ LF_ SRC_ EXT_ FULL_ SWING - < Apply external full swing signal to XL1, leave XL2 grounded or unconnected. This option is not available on nRF53.
- MPSL_
CLOCK_ LF_ SRC_ EXT_ LOW_ SWING - < Apply external low swing signal to XL1, ground XL2. This option is not available on nRF53.
- MPSL_
CLOCK_ LF_ SRC_ RC - < LFCLK RC oscillator.
- MPSL_
CLOCK_ LF_ SRC_ SYNTH - < LFCLK Synthesized from HFCLK.
- MPSL_
CLOCK_ LF_ SRC_ XTAL - < LFCLK crystal oscillator.
- MPSL_
CX_ OP_ IDLE_ LISTEN - Listening for asynchronous transmissions
- MPSL_
CX_ OP_ RX - Active reception
- MPSL_
CX_ OP_ TX - Active transmission
- MPSL_
CX_ REQ_ TRIG_ INSTANT - < Request is triggered instantly, during mpsl_cx_request call
- MPSL_
DEFAULT_ CLOCK_ ACCURACY_ PPM - MPSL_
DEFAULT_ SKIP_ WAIT_ LFCLK_ STARTED - MPSL_
ECB_ CIPHERTEXT_ LENGTH - MPSL_
ECB_ CLEARTEXT_ IN_ LOCAL_ RAM - MPSL_
ECB_ CLEARTEXT_ LENGTH - MPSL_
ECB_ INPUT_ LE - MPSL_
ECB_ KEY_ LENGTH - MPSL_
ECB_ NO_ FLAGS - MPSL_
ECB_ OUTPUT_ LE - MPSL_
HIGH_ IRQ_ PRIORITY - MPSL_
PHY_ BLE_ 1M - MPSL_
PHY_ BLE_ 2M - MPSL_
PHY_ BLE_ LR125 Kbit - MPSL_
PHY_ BLE_ LR500 Kbit - MPSL_
PHY_ Ieee802154_ 250Kbit - MPSL_
PM_ EVENT_ STATE_ BEFORE_ EVENT - MPSL_
PM_ EVENT_ STATE_ NO_ EVENTS_ LEFT - MPSL_
PM_ LOW_ LATENCY_ STATE_ OFF - MPSL_
PM_ LOW_ LATENCY_ STATE_ ON - MPSL_
PM_ LOW_ LATENCY_ STATE_ RELEASING - MPSL_
PM_ LOW_ LATENCY_ STATE_ REQUESTING - MPSL_
PPI_ CHANNELS_ USED_ MASK - MPSL_
RECOMMENDED_ RC_ CTIV - MPSL_
RECOMMENDED_ RC_ TEMP_ CTIV - MPSL_
RESERVED_ PPI_ CHANNELS - MPSL_
TIMESLOT_ CONTEXT_ COUNT_ MAX - MPSL_
TIMESLOT_ CONTEXT_ SIZE - MPSL_
TIMESLOT_ DISTANCE_ MAX_ US - MPSL_
TIMESLOT_ EARLIEST_ TIMEOUT_ MAX_ US - MPSL_
TIMESLOT_ EXTENSION_ MARGIN_ MIN_ US - MPSL_
TIMESLOT_ EXTENSION_ PROCESSING_ TIME_ MAX_ US - MPSL_
TIMESLOT_ EXTENSION_ TIME_ MIN_ US - MPSL_
TIMESLOT_ HFCLK_ CFG_ NO_ GUARANTEE - < This configuration allows for earlier and tighter scheduling of timeslots. The RC oscillator may be the clock source in part or for the whole duration of the timeslot. The RC oscillator’s accuracy must therefore be taken into consideration.
- MPSL_
TIMESLOT_ HFCLK_ CFG_ XTAL_ GUARANTEED - < The high frequency clock source is the external crystal for the whole duration of the timeslot. This should be the preferred option for events that use the radio or require high timing accuracy.
- MPSL_
TIMESLOT_ LENGTH_ MAX_ US - MPSL_
TIMESLOT_ LENGTH_ MIN_ US - MPSL_
TIMESLOT_ PRIORITY_ HIGH - < High priority.
- MPSL_
TIMESLOT_ PRIORITY_ NORMAL - < Low priority.
- MPSL_
TIMESLOT_ REQ_ TYPE_ EARLIEST - < Request timeslot as early as possible. This should always be used for the first request in a session.
- MPSL_
TIMESLOT_ REQ_ TYPE_ NORMAL - < Normal timeslot request.
- MPSL_
TIMESLOT_ SIGNAL_ ACTION_ END - < End the current timeslot event.
- MPSL_
TIMESLOT_ SIGNAL_ ACTION_ EXTEND - < Request an extension of the current timeslot event. Maximum execution time for this action: MPSL_TIMESLOT_EXTENSION_PROCESSING_TIME_MAX_US. This action must be started at least MPSL_TIMESLOT_EXTENSION_MARGIN_MIN_US before the end of a timeslot event.
- MPSL_
TIMESLOT_ SIGNAL_ ACTION_ NONE - < Return without action.
- MPSL_
TIMESLOT_ SIGNAL_ ACTION_ REQUEST - < Request a new timeslot event.
- MPSL_
TIMESLOT_ SIGNAL_ BLOCKED - < The previous request was blocked. The signal will be executed in the same context as mpsl_low_priority_process.
- MPSL_
TIMESLOT_ SIGNAL_ CANCELLED - < The previous request was cancelled. The signal will be executed in the same context as mpsl_low_priority_process.
- MPSL_
TIMESLOT_ SIGNAL_ EXTEND_ FAILED - < This signal indicates extend action failed. The signal will be executed in the same context as the previous signal.
- MPSL_
TIMESLOT_ SIGNAL_ EXTEND_ SUCCEEDED - < This signal indicates extend action succeeded. The signal will be executed in the same context as the previous signal.
- MPSL_
TIMESLOT_ SIGNAL_ INVALID_ RETURN - < The previous timeslot callback return value was invalid. The signal will be executed in the same context as the previous signal which had an invalid return value. The application should avoid to continuously provide invalid return values. Doing so, will lead to an infinite loop.
- MPSL_
TIMESLOT_ SIGNAL_ OVERSTAYED - < The timeslot event was closed too late. An assert will be triggered after the processing of this signal completes.
- MPSL_
TIMESLOT_ SIGNAL_ RADIO - < This signal indicates the RADIO interrupt. The signal will be executed in the same context as MPSL_IRQ_RADIO_Handler.
- MPSL_
TIMESLOT_ SIGNAL_ SESSION_ CLOSED - < The session has been closed.
- MPSL_
TIMESLOT_ SIGNAL_ SESSION_ IDLE - < The timeslot session has no more pending requests. The signal will be executed in the same context as mpsl_low_priority_process.
- MPSL_
TIMESLOT_ SIGNAL_ START - < This signal indicates the start of the timeslot. The signal will be executed in the same context as MPSL_IRQ_TIMER0_Handler.
- MPSL_
TIMESLOT_ SIGNAL_ TIME R0 - < This signal indicates the TIMER0 interrupt. The signal will be executed in the same context as MPSL_IRQ_TIMER0_Handler. The timer being used is defined by MPSL_TIMER0.
- MPSL_
TIMESLOT_ START_ JITTER_ US - MPSL_
TOTAL_ NUM_ OF_ 802154_ CHANNELS - MPSL_
TOTAL_ NUM_ OF_ BLE_ CHANNELS - MPSL_
WORST_ CLOCK_ ACCURACY_ PPM - NRF_
EACCES - NRF_
EADDRINUSE - NRF_
EAFNOSUPPORT - NRF_
EAGAIN - NRF_
ECANCELED - NRF_
ECONNRESET - NRF_
EFAULT - NRF_
EHOSTDOWN - NRF_
EINPROGRESS - NRF_
EINVAL - NRF_EIO
- NRF_
EISCONN - NRF_
EKEYEXPIRED - NRF_
EKEYREJECTED - NRF_
EKEYREVOKED - NRF_
ENETDOWN - NRF_
ENETUNREACH - NRF_
ENOBUFS - NRF_
ENOENT - NRF_
ENOKEY - NRF_
ENOMEM - NRF_
ENOPROTOOPT - NRF_
ENOTCONN - NRF_
EOPNOTSUPP - NRF_
EPERM - NRF_
EPROTONOSUPPORT - NRF_
EPROTOTYPE - NRF_
ESOCKTNOSUPPORT - NRF_
ETIMEDOUT - UINT8_
MAX
Functions§
- MPSL_
IRQ_ ⚠CLOCK_ Handler - POWER_CLOCK interrupt handler
- MPSL_
IRQ_ ⚠RADIO_ Handler - RADIO interrupt handler
- MPSL_
IRQ_ ⚠RTC0_ Handler - RTC0 interrupt handler
- MPSL_
IRQ_ ⚠TIME R0_ Handler - TIMER0 interrupt handler.
- mpsl_
build_ ⚠revision_ get - Obtain build revision
- mpsl_
calibration_ ⚠timer_ handle - Application needs to call this when calibration shall occur.
- mpsl_
clock_ ⚠ctrl_ source_ register - Register an external clock driver.
- mpsl_
clock_ ⚠ctrl_ source_ unregister - Unregisters external clock driver from MPSL.
- mpsl_
clock_ ⚠hfclk_ is_ running - Checks if the high frequency crystal oscillator is running.
- mpsl_
clock_ ⚠hfclk_ latency_ set - Informs MPSL about the actual ramp-up time of the high-frequency crystal oscillator.
- mpsl_
clock_ ⚠hfclk_ release - Releases the high frequency crystal oscillator.
- mpsl_
clock_ ⚠hfclk_ request - Request the high frequency crystal oscillator.
- mpsl_
clock_ ⚠task_ trigger_ on_ rtc_ start_ set - Trigger a task upon start of the RTC.
- mpsl_
constlat_ ⚠request_ callback - MPSL requesting CONSTLAT to be on.
- mpsl_
cx_ ⚠granted_ ops_ get - Get list of radio operations currently granted by PTA.
- mpsl_
cx_ ⚠interface_ set - Connects to one of Coexistence PTA client implementation
- mpsl_
cx_ ⚠register_ callback - Register callback function called when radio operations granted by PTA change.
- mpsl_
cx_ ⚠release - Release last radio operation requested from PTA
- mpsl_
cx_ ⚠req_ grant_ delay_ get - Get time PTA needs to respond with grant signal to request signal.
- mpsl_
cx_ ⚠request - Request radio operation from PTA
- mpsl_
ecb_ ⚠block_ encrypt - Encrypts a block according to the specified parameters.
- mpsl_
ecb_ ⚠block_ encrypt_ extended - Encrypts a block according to the specified parameters.
- mpsl_
fem_ ⚠device_ config_ 254_ apply_ get - Gets flag which determines whether DEVICE-CONFIG-254 shall be applied.
- mpsl_
fem_ ⚠device_ config_ 254_ apply_ set - Sets flag which determines whether DEVICE-CONFIG-254 shall be applied.
- mpsl_
fem_ ⚠init - Initializes API of MPSL FEM.
- mpsl_
fem_ ⚠power_ model_ set - Sets Front-End Module power model.
- mpsl_
init ⚠ - MPSL initialization
- mpsl_
is_ ⚠initialized - Returns true if MPSL is already initialized, false otherwise.
- mpsl_
low_ ⚠priority_ process - MPSL low priority processing handler.
- mpsl_
lowpower_ ⚠request_ callback - De-request CONSTLAT to be on.
- mpsl_
pan_ ⚠rfu - RFU
- mpsl_
pm_ ⚠init - Initialize MPSL external Power Management integration.
- mpsl_
pm_ ⚠low_ latency_ requested - Get low latency request status.
- mpsl_
pm_ ⚠low_ latency_ state_ get - Get low latency state.
- mpsl_
pm_ ⚠low_ latency_ state_ set - Set low latency state.
- mpsl_
pm_ ⚠params_ get - Get next expected event time.
- mpsl_
pm_ ⚠uninit - Uninitialize MPSL external Power Management integration.
- mpsl_
temperature_ ⚠get - Get the temperature measured on the chip
- mpsl_
timeslot_ ⚠request - Requests a timeslot.
- mpsl_
timeslot_ ⚠session_ close - Closes a session for timeslot requests.
- mpsl_
timeslot_ ⚠session_ count_ set - Set or update the MPSL timeslot configuration.
- mpsl_
timeslot_ ⚠session_ open - Opens a session for timeslot requests.
- mpsl_
tx_ ⚠power_ channel_ map_ set - Sets maximum TX power envelope. If the PHY already has an envelope configured, it will be over-written.
- mpsl_
tx_ ⚠power_ dbm_ to_ radio_ register_ convert - Converts radio power in dBm to RADIO.TXPOWER register code.
- mpsl_
tx_ ⚠power_ radio_ supported_ power_ adjust - Adjusts TX power to a value supported by the RADIO peripheral.
- mpsl_
uninit ⚠ - Uninitialize MPSL. Stops clocks and scheduler. This will release all peripherals and reduce power usage.
Type Aliases§
- IRQn_
Type - Configuration_of_CMSIS
- MPSL_
CLOCK_ LF_ SRC - Low frequency clock source.
- MPSL_
TIMESLOT_ HFCLK_ CFG - Timeslot high frequency clock source configuration.
- MPSL_
TIMESLOT_ PRIORITY - Timeslot event priorities.
- MPSL_
TIMESLOT_ REQUEST_ TYPE - Timeslot request type.
- MPSL_
TIMESLOT_ SIGNAL - The timeslot signal types.
- MPSL_
TIMESLOT_ SIGNAL_ ACTION - The actions requested by the signal callback.
- mpsl_
assert_ handler_ t - Function prototype for the assert handler.
- mpsl_
clock_ hfclk_ callback_ t - High frequency clock callback.
- mpsl_
clock_ hfclk_ latency_ config_ t - mpsl_
cx_ cb_ t - Callback used to notify radio protocol about changes of granted radio operations.
- mpsl_
cx_ op_ map_ t - Bitmap representing a list of radio operations.
- mpsl_
cx_ op_ t - Radio operations which may be requested from or granted by PTA.
- mpsl_
cx_ prio_ t - Priority of given radio operation.
- mpsl_
cx_ req_ trig_ t - Coexistence request signal triggers.
- mpsl_
fem_ pa_ power_ control_ t - Type for PA power control to be applied to Front-End Module, depending on its type.
- mpsl_
fem_ power_ model_ init_ t - Pointer to function to be used by MPSL to initialize the model.
- mpsl_
fem_ power_ model_ output_ fetch_ t - Pointer to function to be used by MPSL to retrieve the model’s output.
- mpsl_
phy_ t - PHYs supported for limiting channel TX power
- mpsl_
pm_ event_ state_ t - MPSL Power Management state in regards to next event.
- mpsl_
pm_ low_ latency_ state_ t - MPSL Power Management low latency state.
- mpsl_
timeslot_ callback_ t - The timeslot signal callback type.
- mpsl_
timeslot_ session_ id_ t - The timeslot session id type
- mpsl_
tx_ power_ t - TX power, dBm.
Unions§
- mpsl_
fem_ calibration_ data_ t - Union that provides data for calibrating Front-End Module gain.
- mpsl_
timeslot_ request_ t__ bindgen_ ty_ 1 - mpsl_
timeslot_ signal_ return_ param_ t__ bindgen_ ty_ 1 - mpsl_
tx_ power_ envelope_ t__ bindgen_ ty_ 1