main/task_sdcard.h

changeset 1
ad2c8b13eb88
parent 0
b74b0e4902c3
child 4
6d1f512cd074
equal deleted inserted replaced
0:b74b0e4902c3 1:ad2c8b13eb88
5 * @file task_sdcard.h 5 * @file task_sdcard.h
6 * @brief The interface to the FreeRTOS SD/MMC card task. 6 * @brief The interface to the FreeRTOS SD/MMC card task.
7 */ 7 */
8 8
9 9
10 /**
11 * @brief Annotation types for the log graph.
12 */
10 typedef enum 13 typedef enum
11 { 14 {
12 ANNOTATION_STAGE = 0, ///< Annotate stage event 15 ANNOTATION_STAGE = 0, ///< Annotate stage event
13 ANNOTATION_EVENT, ///< Annotate an event 16 ANNOTATION_EVENT, ///< Annotate an event
14 ANNOTATION_SYSTEM, ///< Annotate a system event. 17 ANNOTATION_SYSTEM, ///< Annotate a system event.
71 * @param label The label text that will be seen in the chart. 74 * @param label The label text that will be seen in the chart.
72 */ 75 */
73 void log_annotation(int annotation_type, char *label); 76 void log_annotation(int annotation_type, char *label);
74 77
75 /** 78 /**
79 * @brief Copy one file.
80 * @param ff The from filename
81 * @param tf The to filename
82 * @return 0 if success.
83 */
84 int FileCopy(char *ff, char *tf);
85
86 /**
76 * @brief FreeRTOS sd card task. 87 * @brief FreeRTOS sd card task.
77 */ 88 */
78 void task_sdcard(void *); 89 void task_sdcard(void *);
79 90
80 #endif 91 #endif

mercurial