22#ifndef __LIBPWROFF_H__
23#define __LIBPWROFF_H__
25#define POWEROFF_THREAD_PRIORITY 0x70
void poweroffSetCallback(poweroff_callback cb, void *arg)
Set callback function.
int poweroffInit(void)
Initializes the poweroff library.
void(* poweroff_callback)(void *arg)
User defined function for use in poweroffSetCallback()
void poweroffShutdown(void)
Immidiate console shutdown. Do not call it without closing all stuff.
void poweroffChangeThreadPriority(int priority)
Change thread priority.