Code for an autonomous plane I'm building. Includes process scheduling, process communication, and hardware sensor interfacing (via I2C). NOTE: currently in development, source code will be updated frequently.

Dependencies:   mbed

control.h

Committer:
teamgoat
Date:
2013-10-30
Revision:
0:0c627ff4c5ed
Child:
2:452dd766d212

File content as of revision 0:0c627ff4c5ed:

#ifndef CONTROL_H
#define CONTROL_H

typedef struct
{
    unsigned int status;
    unsigned int block_pid;
    void (*start)(void);  
} process;

typedef enum
{
    READY,
    BLOCKED,
    ZOMBIE,
    EMPTY
} proc_stat;

#endif //CONTROL_H