32 lines
374 B
C
Raw Normal View History

2024-07-27 16:15:35 +02:00
/**
* System functions
*/
#pragma once
2024-08-17 17:19:47 +02:00
#include "stddef.h"
2024-07-27 16:15:35 +02:00
#ifdef __cplusplus
extern "C"
{
#endif
2024-08-18 21:01:34 +02:00
/**
* Get sum of free memory in chip
*/
size_t system_show_free_memory();
2024-08-17 17:19:47 +02:00
/**
* Sleep for a given amount of time
*/
void system_sleep(size_t secs);
2024-07-27 16:15:35 +02:00
/**
* Reboot ESP32
*/
void reboot();
#ifdef __cplusplus
}
#endif