- SysInitMain()
- RpxInitFunManager()
- 对CLCDFUN/CPNLFUN 初始化
- CLCDFUN->Exec = RpxFunExeLcd;
- CLCDFUN->Begin = RpxFunExeBeginLcd;
- CLCDFUN->Finish = RpxFunFinishLcd;
- RpxInitOpeManager()
- COPEREG->TblEntNum = (USHORT)OPEREGTBL_ENTNUM;
- COPEREG->pTbl = (void *)OPEREGTBL_PTR;
- COPEREG->Search = RpxObjSearch;
- COPEREG->SearchB = RpxObjSearchIdx;
- COPEREG->Write = RpxOpeRegWrite;
- KpxInitMsgInterface()
- LpxInitMsgInterface()
- RpxFunExeBeginLcd(struct _CFunction *this,
LONG Index,
UINT *FLcdKeyMk,
UINT *FLcdKeyBrk,
UINT *FLcdKeyLvl,
UINT *FOpBlnkKickFlg,
UCHAR *FTxBuff,
HMSGIF Hmsg)
- LpxFunSetOpeApl()
- pApp->OpFunMsg.Super = Hmsg;
- pApp->OpFunMsg.pKeyMk = FLcdKeyMk;
- pApp->OpFunMsg.pKeyBrk = FLcdKeyBrk;
- pApp->OpFunMsg.pKeyLvl = FLcdKeyLvl;
- pApp->OpFunMsg.pBlnkKick = FOpBlnkKickFlg;
- pApp->OpFunMsg.pTxBuf = FTxBuff;
-
- MlibResetLongMemory( pApp->Bss, OPEAPP_BSS_SIZE/4 );
- pApp->OpFunMsg.pVar = pApp->Bss;
- pApp->Begin = ( (pFunDef->OpeBeginFunc == NULL) ?
FunBeginDummy :
( pFunDef->OpeBeginFunc ) );
- pApp->Main = ( (pFunDef->OpeMainFunc == NULL) ?
FunMainDummy :
(pFunDef->OpeMainFunc) );
- pApp->End = ( (pFunDef->OpeEndFunc == NULL) ?
FunEndDummy :
(pFunDef->OpeEndFunc) );
- rc = App.Begin( &(App.OpFunMsg) );---------------------------------
- SysRoundTask()
- KpxMsgManager()
-
- LpxPopMsgManager(HMSGIF Hmsg)
- RpxPnlOpMain(HMSGIF Hmsg)
- if( CPNLFUN->Begin(
CPNLFUN,
Pnl.CurFunIndx,
(UINT *)&OpKeyMk,
(UINT *)&OpKeyBrk,
(UINT *)&OpKeyLvl,
(UINT *)&OpBlnkKickFlg,
(UCHAR *)&(Hmsg->ResBuf[PNLRSP_LEDCODE_IDX]),
Hmsg ) != OK )
|
|
|
----------------------------------------------------------------------------|
Fn204
- FunAtypeVibTuningBegin(FUNMSG *Fmsg)
- FNAVIBSUPV *pv = (FNAVIBSUPV *)(Fmsg->pVar);
- MSGIF *Hmsg = Fmsg->Super;
- rc = OPEREG_WRITE( pv->var.OpeModeIdx, FNAVIBSUP_MODE, Hmsg );
- #define OPEREG_WRITE( idx, data, hmsg ) (COPEREG->Write( COPEREG, (idx), (data), hmsg ))