#include <config.h>
#include <tm.h>
Go to the source code of this file.
Classes | |
struct | program_t |
The program control structure. More... | |
Defines | |
#define | PROG_MAX 8 |
maximum number of programs | |
Enumerations | |
enum | packet_cmd_t { CMDacknowledge, CMDdelete, CMDcreate, CMDoffsets, CMDdata, CMDrun, CMDirmode, CMDsethost, CMDlast } |
Functions | |
void | program_stop (int flag) |
stop program | |
int | program_valid (unsigned nr) |
check if a given program is valid. | |
void | program_init () |
initialize program support | |
void | program_shutdown () |
shutdown program support | |
Variables | |
volatile unsigned | cprog |
the current program |
Definition in file program.h.
enum packet_cmd_t |
void program_init | ( | ) |
void program_shutdown | ( | ) |
void program_stop | ( | int | flag | ) |
stop program
int program_valid | ( | unsigned | nr | ) |
check if a given program is valid.
volatile unsigned cprog |
the current program
brickOS is released under the
Mozilla Public License.
Original code copyright 1998-2005 by the authors. |