Classes | |
struct | Time |
class | Directory |
class | Thread |
class | Mutex |
class | Lock |
class | Timer |
class | Queue |
Enumerations | |
enum | DayOfWeek { MON, TUE, WED, THU, FRI, SAT, SUN } |
enum | Attrib { READ_ONLY = 0x01, HIDDEN = 0x02, SYSTEM = 0x04, VOLUME_ID = 0x08, DIRECTORY = 0x10, ARCHIVE = 0x20 } |
Functions | |
Time | get_time () |
void | set_time (Time t) |
void | sleep (Time *t) |
void | shutdown () |
void | reboot () |
char | mount_filesystem () |
void | umount_filesystem () |
bool | is_filesystem_mounted () |
bool | IRQis_serial_enabled () |
bool | serial_rx_check () |
bool | serial_rx_lost () |
void | serial_rx_flush () |
char | cpu_load () |
void | pause_kernel () |
void | restart_kernel () |
bool | is_kernel_running () |
unsigned long long | get_tick () |
void | IRQfind_next_thread () |
Variables | |
const short int | PRIORITY_MAX = 4 |
Number of priorities (MUST be >1). | |
const unsigned int | TICK_FREQ = 200 |
Frequency of tick (in Hz). Tipically 200 ticks per second. |