• 大小: 1.58MB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2023-08-15
  • 语言: 其他
  • 标签: Rc663  rc523  rd710  14443  

资源简介

nxp官方出的rc663、rc523、rd710驱动程序,包括标准的头文件、程序,能够直接使用

资源截图

代码片段和文件信息

/*
*         Copyright (c) NXP Semiconductors Gratkorn / Austria
*
*                     (C)NXP Semiconductors
*       All rights are reserved. Reproduction in whole or in part is 
*      prohibited without the written consent of the copyright owner.
*  NXP reserves the right to make changes without notice at any time.
* NXP makes no warranty expressed implied or statutory including but
* not limited to any implied warranty of merchantability or fitness for any
*particular purpose or that the use will not infringe any third party patent
* copyright or trademark. NXP must not be liable for any loss or damage
*                          arising from its use.
*/

/** \file
* Generic MIFARE(R) Application Component of Reader Library framework.
* $Author: santosh.d.araballi $
* $Revision: 1.3 $
* $Date: Fri Apr 15 09:27:41 2011 $
*
* History:
*  CHu: Generated 31. July 2009
*
*/

#include 
#include 
#include “phalMfc_Int.h“
#include 
#include 
#include 

#ifdef NXPBUILD__PHAL_MFC_SW
#include “Sw/phalMfc_Sw.h“
#endif /* NXPBUILD__PHAL_MFC_SW */

#ifdef NXPBUILD__PHAL_MFC

phStatus_t phalMfc_Authenticate(
                                void * pDataParams
                                uint8_t bBlockNo
                                uint8_t bKeyType
                                uint16_t wKeyNumber
                                uint16_t wKeyVersion
                                uint8_t * pUid
                                uint8_t bUidLength
                                )
{
    phStatus_t PH_MEMLOC_REM status;

    PH_LOG_HELPER_ALLOCATE_TEXT(bFunctionName “phalMfc_Authenticate“);
    /*PH_LOG_HELPER_ALLOCATE_PARAMNAME(pDataParams);*/
    PH_LOG_HELPER_ALLOCATE_PARAMNAME(bBlockNo);
    PH_LOG_HELPER_ALLOCATE_PARAMNAME(bKeyType);
    PH_LOG_HELPER_ALLOCATE_PARAMNAME(wKeyNumber);
    PH_LOG_HELPER_ALLOCATE_PARAMNAME(wKeyVersion);
    PH_LOG_HELPER_ALLOCATE_PARAMNAME(pUid);
    PH_LOG_HELPER_ALLOCATE_PARAMNAME(status);
    PH_LOG_HELPER_ADDSTRING(PH_LOG_LOGTYPE_INFO bFunctionName);
    PH_LOG_HELPER_ADDPARAM_UINT8(PH_LOG_LOGTYPE_DEBUG bBlockNo_log &bBlockNo);
    PH_LOG_HELPER_ADDPARAM_UINT8(PH_LOG_LOGTYPE_DEBUG bKeyType_log &bKeyType);
    PH_LOG_HELPER_ADDPARAM_UINT16(PH_LOG_LOGTYPE_DEBUG wKeyNumber_log &wKeyNumber);
    PH_LOG_HELPER_ADDPARAM_UINT16(PH_LOG_LOGTYPE_DEBUG wKeyVersion_log &wKeyVersion);
    PH_LOG_HELPER_ADDPARAM_BUFFER(PH_LOG_LOGTYPE_DEBUG pUid_log pUid bUidLength);
    PH_LOG_HELPER_EXECUTE(PH_LOG_OPTION_CATEGORY_ENTER);
PH_ASSERT_NULL (pDataParams);
PH_ASSERT_NULL (pUid);

    if (PH_GET_COMPCODE(pDataParams) != PH_COMP_AL_MFC)
    {
        PH_LOG_HELPER_ADDSTRING(PH_LOG_LOGTYPE_INFO bFunctionName);
        PH_LOG_HELPER_ADDPARAM_UINT16(PH_LOG_LOGTYPE_INFO status_log &status);
        PH_LOG_HELPER_EXECUTE(PH_LOG_OPTION_CATEGORY_LEAVE);

        return PH_ADD_

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2011-07-06 18:09  NxpRdLib_PublicRelease\
     目录           0  2011-07-06 18:09  NxpRdLib_PublicRelease\comps\
     目录           0  2011-07-06 18:09  NxpRdLib_PublicRelease\comps\phalMfc\
     目录           0  2011-07-06 18:09  NxpRdLib_PublicRelease\comps\phalMfc\src\
     文件       26984  2011-07-04 17:17  NxpRdLib_PublicRelease\comps\phalMfc\src\phalMfc.c
     文件        5709  2011-07-04 17:17  NxpRdLib_PublicRelease\comps\phalMfc\src\phalMfc_Int.c
     文件        4754  2011-07-04 17:17  NxpRdLib_PublicRelease\comps\phalMfc\src\phalMfc_Int.h
     目录           0  2011-07-06 18:09  NxpRdLib_PublicRelease\comps\phalMfc\src\Sw\
     文件       12320  2011-07-04 17:17  NxpRdLib_PublicRelease\comps\phalMfc\src\Sw\phalMfc_Sw.c
     文件        4642  2011-07-04 17:17  NxpRdLib_PublicRelease\comps\phalMfc\src\Sw\phalMfc_Sw.h
     目录           0  2011-07-06 18:09  NxpRdLib_PublicRelease\comps\phalMful\
     目录           0  2011-07-06 18:09  NxpRdLib_PublicRelease\comps\phalMful\src\
     文件        8983  2011-07-04 17:17  NxpRdLib_PublicRelease\comps\phalMful\src\phalMful.c
     文件        4452  2011-07-04 17:17  NxpRdLib_PublicRelease\comps\phalMful\src\phalMful_Int.c
     文件        2811  2011-07-04 17:17  NxpRdLib_PublicRelease\comps\phalMful\src\phalMful_Int.h
     目录           0  2011-07-06 18:09  NxpRdLib_PublicRelease\comps\phalMful\src\Sw\
     文件        3794  2011-07-04 17:17  NxpRdLib_PublicRelease\comps\phalMful\src\Sw\phalMful_Sw.c
     文件        1921  2011-07-04 17:17  NxpRdLib_PublicRelease\comps\phalMful\src\Sw\phalMful_Sw.h
     目录           0  2011-07-06 18:09  NxpRdLib_PublicRelease\comps\phbalReg\
     目录           0  2011-07-06 18:09  NxpRdLib_PublicRelease\comps\phbalReg\src\
     目录           0  2011-07-06 18:09  NxpRdLib_PublicRelease\comps\phbalReg\src\PcscWin\
     文件       19173  2011-07-04 17:17  NxpRdLib_PublicRelease\comps\phbalReg\src\PcscWin\phbalReg_PcscWin.c
     文件        3036  2011-07-04 17:17  NxpRdLib_PublicRelease\comps\phbalReg\src\PcscWin\phbalReg_PcscWin.h
     文件        1459  2011-07-04 17:17  NxpRdLib_PublicRelease\comps\phbalReg\src\PcscWin\phbalReg_PcscWin_Int.h
     文件       20980  2011-07-04 17:17  NxpRdLib_PublicRelease\comps\phbalReg\src\phbalReg.c
     目录           0  2011-07-06 18:09  NxpRdLib_PublicRelease\comps\phbalReg\src\Rd70xUsbWin\
     目录           0  2011-07-06 18:09  NxpRdLib_PublicRelease\comps\phbalReg\src\Rd70xUsbWin\external\
     文件        5149  2011-07-04 17:17  NxpRdLib_PublicRelease\comps\phbalReg\src\Rd70xUsbWin\external\Devioctl.h
     文件        7620  2011-07-04 17:17  NxpRdLib_PublicRelease\comps\phbalReg\src\Rd70xUsbWin\external\Usb100.h
     文件       17879  2011-07-04 17:17  NxpRdLib_PublicRelease\comps\phbalReg\src\Rd70xUsbWin\external\Usbdi.h
     文件       19502  2011-07-04 17:17  NxpRdLib_PublicRelease\comps\phbalReg\src\Rd70xUsbWin\external\Usbioctl.h
............此处省略215个文件信息

评论

共有 条评论