|
#define | SD_MAJOR_VERSION 05 |
| The major version for the SoftDevice binary distributed with this header file.
|
|
#define | SD_MINOR_VERSION 00 |
| The minor version for the SoftDevice binary distributed with this header file.
|
|
#define | SD_BUGFIX_VERSION 00 |
| The bugfix version for the SoftDevice binary distributed with this header file.
|
|
#define | SD_VERSION (SD_MAJOR_VERSION * 1000000 + SD_MINOR_VERSION * 1000 + SD_BUGFIX_VERSION) |
| The full version number for the SoftDevice binary this header file was distributed with, as a decimal number in the form Mmmmbbb, where: More...
|
|
#define | SDM_SVC_BASE 0x10 |
| SoftDevice Manager SVC Base number.
|
|
#define | SD_UNIQUE_STR_SIZE 20 |
| SoftDevice unique string size in bytes.
|
|
#define | SDM_INFO_FIELD_INVALID (0) |
| Invalid info field. Returned when an info field does not exist.
|
|
#define | SOFTDEVICE_INFO_STRUCT_OFFSET (0x2000) |
| Defines the SoftDevice Information Structure location (address) as an offset from the start of the SoftDevice (without MBR)
|
|
#define | SOFTDEVICE_INFO_STRUCT_ADDRESS (SOFTDEVICE_INFO_STRUCT_OFFSET + MBR_SIZE) |
| Defines the absolute SoftDevice Information Structure location (address) when the SoftDevice is installed just above the MBR (the usual case).
|
|
#define | SD_INFO_STRUCT_SIZE_OFFSET (SOFTDEVICE_INFO_STRUCT_OFFSET) |
| Defines the offset for the SoftDevice Information Structure size value relative to the SoftDevice base address. The size value is of type uint8_t.
|
|
#define | SD_SIZE_OFFSET (SOFTDEVICE_INFO_STRUCT_OFFSET + 0x08) |
| Defines the offset for the SoftDevice size value relative to the SoftDevice base address. The size value is of type uint32_t.
|
|
#define | SD_FWID_OFFSET (SOFTDEVICE_INFO_STRUCT_OFFSET + 0x0C) |
| Defines the offset for FWID value relative to the SoftDevice base address. The FWID value is of type uint16_t.
|
|
#define | SD_ID_OFFSET (SOFTDEVICE_INFO_STRUCT_OFFSET + 0x10) |
| Defines the offset for the SoftDevice ID relative to the SoftDevice base address. The ID is of type uint32_t.
|
|
#define | SD_VERSION_OFFSET (SOFTDEVICE_INFO_STRUCT_OFFSET + 0x14) |
| Defines the offset for the SoftDevice version relative to the SoftDevice base address in the same format as SD_VERSION, stored as an uint32_t.
|
|
#define | SD_UNIQUE_STR_OFFSET (SOFTDEVICE_INFO_STRUCT_OFFSET + 0x18) |
| Defines the offset for the SoftDevice unique string relative to the SoftDevice base address. The SD_UNIQUE_STR is stored as an array of uint8_t. The size of array is SD_UNIQUE_STR_SIZE.
|
|
#define | SD_INFO_STRUCT_SIZE_GET(baseaddr) (*((uint8_t *) ((baseaddr) + SD_INFO_STRUCT_SIZE_OFFSET))) |
| Defines a macro for retrieving the actual SoftDevice Information Structure size value from a given base address. Use MBR_SIZE as the argument when the 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 retrieving the actual SoftDevice size value from a given base address. Use MBR_SIZE as the argument when the SoftDevice is installed just above the MBR (the usual case).
|
|
#define | SD_FWID_GET(baseaddr) (*((uint16_t *) ((baseaddr) + SD_FWID_OFFSET))) |
| Defines a macro for retrieving the actual FWID value from a given base address. Use MBR_SIZE as the argument when the SoftDevice is installed just above the MBR (the usual case).
|
|
#define | SD_ID_GET(baseaddr) |
| Defines a macro for retrieving the actual SoftDevice ID from a given base address. Use MBR_SIZE as the argument when the SoftDevice is installed just above the MBR (the usual case). More...
|
|
#define | SD_VERSION_GET(baseaddr) |
| Defines a macro for retrieving the actual SoftDevice version from a given base address. Use MBR_SIZE as the argument when the SoftDevice is installed just above the MBR (the usual case). More...
|
|
#define | SD_UNIQUE_STR_ADDR_GET(baseaddr) |
| Defines a macro for retrieving the address of SoftDevice unique str based on a given base address. Use MBR_SIZE as the argument when the SoftDevice is installed just above the MBR (the usual case). More...
|
|