STM32H750XB_Hello/Core/Inc/user_tasks.h

26 lines
621 B
C

#ifndef __USER_TASKS_H
#define __USER_TASKS_H
#include "cmsis_os2.h"
#define USER_LVGL_EVENT_FLAG_READY 0x00000001
#define USER_LVGL_EVENT_DMA2D_READY 0x00000002
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