void mcu_reboot(enum reboot_state_t reboot_state)
Reboot the MCU Should not be called during flight or ciritcal operations.
reboot_state_t
The requested reboot states.
void board_init(void)
Optional board init function called at the start of mcu_init().
void mcu_init(void)
Microcontroller peripherals initialization.
void mcu_energy_save(void)
Puts the MCU in energy save mode This disables features of the MCU to save energy.
void mcu_event(void)
MCU event functions.
void board_init2(void)
Optional board init function called at the end of mcu_init().
@ MCU_REBOOT_BOOTLOADER
Go to bootloader.
@ MCU_REBOOT_POWEROFF
Poweroff the device.
@ MCU_REBOOT_NORMAL
Normal reboot.
@ MCU_REBOOT_FAST
Fast reboot (skip bootloader)