lcc_mmi_api.c
来自「是一个手机功能的模拟程序」· C语言 代码 · 共 31 行
C
31 行
/******************************************************************************
* Power Task (pwr)
* Design and coding by Svend Kristian Lindholm, skl@ti.com
*
* PWR Testing the MMI API (RIV461)
*
* $Id: lcc_mmi_api.c,v 1.1.1.1 2004/06/19 06:00:29 root Exp $
*
******************************************************************************/
#if 0
#include <string.h>
//#include "pwr.h"
#include "rvf_api.h"
#include "lcc_api.h"
#include "lcc_trace.h"
#endif
// Callback function prototype
static void mmi_test_cb_function(void *ptr);
T_PWR_MMI_INFO_IND_EVENT mmi_data;
// Callback function used for testing MMI reporting
static void mmi_test_cb_function(void *ptr)
{
T_PWR_MMI_INFO_IND_EVENT *event;
event = (T_PWR_MMI_INFO_IND_EVENT *)ptr;
ttw(ttr(TTrInit, "mmi_test_cb_function (%d)" NL, 0));
ttw(ttr(TTrInit, "MMI event: (%d)" NL, event->header.msg_id));
ttw(ttr(TTrInit, "mmi_test_cb_function (%d)" NL, 0xFF));
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?