2021-01-23 16:32:13 +00:00
|
|
|
#ifndef __USER_TASKS_H
|
|
|
|
#define __USER_TASKS_H
|
|
|
|
|
|
|
|
#include <pthread.h>
|
|
|
|
|
|
|
|
void user_tasks_init(void);
|
|
|
|
void user_tasks_loop(void);
|
|
|
|
void user_tasks_deinit(void);
|
|
|
|
|
|
|
|
int lvgl_task_init(void);
|
|
|
|
int lvgl_task_deinit(void);
|
|
|
|
extern pthread_t lvgl_tick_thread_handle;
|
|
|
|
void *lvgl_tick_thread(void *arguments);
|
|
|
|
extern pthread_t lvgl_task_thread_handle;
|
|
|
|
void *lvgl_task_thread(void *arguments);
|
|
|
|
|
2021-01-24 12:08:57 +00:00
|
|
|
int hello_task_init(void);
|
|
|
|
int hello_task_deinit(void);
|
|
|
|
extern pthread_t hello_thread_handle;
|
|
|
|
void *hello_thread(void *arguments);
|
|
|
|
|
2021-04-20 17:35:38 +00:00
|
|
|
int load_task_init(void);
|
|
|
|
int load_task_deinit(void);
|
|
|
|
extern pthread_t load_thread_handle;
|
|
|
|
void *load_thread(void *arguments);
|
|
|
|
|
2021-01-23 16:32:13 +00:00
|
|
|
#endif
|