1 /** @file cmd_proc_freertos_tms570.h
2 * @brief Texas Instrument SCI FreeRTOS cmdProc header file
9 #ifndef CMD_PROC_FREERTOS_TMS570_H_
10 #define CMD_PROC_FREERTOS_TMS570_H_
14 #include "os/FreeRTOS.h"
16 #include "cmdproc_io_tisci.h"
18 #include "os/portmacro.h"
21 /** Initializes CmdProc library, IO stack and creates task for FreeRTOS.
22 * SCI must be initialized before calling this procedure.
24 * @param[in] priority priority for main task.
25 * @param[in] introText string shown once after initialization before prompt is shown. Can be NULL.
26 * @param[in] promptText string shown when software is ready to read command from RS-232. Can be NULL.
28 void initCmdProc(unsigned portBASE_TYPE printPriority, uint8_t * intro, uint8_t * prompt);
30 /** Procedure for task processCmd. Infinite loop that reads and process commands.
32 void processCmd(void *pvParameters );
34 #endif /* CMD_PROC_FREERTOS_TMS570_H_ */