nrfxlib API 0.1.0
|
#include <stdint.h>
#include <stdbool.h>
#include "nrf.h"
#include "nrf_peripherals.h"
#include "nrf_errno.h"
#include "mpsl_clock.h"
Go to the source code of this file.
Macros | |
#define | MPSL_HIGH_IRQ_PRIORITY 0 |
High IRQ priority. | |
#define | MPSL_BUILD_REVISION_SIZE 20 |
Size of build revision array in bytes. | |
Typedefs | |
typedef void(* | mpsl_assert_handler_t) (const char *const file, const uint32_t line) |
Bitmask of (D)PPI channels reserved for MPSL. | |
Functions | |
int32_t | mpsl_init (mpsl_clock_lfclk_cfg_t const *p_clock_config, IRQn_Type low_prio_irq, mpsl_assert_handler_t p_assert_handler) |
MPSL initialization. | |
void | mpsl_uninit (void) |
Uninitialize MPSL. Stops clocks and scheduler. This will release all peripherals and reduce power usage. | |
bool | mpsl_is_initialized (void) |
Returns true if MPSL is already initialized, false otherwise. | |
int32_t | mpsl_build_revision_get (uint8_t *p_build_revision) |
Obtain build revision. | |
void | MPSL_IRQ_RADIO_Handler (void) |
RADIO interrupt handler. | |
void | MPSL_IRQ_RTC0_Handler (void) |
RTC0 interrupt handler. | |
void | MPSL_IRQ_TIMER0_Handler (void) |
TIMER0 interrupt handler. | |
void | MPSL_IRQ_CLOCK_Handler (void) |
POWER_CLOCK interrupt handler. | |
void | mpsl_low_priority_process (void) |
MPSL low priority processing handler. | |
void | mpsl_calibration_timer_handle (void) |
Application needs to call this when calibration shall occur. | |
void | mpsl_pan_rfu (void) |
RFU. | |