2020-11-17 17:08:31 +00:00
|
|
|
#pragma once
|
|
|
|
|
2020-12-02 10:47:13 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2021-03-24 09:35:33 +00:00
|
|
|
/** Boot modes */
|
2020-11-17 17:08:31 +00:00
|
|
|
typedef enum {
|
|
|
|
ApiHalBootModeNormal,
|
|
|
|
ApiHalBootModeDFU
|
|
|
|
} ApiHalBootMode;
|
|
|
|
|
2021-03-24 09:35:33 +00:00
|
|
|
/** Set boot mode */
|
2020-11-17 17:08:31 +00:00
|
|
|
void api_hal_boot_set_mode(ApiHalBootMode mode);
|
2020-12-02 10:47:13 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|