nRF51 SDK - S110 SoftDevice
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
SoftDevice Manager API

APIs for SoftDevice management. More...

Modules

 SoftDevice Manager Error Codes
 Error definitions for the SDM API.
 
 Defines
 
 Enumerations
 
 Types
 
 Functions
 

Macros

#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 MBR_SIZE   (0x1000)
 Defines the usual size reserverd for the MBR when a softdevice is written to flash. This is the offset where the first byte of the softdevice hex file is written.
 
#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 use MBR_SIZE when Softdevice is installed just above the MBR (the usual case)
 
#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)
 

Detailed Description

APIs for SoftDevice management.