| S332 SoftDevice v2.0.0 |

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
Data Fields
sd_mbr_command_compare_t Struct Reference
Types

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_SUCCESS | indicates that the contents of both memory blocks are equal.
  NRF_ERROR_NULL | indicates 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.