]> rtime.felk.cvut.cz Git - rpp-test-sw.git/commitdiff
Add renamed header file, which I have forgotten to stage in previous commit
authorMichal Horn <hornmich@fel.cvut.cz>
Mon, 8 Dec 2014 10:17:47 +0000 (11:17 +0100)
committerMichal Horn <hornmich@fel.cvut.cz>
Mon, 8 Dec 2014 10:17:47 +0000 (11:17 +0100)
rpp-test-sw/cmdproc/include/cmdproc_freertos_rm48.h [new file with mode: 0644]

diff --git a/rpp-test-sw/cmdproc/include/cmdproc_freertos_rm48.h b/rpp-test-sw/cmdproc/include/cmdproc_freertos_rm48.h
new file mode 100644 (file)
index 0000000..234c549
--- /dev/null
@@ -0,0 +1,34 @@
+/** @file cmd_proc_freertos_rm48.h
+ *   @brief Texas Instrument SCI FreeRTOS cmdProc header file
+ *   @date 1.August.2012
+ *
+ *  Function prototypes
+ *
+ */
+
+#ifndef CMD_PROC_FREERTOS_RM48_H_
+#define CMD_PROC_FREERTOS_RM48_H_
+
+/* Include files */
+#include "string.h"
+#include "os/FreeRTOS.h"
+#include "cmdproc.h"
+#include "cmdproc_io_tisci.h"
+#include "os/task.h"
+#include "os/portmacro.h"
+
+
+/**    Initializes CmdProc library, IO stack and creates task for FreeRTOS.
+ *  SCI must be initialized before calling this procedure.
+ *
+ *  @param[in] priority                priority for main task.
+ *  @param[in] introText               string shown once after initialization before prompt is shown. Can be NULL.
+ *  @param[in] promptText              string shown when software is ready to read command from RS-232. Can be NULL.
+ */
+void initCmdProc(unsigned portBASE_TYPE printPriority);
+
+/**    Procedure for task processCmd. Infinite loop that reads and process commands.
+ */
+void processCmd(void *pvParameters );
+
+#endif /* CMD_PROC_FREERTOS_RM48_H_ */