Files
Upsilon/ion/include/ion.h
Romain Goyet 831c42796b [ion] Add battery-related functions
Change-Id: Ib63b48140a8347d0d07902d956a3685fb040c481
2016-08-29 13:25:14 +02:00

29 lines
637 B
C++

#ifndef ION_ION_H
#define ION_ION_H
#include <ion/battery.h>
#include <ion/display.h>
#include <ion/events.h>
#include <ion/keyboard.h>
#include <ion/led.h>
/* ION is not your regular library. It is a library you link against, but it
* will take care of configuring the whole environment for you. In POSIX terms,
* ION will implement the "main" function.
* Don't worry though, once all its initialization will be performed, ION will
* jump to your code at ion_app, which you have to implement yourself. */
void ion_app();
namespace Ion {
void msleep(long ms);
/* CAUTION: This is a complete reset! */
void reset();
}
#endif