summaryrefslogtreecommitdiff
path: root/software/mpu.old/inc/Types.h
diff options
context:
space:
mode:
Diffstat (limited to 'software/mpu.old/inc/Types.h')
-rw-r--r--software/mpu.old/inc/Types.h45
1 files changed, 0 insertions, 45 deletions
diff --git a/software/mpu.old/inc/Types.h b/software/mpu.old/inc/Types.h
deleted file mode 100644
index 9cb0101..0000000
--- a/software/mpu.old/inc/Types.h
+++ /dev/null
@@ -1,45 +0,0 @@
-#include "FreeRTOS.h"
-#include "task.h"
-#include "queue.h"
-
-#define MS(ms) portTICK_RATE_MS * (ms)
-
-/* Status_t*/
-typedef enum
-{
- STATUS_OK = 0x0U,
- STATUS_ERROR_INIT,
- STATUS_ERROR_SND,
- STATUS_ERROR_RCV,
- STATUS_ERROR_TIMEOUT
-}Status_t;
-
-/* Sender_t */
-typedef enum
-{
- Sender_Kernel = 0x0,
- Sender_Camera,
- Sender_Spi,
- Sender_LightSens,
- Sender_UART
-}Sender_t;
-
-/* Message_t */
-typedef struct
-{
- void *pData;
- Sender_t Sender;
-}Message_t;
-
-typedef struct
-{
- xQueueHandle hxq_Kernel;
- xQueueHandle hxq_Camera;
- xQueueHandle hxq_LightSens;
-}QH_t;
-
-typedef struct
-{
- xTaskHandle hxTask_Self;
- QH_t QueueHandles;
-}Task_Param_t;