mothercup/mcm-ddc-04/app/app_tasks.h
2026-09-01 20:06:25 +08:00

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__ */