summaryrefslogtreecommitdiff
path: root/source/can_task.h
diff options
context:
space:
mode:
authorDominik Sliwa <dominik.sliwa@toradex.com>2017-04-05 14:00:11 +0200
committerDominik Sliwa <dominik.sliwa@toradex.com>2017-04-05 14:03:38 +0200
commitb3bc06bef795fdc57254729c74c04e2732a6092d (patch)
tree1582cb5edd1f6ebcdfed12d3bc43c62364fd2751 /source/can_task.h
parent23a27e51577ded4d070794b864585829c69cdc56 (diff)
Apalis_TK1_K20: CAN support and version change
Includes CAN support and fw version bump to 0.9 Signed-off-by: Dominik Sliwa <dominik.sliwa@toradex.com>
Diffstat (limited to 'source/can_task.h')
-rw-r--r--source/can_task.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/source/can_task.h b/source/can_task.h
new file mode 100644
index 0000000..9857e96
--- /dev/null
+++ b/source/can_task.h
@@ -0,0 +1,17 @@
+/*
+ * can_task.h
+ */
+
+#ifndef SOURCE_CAN_TASK_H_
+#define SOURCE_CAN_TASK_H_
+
+/* FreeRTOS kernel includes. */
+#include "FreeRTOS.h"
+#include "task.h"
+
+TaskHandle_t can_task_handle;
+void can_test_task(void *pvParameters);
+int can0_registers(uint8_t *rx_buf, uint8_t *tx_buf);
+int can1_registers(uint8_t *rx_buf, uint8_t *tx_buf);
+
+#endif /* SOURCE_CAN_TASK_H_ */