summaryrefslogtreecommitdiff
path: root/source/can_task.h
diff options
context:
space:
mode:
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_ */