-/*
- * Copyright (C) 2010 NXP Semiconductors
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-/**
-* \file phNfcConfig.h
-* \brief HAL Configurations
-*
-*
-* \note This is the configuration header file of the HAL 4.0.All configurable parameters of the HAL 4.0
-* are provided in this file
-*
-* Project: NFC-FRI-1.1 / HAL4.0
-*
-* $Date: Thu Sep 9 14:56:35 2010 $
-* $Author: ing04880 $
-* $Revision: 1.39 $
-* $Aliases: $
-*
-*/
-
-
-/*@{*/
-#ifndef PHNFC_CONFIG_H
-#define PHNFC_CONFIG_H
-/*@}*/
-
-
-/**
-* \name Hal
-*
-* File: \ref phNfcConfig.h
-*
-*/
-
-/*@{*/
-#define PH_NFC_CONFIG_FILEREVISION "$Revision: 1.39 $" /**< \ingroup grp_file_attributes */
-#define PH_NFC_CONFIG_FILEALIASES "$Aliases: $" /**< \ingroup grp_file_attributes */
-/*@}*/
-
-
-/* -----------------Include files ---------------------------------------*/
-
-#ifdef NFC_CUSTOM_CONFIG_INCLUDE
-#include<nfc_custom_config.h>
-#endif
-
-/* ---------------- Macros ----------------------------------------------*/
-
-
-
-/*
- *****************************************************************
- ********************** DEFAULT MACROS **************************
- *****************************************************************
- */
-
-
-/**< External Clock Request Configuration for the NFC Device,
- 0x00U No Clock Request,
- 0x01U Clock Request through CLKREQ pin (GPIO pin 2),
- 0x02U Clock Request through NXP_EVT_CLK_REQUEST Event,
- */
-#ifndef NXP_DEFAULT_CLK_REQUEST
-#define NXP_DEFAULT_CLK_REQUEST 0x00U
-#endif
-
-/**< External Input Clock Setting for the NFC Device,
- 0x00U No Input Clock Required (Use the Xtal),
- 0x01U 13 MHZ,
- 0x02U 19.2 MHZ,
- 0x03U 26 MHZ,
- 0x04U 38.4 MHZ,
- 0x05U Custom (Set the Custome Clock Registry),
- */
-
-#ifndef NXP_DEFAULT_INPUT_CLK
-#define NXP_DEFAULT_INPUT_CLK 0x00U
-#endif
-
-/**< UICC Power Request configuration for the NFC Device,
- 0x00U No Power Request,
- 0x01U Power Request through CLKREQ pin (GPIO pin 2),
- 0x02U Power Request through PWR_REQUEST (GPIO Pin 3),
- */
-
-#ifndef NXP_UICC_PWR_REQUEST
-#define NXP_UICC_PWR_REQUEST 0x00U
-#endif
-
-/**< TX LDO Configuration
- 0x00 00b 3.0 V,
- 0x01 01b 3.0 V,
- 0x02 10b 2.7 V,
- 0x03 11b 3.3 V,
- */
-
-#ifndef NXP_DEFAULT_TX_LDO
-#define NXP_DEFAULT_TX_LDO 0x00U
-#endif
-
-/**< UICC Bit Rate Configuration
- 0x02 212Kbits/Sec
- 0x04 424Kbits/Sec
- 0x08 828Kbits/Sec
- */
-
-#ifndef NXP_UICC_BIT_RATE
-#define NXP_UICC_BIT_RATE 0x08U
-#endif
-
-
-/**< Indicates PN544 Power Modes Configuration for the NFC Device,
+/*\r
+ * Copyright (C) 2010 NXP Semiconductors\r
+ *\r
+ * Licensed under the Apache License, Version 2.0 (the "License");\r
+ * you may not use this file except in compliance with the License.\r
+ * You may obtain a copy of the License at\r
+ *\r
+ * http://www.apache.org/licenses/LICENSE-2.0\r
+ *\r
+ * Unless required by applicable law or agreed to in writing, software\r
+ * distributed under the License is distributed on an "AS IS" BASIS,\r
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+ * See the License for the specific language governing permissions and\r
+ * limitations under the License.\r
+ */\r
+\r
+\r
+/**\r
+* \file phNfcConfig.h\r
+* \brief HAL Configurations\r
+*\r
+*\r
+* \note This is the configuration header file of the HAL 4.0.All configurable parameters of the HAL 4.0\r
+* are provided in this file\r
+*\r
+* Project: NFC-FRI-1.1 / HAL4.0\r
+*\r
+* $Date: Thu Sep 9 14:56:35 2010 $\r
+* $Author: ing04880 $\r
+* $Revision: 1.39 $\r
+* $Aliases: $\r
+*\r
+*/\r
+\r
+\r
+/*@{*/\r
+#ifndef PHNFC_CONFIG_H\r
+#define PHNFC_CONFIG_H\r
+/*@}*/\r
+\r
+\r
+/**\r
+* \name Hal\r
+*\r
+* File: \ref phNfcConfig.h\r
+*\r
+*/\r
+\r
+/*@{*/\r
+#define PH_NFC_CONFIG_FILEREVISION "$Revision: 1.39 $" /**< \ingroup grp_file_attributes */\r
+#define PH_NFC_CONFIG_FILEALIASES "$Aliases: $" /**< \ingroup grp_file_attributes */\r
+/*@}*/\r
+\r
+\r
+/* -----------------Include files ---------------------------------------*/\r
+\r
+#ifdef NFC_CUSTOM_CONFIG_INCLUDE\r
+#include<nfc_custom_config.h>\r
+#endif\r
+\r
+/* ---------------- Macros ----------------------------------------------*/\r
+\r
+\r
+\r
+/*\r
+ *****************************************************************\r
+ ********************** DEFAULT MACROS **************************\r
+ *****************************************************************\r
+ */\r
+\r
+\r
+/**< External Clock Request Configuration for the NFC Device,\r
+ 0x00U No Clock Request,\r
+ 0x01U Clock Request through CLKREQ pin (GPIO pin 2),\r
+ 0x02U Clock Request through NXP_EVT_CLK_REQUEST Event,\r
+ */\r
+#ifndef NXP_DEFAULT_CLK_REQUEST\r
+#define NXP_DEFAULT_CLK_REQUEST 0x00U\r
+#endif\r
+\r
+/**< External Input Clock Setting for the NFC Device,\r
+ 0x00U No Input Clock Required (Use the Xtal),\r
+ 0x01U 13 MHZ,\r
+ 0x02U 19.2 MHZ,\r
+ 0x03U 26 MHZ,\r
+ 0x04U 38.4 MHZ,\r
+ 0x05U Custom (Set the Custome Clock Registry),\r
+ */\r
+\r
+#ifndef NXP_DEFAULT_INPUT_CLK\r
+#define NXP_DEFAULT_INPUT_CLK 0x00U\r
+#endif\r
+\r
+/**< UICC Power Request configuration for the NFC Device,\r
+ 0x00U No Power Request,\r
+ 0x01U Power Request through CLKREQ pin (GPIO pin 2),\r
+ 0x02U Power Request through PWR_REQUEST (GPIO Pin 3),\r
+ */\r
+\r
+#ifndef NXP_UICC_PWR_REQUEST\r
+#define NXP_UICC_PWR_REQUEST 0x00U\r
+#endif\r
+\r
+/**< TX LDO Configuration\r
+ 0x00 00b 3.0 V,\r
+ 0x01 01b 3.0 V,\r
+ 0x02 10b 2.7 V,\r
+ 0x03 11b 3.3 V,\r
+ */\r
+\r
+#ifndef NXP_DEFAULT_TX_LDO\r
+#define NXP_DEFAULT_TX_LDO 0x00U\r
+#endif\r
+\r
+/**< UICC Bit Rate Configuration\r
+ 0x02 212Kbits/Sec\r
+ 0x04 424Kbits/Sec\r
+ 0x08 828Kbits/Sec\r
+ */\r
+\r
+#ifndef NXP_UICC_BIT_RATE\r
+#define NXP_UICC_BIT_RATE 0x08U\r
+#endif\r
+\r
+\r
+/**< Indicates PN544 Power Modes Configuration for the NFC Device,\r
0x00U -> PN544 stays in active bat mode \r
- (except when generating RF field)
+ (except when generating RF field)\r
0x01U -> PN544 goes in standby when possible otherwise \r
- stays in active bat mode
+ stays in active bat mode\r
0x02U -> PN544 goes in idle mode as soon as it can \r
- (otherwise it is in active bat except when generating RF field)
+ (otherwise it is in active bat except when generating RF field)\r
0x03U -> PN544 goes in standby when possible otherwise goes in idle mode \r
as soon as it can (otherwise it is in active bat except when \r
- generating RF field)
- */
-
-#ifndef NXP_SYSTEM_PWR_STATUS
-#define NXP_SYSTEM_PWR_STATUS 0x01U
-#endif
-
-/**< Default Session ID for Initialisation */
-#ifndef DEFAULT_SESSION
+ generating RF field)\r
+ */\r
+\r
+#ifndef NXP_SYSTEM_PWR_STATUS\r
+#define NXP_SYSTEM_PWR_STATUS 0x01U\r
+#endif\r
+\r
+/**< Default Session ID for Initialisation */\r
+#ifndef DEFAULT_SESSION\r
#define DEFAULT_SESSION "android8"\r
-#endif
-
-
-/* The Other Integration Configuration Values */
-
-/**< Max number of remote devices supported */
-
-#ifndef MAX_REMOTE_DEVICES
+#endif\r
+\r
+\r
+/* The Other Integration Configuration Values */\r
+\r
+/**< Max number of remote devices supported */\r
+\r
+#ifndef MAX_REMOTE_DEVICES\r
#define MAX_REMOTE_DEVICES 0x0A \r
-#endif
-
-/**< System Event Notification
- 0x01 Overcurrent
- 0x02 PMUVCC Switch
- 0x04 External RF Field
- 0x08 Memory Violation
- 0x10 Temperature Overheat
- */
-
-#ifndef NXP_SYSTEM_EVT_INFO
-#define NXP_SYSTEM_EVT_INFO 0x3DU
-#endif
-
-
-#ifndef NFC_DEV_HWCONF_DEFAULT
-#define NFC_DEV_HWCONF_DEFAULT 0xBCU
-#endif
-
-
-#ifndef NXP_ISO_XCHG_TIMEOUT
-#define NXP_ISO_XCHG_TIMEOUT 0x1AU
-#endif
-
-#ifndef NXP_MIFARE_XCHG_TIMEOUT
+#endif\r
+\r
+/**< System Event Notification\r
+ 0x01 Overcurrent\r
+ 0x02 PMUVCC Switch\r
+ 0x04 External RF Field\r
+ 0x08 Memory Violation\r
+ 0x10 Temperature Overheat\r
+ */\r
+\r
+#ifndef NXP_SYSTEM_EVT_INFO\r
+#define NXP_SYSTEM_EVT_INFO 0x3DU\r
+#endif\r
+\r
+\r
+#ifndef NFC_DEV_HWCONF_DEFAULT\r
+#define NFC_DEV_HWCONF_DEFAULT 0xBCU\r
+#endif\r
+\r
+\r
+#ifndef NXP_ISO_XCHG_TIMEOUT\r
+#define NXP_ISO_XCHG_TIMEOUT 0x1AU\r
+#endif\r
+\r
+#ifndef NXP_MIFARE_XCHG_TIMEOUT\r
#define NXP_MIFARE_XCHG_TIMEOUT 0x0BU\r
-#endif
-
-#ifndef NXP_FELICA_XCHG_TIMEOUT
-#define NXP_FELICA_XCHG_TIMEOUT 0xFFU
-#endif
-
-
-#ifndef NXP_NFCIP_PSL_BRS_DEFAULT
-#define NXP_NFCIP_PSL_BRS_DEFAULT 0x00U
-#endif
-
-
-
-/**< ID For Invalid Timer */
-#ifndef NXP_INVALID_TIMER_ID
-#define NXP_INVALID_TIMER_ID 0xFFFFFFFFU
-#endif
-
-/**< Presence check interval in milliseconds */
-#ifndef PRESENCE_CHECK_INTERVAL
-#define PRESENCE_CHECK_INTERVAL 500U
+#endif\r
+\r
+#ifndef NXP_FELICA_XCHG_TIMEOUT\r
+#define NXP_FELICA_XCHG_TIMEOUT 0xFFU\r
+#endif\r
+\r
+\r
+#ifndef NXP_NFCIP_PSL_BRS_DEFAULT\r
+#define NXP_NFCIP_PSL_BRS_DEFAULT 0x00U\r
+#endif\r
+\r
+\r
+\r
+/**< ID For Invalid Timer */\r
+#ifndef NXP_INVALID_TIMER_ID\r
+#define NXP_INVALID_TIMER_ID 0xFFFFFFFFU\r
+#endif\r
+\r
+/**< Presence check interval in milliseconds */\r
+#ifndef PRESENCE_CHECK_INTERVAL\r
+#define PRESENCE_CHECK_INTERVAL 500U\r
#endif \r
-
+\r
/** Resolution value for the timer, here the \r
- timer resolution is 500 milliseconds */
-#ifndef TIMER_RESOLUTION
-#define TIMER_RESOLUTION 500U
+ timer resolution is 500 milliseconds */\r
+#ifndef TIMER_RESOLUTION\r
+#define TIMER_RESOLUTION 500U\r
#endif \r
-
-/* Kindly note that the below Timeout values should be
- * in Multiples of the value provided to TIMER_RESOLUTION
- */
-
+\r
+/* Kindly note that the below Timeout values should be\r
+ * in Multiples of the value provided to TIMER_RESOLUTION\r
+ */\r
+\r
/**< Defines guard time out value for LLC timer, \r
- 1000 is in milliseconds */
-#ifndef LINK_GUARD_TIMEOUT
-#define LINK_GUARD_TIMEOUT 1000U
+ 1000 is in milliseconds */\r
+#ifndef LINK_GUARD_TIMEOUT\r
+#define LINK_GUARD_TIMEOUT 1000U\r
#endif \r
-
-
+\r
+\r
/**< Defines connection time out value for LLC timer, \r
- 1000 is in milliseconds */
-#ifndef LINK_CONNECTION_TIMEOUT
-#define LINK_CONNECTION_TIMEOUT 1000U
+ 1000 is in milliseconds */\r
+#ifndef LINK_CONNECTION_TIMEOUT\r
+#define LINK_CONNECTION_TIMEOUT 1000U\r
#endif \r
\r
/**< Defines ACK time out value for LLC timer,\r
150 is in milliseconds */\r
#ifndef LINK_ACK_TIMEOUT\r
#define LINK_ACK_TIMEOUT 1U\r
-#endif
-
-
-/**< Defines Firmware Download Completion Timeout value ,
- 120000 is in milliseconds */
-
-
-#ifndef NXP_DNLD_COMPLETE_TIMEOUT
+#endif\r
+\r
+\r
+/**< Defines Firmware Download Completion Timeout value ,\r
+ 120000 is in milliseconds */\r
+\r
+\r
+#ifndef NXP_DNLD_COMPLETE_TIMEOUT\r
#define NXP_DNLD_COMPLETE_TIMEOUT 60000U\r
-#endif
-
-
+#endif\r
+\r
+\r
/**< Define to configure the Active Mode Polling Guard Time-out \r
- */
-
-#ifndef DEV_MGMT_ACT_GRD_TO_DEFAULT
-#define DEV_MGMT_ACT_GRD_TO_DEFAULT 0x20U
-#endif
-
-/**< NFCIP Active Mode Default Configuration (when acting as Target)
- 0x01 106 kbps
- 0x02 212 kbps
- 0x04 424 kbps
- */
-
-#ifndef NXP_NFCIP_ACTIVE_DEFAULT
-#define NXP_NFCIP_ACTIVE_DEFAULT 0x01U
-#endif
-
-
-
-
-#ifndef NXP_NFC_HCI_TIMER
-#define NXP_NFC_HCI_TIMER 1
-#define NXP_NFC_HCI_TIMEOUT 6000
-#endif
-
-
-/*
- *****************************************************************
- DO NOT MODIFY THE BELOW MACROS UNLESS OTHERWISE MENTIONED
- *****************************************************************
- */
-
-
-
-#ifndef HOST_CE_A_SAK_DEFAULT
-#define HOST_CE_A_SAK_DEFAULT 0x20U
+ */\r
+\r
+#ifndef DEV_MGMT_ACT_GRD_TO_DEFAULT\r
+#define DEV_MGMT_ACT_GRD_TO_DEFAULT 0x20U\r
+#endif\r
+\r
+/**< NFCIP Active Mode Default Configuration (when acting as Target)\r
+ 0x01 106 kbps\r
+ 0x02 212 kbps\r
+ 0x04 424 kbps\r
+ */\r
+\r
+#ifndef NXP_NFCIP_ACTIVE_DEFAULT\r
+#define NXP_NFCIP_ACTIVE_DEFAULT 0x01U\r
+#endif\r
+\r
+\r
+\r
+\r
+#ifndef NXP_NFC_HCI_TIMER\r
+#define NXP_NFC_HCI_TIMER 1\r
+#define NXP_NFC_HCI_TIMEOUT 6000\r
+#endif\r
+\r
+\r
+/*\r
+ *****************************************************************\r
+ DO NOT MODIFY THE BELOW MACROS UNLESS OTHERWISE MENTIONED\r
+ *****************************************************************\r
+ */\r
+\r
+\r
+\r
+#ifndef HOST_CE_A_SAK_DEFAULT\r
+#define HOST_CE_A_SAK_DEFAULT 0x20U\r
#endif \r
-
-#ifndef NXP_CE_A_ATQA_HIGH
-#define NXP_CE_A_ATQA_HIGH 0x00U
-#endif
-
-#ifndef NXP_CE_A_ATQA_LOW
-#define NXP_CE_A_ATQA_LOW 0x04U
-#endif
-
-
-#ifndef NXP_UICC_CE_RIGHTS
-#define NXP_UICC_CE_RIGHTS 0x0FU
+\r
+#ifndef NXP_CE_A_ATQA_HIGH\r
+#define NXP_CE_A_ATQA_HIGH 0x00U\r
+#endif\r
+\r
+#ifndef NXP_CE_A_ATQA_LOW\r
+#define NXP_CE_A_ATQA_LOW 0x04U\r
+#endif\r
+\r
+\r
+#ifndef NXP_UICC_CE_RIGHTS\r
+#define NXP_UICC_CE_RIGHTS 0x0FU\r
#endif \r
-
-#ifndef NXP_UICC_RD_RIGHTS
-#define NXP_UICC_RD_RIGHTS 0x00U
+\r
+#ifndef NXP_UICC_RD_RIGHTS\r
+#define NXP_UICC_RD_RIGHTS 0x00U\r
#endif \r
-
-
-/*
- *****************************************************************
- DO NOT DISABLE/ENABLE BELOW MACROS UNLESS OTHERWISE MENTIONED
- *****************************************************************
- */
-
-#define ES_HW_VER 32
+\r
+\r
+/*\r
+ *****************************************************************\r
+ DO NOT DISABLE/ENABLE BELOW MACROS UNLESS OTHERWISE MENTIONED\r
+ *****************************************************************\r
+ */\r
+\r
+#define ES_HW_VER 32\r
\r
-/*
- *****************************************************************
- *************** FEATURE SPECIFIC MACROS *************************
- *****************************************************************
- */
-
-
-
-/**< Macro to Enable SMX Feature During
- * Initialisation */
-
-#if !defined(NXP_SMX)
+/*\r
+ *****************************************************************\r
+ *************** FEATURE SPECIFIC MACROS *************************\r
+ *****************************************************************\r
+ */\r
+\r
+\r
+\r
+/**< Macro to Enable SMX Feature During\r
+ * Initialisation */\r
+\r
+#if !defined(NXP_SMX)\r
#define NXP_SMX 1\r
-#endif
-
-#if (NXP_SMX == 1)
+#endif\r
+\r
+#if (NXP_SMX == 1)\r
#define NXP_HAL_ENABLE_SMX \r
-#endif
-
-/**< Macro to Enable the Host Session
- * Initialisation */
-#define ESTABLISH_SESSION
-
-/**< Macro to Enable the Peer to Peer Feature */
-#define ENABLE_P2P
-
+#endif\r
+\r
+/**< Macro to Enable the Host Session\r
+ * Initialisation */\r
+#define ESTABLISH_SESSION\r
+\r
+/**< Macro to Enable the Peer to Peer Feature */\r
+#define ENABLE_P2P\r
+\r
#define DEFAULT_NFCIP_INITIATOR_MODE_SUPPORT 0x3FU\r
#define DEFAULT_NFCIP_TARGET_MODE_SUPPORT 0x0FU\r
-
-/**< Macro to Enable the ISO14443-B Feature */
-#define TYPE_B
-
-/**< Macro to Enable the Felica Feature */
-#define TYPE_FELICA
-
-/**< Macro to Enable the JEWEL Feature */
-#define TYPE_JEWEL
-
-/**< Macro to Enable the ISO15693 Feature */
-#define TYPE_ISO15693
-
-/*< Macro to Verify the Poll Parameters Set */
-/* #define ENABLE_VERIFY_PARAM */
-
-/**< Macro to Enable ISO 18092 Protocol compliancy
- * SAK to be merged with the TYPE A Card RF Feature :3.1*/
-#define TGT_MERGE_SAK
-
-
-/**< Macro to Configure the default power status
- * to allow the PN544 to enter into the Standby */
-#define CFG_PWR_STATUS
-
-
-/**< Macro to Enable the SWP Protocol
- * to detect UICC During Initialisation */
-#define ENABLE_UICC
-
-/**< Macro to Enable the RAW Mode of Transaction
- * for the ISO-14443-3A Compliant Targets */
-#define ENABLE_MIFARE_RAW
-
-/**< Macro to Enable the HOST List
- * to allow the UICC Communication */
-#define HOST_WHITELIST
-
-/**< Support reconnecting to a different handle on the same tag */
-#define RECONNECT_SUPPORT
-
-/**< Macro to Enable the Card Emulation Feature */
-/* #define HOST_EMULATION */
-
-#define NXP_HAL_VERIFY_EEPROM_CRC 0x01U
-
-/**< Macro to Enable the Download Mode Feature */
-#define FW_DOWNLOAD
-
-/**< Macro to Enable the Firmware Download Timer */
-/* 0x01U to use overall timeout */
-/* 0x02U to use per frame timeout */
-#define FW_DOWNLOAD_TIMER 0x02U
-
-/**< Macro to Verify the Firmware Download */
-/* #define FW_DOWNLOAD_VERIFY */
-
-#ifndef FW_DOWNLOAD_VERIFY
-#define NXP_FW_INTEGRITY_CHK 1
-#endif
-
-/* To specify the Maximum TX/RX Len */
-#define NXP_FW_MAX_TX_RX_LEN 0x200
-
-#define UICC_CONNECTIVITY_PATCH
-
-/* Work around to Delay the initiator activation */
-/* #define NXP_NFCIP_ACTIVATE_DELAY */
-
-/* Work around to Release the Discovered Target */
-#define SW_RELEASE_TARGET
-
-/* Macro to Allow the HCI Release in any state */
-#define NXP_HCI_SHUTDOWN_OVERRIDE
-
-
-/* Macro to Enable The P2P Transaction Timers */
-#define P2P_TGT_TRANSACT_TIMER
-
-#if (ES_HW_VER == 32)
-/* Macro to Configure the Target Disable Register */
-#define NFCIP_TGT_DISABLE_CFG
-
-#endif
-
-/*< Macro to Disable the Felica Mapping */
-/* #define DISABLE_FELICA_MAPPING */
-
-/*< Macro to Disable the Felica Mapping */
-/* #define DISABLE_JEWEL_MAPPING */
-
-/**< Macro to enable LLC timer */
-#define LLC_TIMER_ENABLE
-
-/**< Macro to enable HCI Response timer */
+\r
+/**< Macro to Enable the ISO14443-B Feature */\r
+#define TYPE_B\r
+\r
+/**< Macro to Enable the Felica Feature */\r
+#define TYPE_FELICA\r
+\r
+/**< Macro to Enable the JEWEL Feature */\r
+#define TYPE_JEWEL\r
+\r
+/**< Macro to Enable the ISO15693 Feature */\r
+#define TYPE_ISO15693\r
+\r
+/*< Macro to Verify the Poll Parameters Set */\r
+/* #define ENABLE_VERIFY_PARAM */\r
+\r
+/**< Macro to Enable ISO 18092 Protocol compliancy\r
+ * SAK to be merged with the TYPE A Card RF Feature :3.1*/\r
+#define TGT_MERGE_SAK\r
+\r
+\r
+/**< Macro to Configure the default power status\r
+ * to allow the PN544 to enter into the Standby */\r
+#define CFG_PWR_STATUS\r
+\r
+\r
+/**< Macro to Enable the SWP Protocol\r
+ * to detect UICC During Initialisation */\r
+#define ENABLE_UICC\r
+\r
+/**< Macro to Enable the RAW Mode of Transaction\r
+ * for the ISO-14443-3A Compliant Targets */\r
+#define ENABLE_MIFARE_RAW\r
+\r
+/**< Macro to Enable the HOST List\r
+ * to allow the UICC Communication */\r
+#define HOST_WHITELIST\r
+\r
+/**< Support reconnecting to a different handle on the same tag */\r
+#define RECONNECT_SUPPORT\r
+\r
+/**< Macro to Enable the Card Emulation Feature */\r
+/* #define HOST_EMULATION */\r
+\r
+#define NXP_HAL_VERIFY_EEPROM_CRC 0x01U\r
+\r
+/**< Macro to Enable the Download Mode Feature */\r
+#define FW_DOWNLOAD\r
+\r
+/**< Macro to Enable the Firmware Download Timer */\r
+/* 0x01U to use overall timeout */\r
+/* 0x02U to use per frame timeout */\r
+#define FW_DOWNLOAD_TIMER 0x02U\r
+\r
+/**< Macro to Verify the Firmware Download */\r
+/* #define FW_DOWNLOAD_VERIFY */\r
+\r
+#ifndef FW_DOWNLOAD_VERIFY\r
+#define NXP_FW_INTEGRITY_CHK 1\r
+#endif\r
+\r
+/* To specify the Maximum TX/RX Len */\r
+#define NXP_FW_MAX_TX_RX_LEN 0x200\r
+\r
+#define UICC_CONNECTIVITY_PATCH\r
+\r
+/* Work around to Delay the initiator activation */\r
+/* #define NXP_NFCIP_ACTIVATE_DELAY */\r
+\r
+/* Work around to Release the Discovered Target */\r
+#define SW_RELEASE_TARGET\r
+\r
+/* Macro to Allow the HCI Release in any state */\r
+#define NXP_HCI_SHUTDOWN_OVERRIDE\r
+\r
+\r
+/* Macro to Enable The P2P Transaction Timers */\r
+#define P2P_TGT_TRANSACT_TIMER\r
+\r
+#if (ES_HW_VER == 32)\r
+/* Macro to Configure the Target Disable Register */\r
+#define NFCIP_TGT_DISABLE_CFG\r
+\r
+#endif\r
+\r
+/*< Macro to Disable the Felica Mapping */\r
+/* #define DISABLE_FELICA_MAPPING */\r
+\r
+/*< Macro to Disable the Felica Mapping */\r
+/* #define DISABLE_JEWEL_MAPPING */\r
+\r
+/**< Macro to enable LLC timer */\r
+#define LLC_TIMER_ENABLE\r
+\r
+/**< Macro to enable HCI Response timer */\r
#define NXP_NFC_HCI_TIMER 1\r
-
-/* A Workaround to Delay and obtain the UICC Status Information */
-/* #define UICC_STATUS_DELAY */
-
-#ifdef UICC_STATUS_DELAY
-#define UICC_STATUS_DELAY_COUNT 0x00100000
-#endif
-
-/**< Macro to delay the LLC RESET response callback,
- Value is in milli-seconds */
-#define LLC_RESET_DELAY 10
-
-/* Macro to Enable the workaround for Tuning of
- * RF for TYPE B and F
- */
-/* #define SW_TYPE_RF_TUNING_BF */
-
-/* Workaround to update the Active Guard Timeout */
-/* #define MAX_ACTIVATE_TIMEOUT */
-
-/* #define ONE_BYTE_LEN */
-
-#define NFC_RF_NOISE_SW
-
-/**< Define to configure the PMOS Modulation Index value
- */
-
-#ifndef NFC_DEV_PMOS_MOD_DEFAULT
-/* 0x3F -> 6%, 0x3A -> 10%, 0x3C -> 10%, 0x35 -> 15.8%, 0x28 -> 25.8% */
-#define NFC_DEV_PMOS_MOD_DEFAULT 0x3CU
-#endif
-
-
-#ifndef SW_TYPE_RF_TUNING_BF
-#define SW_TYPE_RF_TUNING_BF 0x80U
-#endif
-
-
-/* Reset the Default values of Host Link Timers */
-/* Macro to Enable the Host Side Link Timeout Configuration
- * 0x00 ----> Default Pre-defined Configuration;
- * 0x01 ----> Update only the Host Link Guard Timeout Configuration;
- * 0x03 ----> Update Both the Host Link Guard Timeout
- and ACK Timeout Configuration;
- */
-
-#ifndef HOST_LINK_TIMEOUT
-#define HOST_LINK_TIMEOUT 0x00U
-#endif
-
-
-#ifndef NXP_NFC_LINK_GRD_CFG_DEFAULT
-#define NXP_NFC_LINK_GRD_CFG_DEFAULT 0x0032U
-#endif
-
-#ifndef NXP_NFC_LINK_ACK_CFG_DEFAULT
-#define NXP_NFC_LINK_ACK_CFG_DEFAULT 0x0005U
-#endif
-
-/* Macro to Enable the Interface Character Timeout Configuration
- * 0x00 ----> Default Pre-defined Configuration;
- * 0x01 ----> Update the IFC Timeout Default Configuration;
- */
-
-#ifndef NXP_NFC_IFC_TIMEOUT
-#define NXP_NFC_IFC_TIMEOUT 0x00
-#endif
-
-
-#ifndef NXP_NFC_IFC_CONFIG_DEFAULT
-#define NXP_NFC_IFC_CONFIG_DEFAULT 0x203AU
-#endif
-
-#ifndef NFC_ISO_15693_MULTIPLE_TAGS_SUPPORT
-#define NFC_ISO_15693_MULTIPLE_TAGS_SUPPORT 0x00
-#endif
-
-/*
- *****************************************************************
- *********** MACROS ENABLE EEPROM REGISTER WRITE ****************
- *****************************************************************
- */
-
-
-/* Enable this to Disable the WI Notification */
-/* #define DISABLE_WI_NOTIFICATION */
-
-/* Macro to Enable the Configuration of Initiator
- * speed during Discovery configuration
- */
-#define INITIATOR_SPEED
-
-
-/**/
-/* #define UICC_SESSION_RESET */
-
-/* Macro to Enable the Configuration of UICC
- * Timer and Bitrate during Initialisation
- */
-
-
-
-
-/* -----------------Structures and Enumerations -------------------------*/
-
-
-
-
-/* -----------------Exported Functions----------------------------------*/
-
-
-#endif /*PHNFC_CONFIG_H*/
-
+\r
+/* A Workaround to Delay and obtain the UICC Status Information */\r
+/* #define UICC_STATUS_DELAY */\r
+\r
+#ifdef UICC_STATUS_DELAY\r
+#define UICC_STATUS_DELAY_COUNT 0x00100000\r
+#endif\r
+\r
+/**< Macro to delay the LLC RESET response callback,\r
+ Value is in milli-seconds */\r
+#define LLC_RESET_DELAY 10\r
+\r
+/* Macro to Enable the workaround for Tuning of\r
+ * RF for TYPE B and F\r
+ */\r
+/* #define SW_TYPE_RF_TUNING_BF */\r
+\r
+/* Workaround to update the Active Guard Timeout */\r
+/* #define MAX_ACTIVATE_TIMEOUT */\r
+\r
+/* #define ONE_BYTE_LEN */\r
+\r
+#define NFC_RF_NOISE_SW\r
+\r
+/**< Define to configure the PMOS Modulation Index value\r
+ */\r
+\r
+#ifndef NFC_DEV_PMOS_MOD_DEFAULT\r
+/* 0x3F -> 6%, 0x3A -> 10%, 0x3C -> 10%, 0x35 -> 15.8%, 0x28 -> 25.8% */\r
+#define NFC_DEV_PMOS_MOD_DEFAULT 0x3CU\r
+#endif\r
+\r
+\r
+#ifndef SW_TYPE_RF_TUNING_BF\r
+#define SW_TYPE_RF_TUNING_BF 0x80U\r
+#endif\r
+\r
+\r
+/* Reset the Default values of Host Link Timers */\r
+/* Macro to Enable the Host Side Link Timeout Configuration\r
+ * 0x00 ----> Default Pre-defined Configuration;\r
+ * 0x01 ----> Update only the Host Link Guard Timeout Configuration;\r
+ * 0x03 ----> Update Both the Host Link Guard Timeout\r
+ and ACK Timeout Configuration;\r
+ */\r
+\r
+#ifndef HOST_LINK_TIMEOUT\r
+#define HOST_LINK_TIMEOUT 0x00U\r
+#endif\r
+\r
+\r
+#ifndef NXP_NFC_LINK_GRD_CFG_DEFAULT\r
+#define NXP_NFC_LINK_GRD_CFG_DEFAULT 0x0032U\r
+#endif\r
+\r
+#ifndef NXP_NFC_LINK_ACK_CFG_DEFAULT\r
+#define NXP_NFC_LINK_ACK_CFG_DEFAULT 0x0005U\r
+#endif\r
+\r
+/* Macro to Enable the Interface Character Timeout Configuration\r
+ * 0x00 ----> Default Pre-defined Configuration;\r
+ * 0x01 ----> Update the IFC Timeout Default Configuration;\r
+ */\r
+\r
+#ifndef NXP_NFC_IFC_TIMEOUT\r
+#define NXP_NFC_IFC_TIMEOUT 0x00\r
+#endif\r
+\r
+\r
+#ifndef NXP_NFC_IFC_CONFIG_DEFAULT\r
+#define NXP_NFC_IFC_CONFIG_DEFAULT 0x203AU\r
+#endif\r
+\r
+#ifndef NFC_ISO_15693_MULTIPLE_TAGS_SUPPORT\r
+#define NFC_ISO_15693_MULTIPLE_TAGS_SUPPORT 0x00\r
+#endif\r
+\r
+/*\r
+ *****************************************************************\r
+ *********** MACROS ENABLE EEPROM REGISTER WRITE ****************\r
+ *****************************************************************\r
+ */\r
+\r
+\r
+/* Enable this to Disable the WI Notification */\r
+/* #define DISABLE_WI_NOTIFICATION */\r
+\r
+/* Macro to Enable the Configuration of Initiator\r
+ * speed during Discovery configuration\r
+ */\r
+#define INITIATOR_SPEED\r
+\r
+\r
+/**/\r
+/* #define UICC_SESSION_RESET */\r
+\r
+/* Macro to Enable the Configuration of UICC\r
+ * Timer and Bitrate during Initialisation\r
+ */\r
+\r
+\r
+\r
+\r
+/* -----------------Structures and Enumerations -------------------------*/\r
+\r
+\r
+\r
+\r
+/* -----------------Exported Functions----------------------------------*/\r
+\r
+\r
+#endif /*PHNFC_CONFIG_H*/\r
+\r