Uptime

Uptime#

Functions

void uptime_init(void)#

Initialize the uptime module.

This function initializes the uptime module, setting up any necessary timers or counters to track the system uptime.

time_t uptime_get(void)#

Get the current system uptime.

This function returns the current system uptime in seconds.

Returns:

The current system uptime in seconds.