Zephyr API Documentation 4.0.0
A Scalable Open Source RTOS
|
Public API for boot mode interface. More...
#include <stdint.h>
#include <stddef.h>
#include <zephyr/kernel.h>
#include <zephyr/device.h>
#include <zephyr/types.h>
Go to the source code of this file.
Enumerations | |
enum | BOOT_MODE_TYPES { BOOT_MODE_TYPE_NORMAL = 0x00 , BOOT_MODE_TYPE_BOOTLOADER } |
Functions | |
int | bootmode_check (uint8_t boot_mode) |
Checks if the boot mode of the device is set to a specific value. | |
int | bootmode_set (uint8_t boot_mode) |
Sets boot mode of device. | |
int | bootmode_clear (void) |
Clear boot mode value (sets to 0) - which corresponds to BOOT_MODE_TYPE_NORMAL. | |
Public API for boot mode interface.