BroBot Code for ESE350 Lab6 part 3 (Skeleton)

Dependencies:   MPU6050_V3 mbed-rtos mbed

Fork of BroBot_RTOS_ESE350 by Carter Sharer

rtos_definations.h

Committer:
arvindnr89
Date:
2017-02-08
Revision:
16:3a85662fb740
Parent:
11:2553f5798f84
Child:
17:8e2824f64b91

File content as of revision 16:3a85662fb740:

#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);

/*
void waypoint_update_thread(void const *args);
osThreadId waypoint_update_thread_ID;
osThreadDef(waypoint_update_thread, osPriorityNormal, DEFAULT_STACK_SIZE);
*/


//*********** Thread Definations END *************//
#endif