⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 uicc_uicceh.c

📁 MMI层OBJ不能完全编译
💻 C
字号:
/*=============================================================================
 *     Copyright 2001-2002 Texas Instruments. All Rights Reserved.
 */

#include "main_system.h"
#include "main_app.h"
#include "puf_Log.h"
#include "uicc_UiccEh.h"
#include "puf_PrimHdr.h"
#include "uicc_UiccEh.h"
#include "uicc_Test.h"
#include "bspUicc.h"


/*=============================================================================
 * File Description:
 *   
 */

/*=============================================================================
 * Description:
 *   This function initializes the globals used by UICC. This is called once
 *   when the task that UICC is in, is initialized.
 */
void
uicc_UiccEh_ehInit( void )
{
    return;
}


/*=============================================================================
 * Description:
 *   This is the main event handler function for UICC. Current implementation
 *   is a simple switch statement. There is no state stored in UICC so bringing
 *   it online and offline has no real effect. As an eventual future enhancement
 *   UICC could check the online and offline mode and provide different
 *   functionallity depending on the mode.
 */
void
uicc_UiccEh_ehMain( Puf_PrimHdr *primPtr )
{
    switch( puf_PrimHdr_getPrimId( primPtr ) )
    {
        case  UICC_UICCEH_PHY_INIT_REQ:
        {
            uicc_Test_handlePhyInitReq(primPtr);
            break;
        }
        case UICC_UICCEH_PHY_CONFIG_REQ:
        {
            uicc_Test_handlePhyConfigReq((Uicc_UiccEh_PhyConfigReq *) primPtr);
            break;
        }
        case UICC_UICCEH_PHY_READ_REQ:
        {
            uicc_Test_handlePhyReadReq((Uicc_UiccEh_PhyReadReq *) primPtr);
            break;
        }
        case UICC_UICCEH_PHY_WRITE_REQ:
        {
            uicc_Test_handlePhyWriteReq((Uicc_UiccEh_PhyWriteReq *) primPtr);
            break;
        }
        case UICC_UICCEH_PHY_RESET_REQ:
        {
            uicc_Test_handlePhyResetReq((Uicc_UiccEh_PhyResetReq *) primPtr);
            break;
        }
        case  UICC_UICCEH_CARD_INSERT_IND:
        {
            break;
        }
        case  UICC_UICCEH_CARD_REMOVE_IND:
        {
            break;
        }
        case  UICC_UICCEH_INIT_REQ:
        {
            uicc_Test_handleInitReq((Uicc_UiccEh_InitReq *) primPtr);
            break;
        }
        case  UICC_UICCEH_RESET_REQ:
        {
            uicc_Test_handleResetReq((Uicc_UiccEh_ResetReq *) primPtr);
            break;
        }
        case  UICC_UICCEH_SEND_COMMAND_REQ:
        {
            uicc_Test_handleSendCommandReq((Uicc_UiccEh_SendCommandReq *) primPtr);
            break;
        }
        case TIMER_TIMEREH_TIMEOUT_IND:
        {
/*            uicc_timerTimeoutInd( primPtr );*/
            break;
        }
        default:
        {
            /* This is an unexpected primitive */
            PUF_LOG_ERROR( (NULL, "[UICC] Unexpected primitive") );
            break;
        }
    }
    
    return;
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -