
BroBot Code for ESE350 Lab6 part 3 (Skeleton)
Dependencies: MPU6050_V3 mbed-rtos mbed
Fork of BroBot_RTOS_ESE350 by
Diff: rtos_definations.h
- Revision:
- 11:2553f5798f84
- Child:
- 16:3a85662fb740
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/rtos_definations.h Thu Jan 19 19:18:54 2017 +0000 @@ -0,0 +1,25 @@ +#ifndef _RTOS_DEFINATIONS_H +#define _RTOS_DEFINATIONS_H + +//*********** Thread Definations BEGIN ***********// +//EVENT Signals +#define IMU_UPDATE_SIGNAL 0x02 + + + +void imu_update_thread(void const *args); +osThreadId imu_update_thread_ID; +osThreadDef(imu_update_thread, osPriorityHigh, DEFAULT_STACK_SIZE); + +void communication_update_thread(void const *args); +osThreadId communication_update_thread_ID; +osThreadDef(communication_update_thread, osPriorityAboveNormal, DEFAULT_STACK_SIZE); + +void pid_update_thread(void const *args); +osThreadId pid_update_thread_ID; +osThreadDef(pid_update_thread, osPriorityNormal, DEFAULT_STACK_SIZE); + + + +//*********** Thread Definations END *************// +#endif \ No newline at end of file