28 lines
492 B
C
28 lines
492 B
C
/**
|
|
* @file app_tasks.h
|
|
* @brief FreeRTOS task/queue creation interface
|
|
*/
|
|
#ifndef __APP_TASKS_H__
|
|
#define __APP_TASKS_H__
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#include <stdint.h>
|
|
|
|
/* Log message passed from LED tasks to the print task via a queue */
|
|
typedef struct
|
|
{
|
|
uint8_t led_id; /* 1 = LED1(PB0), 2 = LED2(PA6) */
|
|
uint32_t count; /* toggle counter of that LED */
|
|
} LogMsg_t;
|
|
|
|
void AppTasks_CreateAll(void);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* __APP_TASKS_H__ */
|