S130 SoftDevice v2.0.0
Macros |
|
| #define | SDM_SVC_BASE 0x10 |
|
SoftDevice Manager SVC Base number.
|
|
| #define | SOFTDEVICE_INFO_STRUCT_OFFSET (0x2000) |
|
Defines the SoftDevice Information Structure location (address) as an offset from.
More...
|
|
| #define | SOFTDEVICE_INFO_STRUCT_ADDRESS ( SOFTDEVICE_INFO_STRUCT_OFFSET + MBR_SIZE ) |
|
Defines the absolute Softdevice information structure location (address)
|
|
| #define | SD_SIZE_OFFSET ( SOFTDEVICE_INFO_STRUCT_OFFSET + 0x08) |
|
Defines the offset for Softdevice size value relative to Softdevice base address.
|
|
| #define | SD_FWID_OFFSET ( SOFTDEVICE_INFO_STRUCT_OFFSET + 0x0C) |
|
Defines the offset for FWID value relative to Softdevice base address.
|
|
| #define | SD_SIZE_GET (baseaddr) (*((uint32_t *) ((baseaddr) + SD_SIZE_OFFSET ))) |
|
Defines a macro for retreiving the actual Softdevice size value from a given base address.
More...
|
|
| #define | SD_FWID_GET (baseaddr) ((*((uint32_t *) ((baseaddr) + SD_FWID_OFFSET ))) & 0xFFFF) |
|
Defines a macro for retreiving the actual FWID value from a given base address.
More...
|
|
| #define | NRF_CLOCK_LF_XTAL_ACCURACY_250_PPM (0) /* Default */ |
| #define | NRF_CLOCK_LF_XTAL_ACCURACY_500_PPM (1) |
| #define | NRF_CLOCK_LF_XTAL_ACCURACY_150_PPM (2) |
| #define | NRF_CLOCK_LF_XTAL_ACCURACY_100_PPM (3) |
| #define | NRF_CLOCK_LF_XTAL_ACCURACY_75_PPM (4) |
| #define | NRF_CLOCK_LF_XTAL_ACCURACY_50_PPM (5) |
| #define | NRF_CLOCK_LF_XTAL_ACCURACY_30_PPM (6) |
| #define | NRF_CLOCK_LF_XTAL_ACCURACY_20_PPM (7) |
Detailed Description
Macro Definition Documentation
| #define SD_FWID_GET | ( | baseaddr | ) | ((*((uint32_t *) ((baseaddr) + SD_FWID_OFFSET ))) & 0xFFFF) |
Defines a macro for retreiving the actual FWID value from a given base address.
use MBR_SIZE when Softdevice is installed just above the MBR (the usual case)
| #define SD_SIZE_GET | ( | baseaddr | ) | (*((uint32_t *) ((baseaddr) + SD_SIZE_OFFSET ))) |
Defines a macro for retreiving the actual Softdevice size value from a given base address.
use MBR_SIZE when Softdevice is installed just above the MBR (the usual case)
| #define SOFTDEVICE_INFO_STRUCT_OFFSET (0x2000) |
Defines the SoftDevice Information Structure location (address) as an offset from.
the start of the softdevice (without MBR)