KT24-1110_65E-HA-651B/include_lib/system/app_msg.h
2024-11-10 18:44:17 +08:00

21 lines
414 B
C
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#ifndef SYS_APP_MSG_H
#define SYS_APP_MSG_H
//app自定义消息发送接口
int app_task_put_usr_msg(int msg, int arg_num, ...);
//app消息获取接口(block参数为0表示内部pend1直接返回)
void app_task_get_msg(int *msg, int msg_size, int block);
//app按键消息发送接口
int app_task_put_key_msg(int msg, int value);
//app清理按键消息接口
void app_task_clear_key_msg();
#endif