2 * Copyright (C) 2010 NXP Semiconductors
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
18 *\file phLibNfc_ioctl.h
19 *\brief Contains LibNfc IOCTL details.
21 * $Workfile:: phLibNfc_ioctl.h $
25 * $Aliases: NFC_FRI1.1_WK949_PREP1,NFC_FRI1.1_WK949_SDK_INT,NFC_FRI1.1_WK943_R32_10,NFC_FRI1.1_WK943_R32_13,NFC_FRI1.1_WK1003_SDK,NFC_FRI1.1_WK943_R32_14,NFC_FRI1.1_WK1007_R33_1,NFC_FRI1.1_WK1008_SDK,NFC_FRI1.1_WK1007_R33_4,NFC_FRI1.1_WK1007_SDK,NFC_FRI1.1_WK1014_SDK,NFC_FRI1.1_WK1017_PREP1,NFC_FRI1.1_WK1017_R34_1,NFC_FRI1.1_WK1017_R34_2,NFC_FRI1.1_WK1019_SDK,NFC_FRI1.1_WK1024_SDK $
26 *\defgroup grp_lib_ioctl IOCTL code details
30 #ifndef PHLIBNFCIOCTL_H /* */
31 #define PHLIBNFCIOCTL_H /* */
33 #include <phNfcIoctlCode.h>
37 * \ingroup grp_lib_ioctl
38 * \brief Allows to initiate firmware download to connected PN544
41 #define PHLIBNFC_FW_DOWNLOAD NFC_FW_DOWNLOAD
43 * \ingroup grp_lib_ioctl
44 * \brief Allows to read memory from connected PN544 .
47 #define PHLIBNFC_MEM_READ NFC_MEM_READ
50 * \ingroup grp_lib_ioctl
51 * \brief Allows to write PN544 memory.
54 #define PHLIBNFC_MEM_WRITE NFC_MEM_WRITE
57 * \ingroup grp_lib_ioctl
58 * \brief Allows to do Antenna test.
61 #define PHLIBNFC_ANTENNA_TEST DEVMGMT_ANTENNA_TEST
63 * \ingroup grp_lib_ioctl
64 * \brief Allows to do SWP test.
67 #define PHLIBNFC_SWP_TEST DEVMGMT_SWP_TEST
69 * \ingroup grp_lib_ioctl
70 * \brief Allows to do PRBS test.
73 #define PHLIBNFC_PRBS_TEST DEVMGMT_PRBS_TEST
76 * \ingroup grp_lib_ioctl
77 * \brief Allows to switch UICC mode.
80 #define PHLIBNFC_SWITCH_SWP_MODE NFC_SWITCH_SWP_MODE
85 pphLibNfc_IoctlCallback_t CliRspCb;
86 phHal_sHwReference_t *psHwReference;
87 phNfc_sData_t* pOutParam;
89 }phLibNfc_Ioctl_Cntx_t;
91 #endif /* PHLIBNFCIOCTL_H */