25 lines
574 B
C
25 lines
574 B
C
#ifndef __USER_TASKS_H
|
|
#define __USER_TASKS_H
|
|
|
|
#include "cmsis_os2.h"
|
|
|
|
#define USER_LVGL_EVENT_FLAG_READY 0x00000001
|
|
|
|
void user_tasks_init(void);
|
|
|
|
extern osThreadId_t g_user_hello_task_handle;
|
|
extern osThreadAttr_t g_user_hello_task_attributes;
|
|
|
|
void user_hello_task(void *argument);
|
|
|
|
extern osThreadId_t g_user_lvgl_task_handle;
|
|
extern osThreadAttr_t g_user_lvgl_task_attributes;
|
|
|
|
extern osMutexId_t g_user_lvgl_mutex_handle;
|
|
extern osMutexAttr_t g_user_lvgl_mutex_attributes;
|
|
|
|
extern osEventFlagsId_t g_user_lvgl_event_handle;
|
|
|
|
void user_lvgl_task(void *argument);
|
|
|
|
#endif |