unleashed-firmware/firmware/targets/api-hal-include/api-hal-boot.h

19 lines
253 B
C
Raw Normal View History

#pragma once
#ifdef __cplusplus
extern "C" {
#endif
/** Boot modes */
typedef enum {
ApiHalBootModeNormal,
ApiHalBootModeDFU
} ApiHalBootMode;
/** Set boot mode */
void api_hal_boot_set_mode(ApiHalBootMode mode);
#ifdef __cplusplus
}
#endif