nRF51 SDK - S130 SoftDevice
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
sd_mbr_command_compare_t Struct Reference

This command works like memcmp, but takes the length in words. More...

#include <nrf_mbr.h>

Data Fields

uint32_t * ptr1
 
uint32_t * ptr2
 
uint32_t len
 

Detailed Description

This command works like memcmp, but takes the length in words.

Return values
NRF_SUCCESSindicates that the contents of both memory blocks are equal.
NRF_ERROR_NULLindicates that the contents of the memory blocks are not equal.

Field Documentation

uint32_t sd_mbr_command_compare_t::len

Number of 32 bit words to compare.

uint32_t* sd_mbr_command_compare_t::ptr1

Pointer to block of memory.

uint32_t* sd_mbr_command_compare_t::ptr2

Pointer to block of memory.