#ifndef _COMPONENT_FUNC_H #define _COMPONENT_FUNC_H #define ID_NULL 0 void *compo_getobj_byid(u16 id); //根据ID获取组件对象 void compo_time_update(void); //更新组件时间 void compo_settime(tm_t tm, u16 mtime); //设置组件时间 int compo_get_button_id(void); //获取按键ID #endif