imu rev1

Dependencies:   IMUfilter mbed

Fork of AIviate by UCLA IEEE

Committer:
teamgoat
Date:
Fri Nov 01 00:48:06 2013 +0000
Revision:
2:452dd766d212
Parent:
0:0c627ff4c5ed
Child:
4:44a5b1e8fd27
broken :(

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 2:452dd766d212 4 void schedule();
teamgoat 2:452dd766d212 5 void init();
teamgoat 2:452dd766d212 6
teamgoat 0:0c627ff4c5ed 7 typedef struct
teamgoat 0:0c627ff4c5ed 8 {
teamgoat 0:0c627ff4c5ed 9 unsigned int status;
teamgoat 0:0c627ff4c5ed 10 unsigned int block_pid;
teamgoat 0:0c627ff4c5ed 11 void (*start)(void);
teamgoat 0:0c627ff4c5ed 12 } process;
teamgoat 0:0c627ff4c5ed 13
teamgoat 0:0c627ff4c5ed 14 typedef enum
teamgoat 0:0c627ff4c5ed 15 {
teamgoat 0:0c627ff4c5ed 16 READY,
teamgoat 0:0c627ff4c5ed 17 BLOCKED,
teamgoat 0:0c627ff4c5ed 18 ZOMBIE,
teamgoat 0:0c627ff4c5ed 19 EMPTY
teamgoat 0:0c627ff4c5ed 20 } proc_stat;
teamgoat 0:0c627ff4c5ed 21
teamgoat 0:0c627ff4c5ed 22 #endif //CONTROL_H