5#include <stdnoreturn.h>
bool callback(pb_istream_t *stream, uint8_t *buf, size_t count)
MOSAPI void(1, 2) fatal_abort(const char *fmt
void power_shutdown(void)
Shutdown the system.
void(* power_callback_t)(void *data)
void power_register_shutdown_callback(power_callback_t callback, void *data)
Register a callback to be called when the system is about to shut down.