summaryrefslogtreecommitdiff
path: root/snxxx/libese-spi/common/include/phNxpEseFeatures.h
blob: af8f49109bad5725a9bded00e45e8372ea3076e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
/******************************************************************************
 *
 *  Copyright 2018-2020, 2022 NXP
 *
 *  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.
 *
 ******************************************************************************/

/*
 * NXP ESE features macros definitions
 */

#ifndef NXP_ESE_FEATURES_H
#define NXP_ESE_FEATURES_H

#define ESE_DEBUG_UTILS_INCLUDED true

#define NXP_POWER_SCHEME_SUPPORT true
#define NXP_ESE_END_OF_SESSION true

#define NXP_ESE_WTX_RES_DELAY true
#define NXP_ESE_P73_ISO_RST true

typedef enum OS_VERSION {
  OS_VERSION_DEFAULT = 0,
  OS_VERSION_4_0 = 1,
  OS_VERSION_5_1 = 2,
  OS_VERSION_5_2 = 3,
  OS_VERSION_5_2_2 = 4,
  OS_VERSION_6_2 = 5,
  OS_VERSION_6_3 = 6,
  INVALID_OS_VERSION = 0xFF,
} phNxpEse_OsVersion_t;

extern phNxpEse_OsVersion_t phNxpEse_getOsVersion();

#define GET_CHIP_OS_VERSION() phNxpEse_getOsVersion()

#endif /* end of #ifndef NXP_ESE_FEATURES_H */