12#ifndef ZEPHYR_INCLUDE_RETENTION_BOOTMODE_
13#define ZEPHYR_INCLUDE_RETENTION_BOOTMODE_
BOOT_MODE_TYPES
Definition: bootmode.h:32
int bootmode_clear(void)
Clear boot mode value (sets to 0) - which corresponds to BOOT_MODE_TYPE_NORMAL.
int bootmode_set(uint8_t boot_mode)
Sets boot mode of device.
int bootmode_check(uint8_t boot_mode)
Checks if the boot mode of the device is set to a specific value.
@ BOOT_MODE_TYPE_BOOTLOADER
Bootloader boot mode (e.g.
Definition: bootmode.h:37
@ BOOT_MODE_TYPE_NORMAL
Default (normal) boot, to user application.
Definition: bootmode.h:34
__UINT8_TYPE__ uint8_t
Definition: stdint.h:88