| S130 SoftDevice v2.0.1 |

Choose documentation: | nRF5 SDK | S130 SoftDevice API | S132 SoftDevice API | S212 SoftDevice API | S332 SoftDevice API

All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
Modules | Macros
Defines
SoftDevice Manager API

## Modules
| Clock accuracy
| Fault ID ranges
| Fault ID types
| Possible lfclk oscillator sources

## 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...

## 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)