imu rev1

Dependencies:   IMUfilter mbed

Fork of AIviate by UCLA IEEE

Committer:
teamgoat
Date:
Wed Oct 30 02:31:43 2013 +0000
Revision:
0:0c627ff4c5ed
Child:
2:452dd766d212
First compiled version (reads sensors, I think)

Who changed what in which revision?

UserRevisionLine numberNew contents of line
teamgoat 0:0c627ff4c5ed 1 #ifndef CONTROL_H
teamgoat 0:0c627ff4c5ed 2 #define CONTROL_H
teamgoat 0:0c627ff4c5ed 3
teamgoat 0:0c627ff4c5ed 4 typedef struct
teamgoat 0:0c627ff4c5ed 5 {
teamgoat 0:0c627ff4c5ed 6 unsigned int status;
teamgoat 0:0c627ff4c5ed 7 unsigned int block_pid;
teamgoat 0:0c627ff4c5ed 8 void (*start)(void);
teamgoat 0:0c627ff4c5ed 9 } process;
teamgoat 0:0c627ff4c5ed 10
teamgoat 0:0c627ff4c5ed 11 typedef enum
teamgoat 0:0c627ff4c5ed 12 {
teamgoat 0:0c627ff4c5ed 13 READY,
teamgoat 0:0c627ff4c5ed 14 BLOCKED,
teamgoat 0:0c627ff4c5ed 15 ZOMBIE,
teamgoat 0:0c627ff4c5ed 16 EMPTY
teamgoat 0:0c627ff4c5ed 17 } proc_stat;
teamgoat 0:0c627ff4c5ed 18
teamgoat 0:0c627ff4c5ed 19 #endif //CONTROL_H