1 /****************************************************************************** 2 * 3 * Copyright 2018-2020 NXP 4 * 5 * Licensed under the Apache License, Version 2.0 (the "License"); 6 * you may not use this file except in compliance with the License. 7 * You may obtain a copy of the License at 8 * 9 * http://www.apache.org/licenses/LICENSE-2.0 10 * 11 * Unless required by applicable law or agreed to in writing, software 12 * distributed under the License is distributed on an "AS IS" BASIS, 13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 * See the License for the specific language governing permissions and 15 * limitations under the License. 16 * 17 ******************************************************************************/ 18 19 /* 20 * NXP ESE features macros definitions 21 */ 22 23 #ifndef NXP_ESE_FEATURES_H 24 #define NXP_ESE_FEATURES_H 25 26 #define ESE_DEBUG_UTILS_INCLUDED true 27 28 #define NXP_POWER_SCHEME_SUPPORT true 29 #define NXP_ESE_END_OF_SESSION true 30 31 #define NXP_ESE_WTX_RES_DELAY true 32 #define NXP_ESE_P73_ISO_RST true 33 34 typedef enum OS_VERSION { 35 OS_VERSION_DEFAULT = 0, 36 OS_VERSION_4_0 = 1, 37 OS_VERSION_5_1 = 2, 38 OS_VERSION_5_2 = 3, 39 OS_VERSION_5_2_2 = 4, 40 OS_VERSION_6_2 = 5, 41 INVALID_OS_VERSION = 0xFF, 42 } phNxpEse_OsVersion_t; 43 44 extern phNxpEse_OsVersion_t phNxpEse_getOsVersion(); 45 extern bool ese_debug_enabled; 46 #define GET_CHIP_OS_VERSION() phNxpEse_getOsVersion() 47 48 #endif /* end of #ifndef NXP_ESE_FEATURES_H */ 49