summaryrefslogtreecommitdiff
path: root/software/mpu/inc/Types.h
diff options
context:
space:
mode:
authorRoland Sahlsten <Roland.Sahlsten.ASE10@fh-joanneum.at>2011-10-24 21:09:29 +0000
committerRoland Sahlsten <Roland.Sahlsten.ASE10@fh-joanneum.at>2011-10-24 21:09:29 +0000
commit9976c747d7209b33e1a009f84539812366146cfb (patch)
tree7ff1439a0e61fb0aa7e8cc33827dbb611a511ecc /software/mpu/inc/Types.h
parentgit-svn-id: https://svn.spreadspace.org/mur.sat@179 7de4ea59-55d0-425e-a1af-a... (diff)
git-svn-id: https://svn.spreadspace.org/mur.sat@180 7de4ea59-55d0-425e-a1af-a3118ea81d4c
Diffstat (limited to 'software/mpu/inc/Types.h')
-rw-r--r--software/mpu/inc/Types.h14
1 files changed, 11 insertions, 3 deletions
diff --git a/software/mpu/inc/Types.h b/software/mpu/inc/Types.h
index 501d359..1ceeaad 100644
--- a/software/mpu/inc/Types.h
+++ b/software/mpu/inc/Types.h
@@ -2,6 +2,8 @@
#include "task.h"
#include "queue.h"
+#define MS(ms) portTICK_RATE_MS * (ms)
+
typedef enum
{
STATUS_OK = 0x0U,
@@ -27,7 +29,13 @@ typedef struct
typedef struct
{
- xTaskHandle *pxTask_Lightsens;
- xQueueHandle *pxQueue;
-}Task_Param_t;
+ xQueueHandle hxq_Kernel;
+ xQueueHandle hxq_Camera;
+ xQueueHandle hxq_LightSens;
+}QH_t;
+typedef struct
+{
+ xTaskHandle hxTask_Self;
+ QH_t QueueHandles;
+}Task_Param_t;