R1 code for micro:bit based train controller code, requires second micro:bit running rx code to operate - see https://meanderingpi.wordpress.com/ for more information

Fork of nrf51-sdk by Lancaster University

Embed: (wiki syntax)

« Back to documentation index

Enumerations

Enumerations

enum  NRF_MBR_SVCS { SD_MBR_COMMAND = MBR_SVC_BASE }
 

nRF Master Boot Record API SVC numbers.

More...
enum  NRF_MBR_COMMANDS {
  SD_MBR_COMMAND_COPY_BL, SD_MBR_COMMAND_COPY_SD, SD_MBR_COMMAND_INIT_SD, SD_MBR_COMMAND_COMPARE,
  SD_MBR_COMMAND_VECTOR_TABLE_BASE_SET
}
 

Possible values for sd_mbr_command_t.command.

More...

Enumeration Type Documentation

Possible values for sd_mbr_command_t.command.

Enumerator:
SD_MBR_COMMAND_COPY_BL 

Copy a new BootLoader.

See also:
sd_mbr_command_copy_bl_t
SD_MBR_COMMAND_COPY_SD 

Copy a new SoftDevice.

See also:
sd_mbr_command_copy_sd_t
SD_MBR_COMMAND_INIT_SD 

Init forwarding interrupts to SD, and run reset function in SD.

SD_MBR_COMMAND_COMPARE 

This command works like memcmp.

See also:
sd_mbr_command_compare_t
SD_MBR_COMMAND_VECTOR_TABLE_BASE_SET 

Start forwarding all exception to this address.

See also:
sd_mbr_command_vector_table_base_set_t

Definition at line 68 of file nrf_mbr.h.

nRF Master Boot Record API SVC numbers.

Enumerator:
SD_MBR_COMMAND 

sd_mbr_command

Definition at line 62 of file nrf_mbr.h.