Fork of the GitHub
rfal_features.h@0:75fc82583a41, 2019-11-14 (annotated)
- Committer:
- DiegoOstuni
- Date:
- Thu Nov 14 14:34:50 2019 +0000
- Revision:
- 0:75fc82583a41
Add files
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
DiegoOstuni | 0:75fc82583a41 | 1 | |
DiegoOstuni | 0:75fc82583a41 | 2 | /****************************************************************************** |
DiegoOstuni | 0:75fc82583a41 | 3 | * @attention |
DiegoOstuni | 0:75fc82583a41 | 4 | * |
DiegoOstuni | 0:75fc82583a41 | 5 | * <h2><center>© COPYRIGHT 2016 STMicroelectronics</center></h2> |
DiegoOstuni | 0:75fc82583a41 | 6 | * |
DiegoOstuni | 0:75fc82583a41 | 7 | * Licensed under ST MYLIBERTY SOFTWARE LICENSE AGREEMENT (the "License"); |
DiegoOstuni | 0:75fc82583a41 | 8 | * You may not use this file except in compliance with the License. |
DiegoOstuni | 0:75fc82583a41 | 9 | * You may obtain a copy of the License at: |
DiegoOstuni | 0:75fc82583a41 | 10 | * |
DiegoOstuni | 0:75fc82583a41 | 11 | * http://www.st.com/myliberty |
DiegoOstuni | 0:75fc82583a41 | 12 | * |
DiegoOstuni | 0:75fc82583a41 | 13 | * Unless required by applicable law or agreed to in writing, software |
DiegoOstuni | 0:75fc82583a41 | 14 | * distributed under the License is distributed on an "AS IS" BASIS, |
DiegoOstuni | 0:75fc82583a41 | 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, |
DiegoOstuni | 0:75fc82583a41 | 16 | * AND SPECIFICALLY DISCLAIMING THE IMPLIED WARRANTIES OF MERCHANTABILITY, |
DiegoOstuni | 0:75fc82583a41 | 17 | * FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT. |
DiegoOstuni | 0:75fc82583a41 | 18 | * See the License for the specific language governing permissions and |
DiegoOstuni | 0:75fc82583a41 | 19 | * limitations under the License. |
DiegoOstuni | 0:75fc82583a41 | 20 | * |
DiegoOstuni | 0:75fc82583a41 | 21 | ******************************************************************************/ |
DiegoOstuni | 0:75fc82583a41 | 22 | |
DiegoOstuni | 0:75fc82583a41 | 23 | |
DiegoOstuni | 0:75fc82583a41 | 24 | /* |
DiegoOstuni | 0:75fc82583a41 | 25 | * PROJECT: ST25R391x firmware |
DiegoOstuni | 0:75fc82583a41 | 26 | * $Revision: $ |
DiegoOstuni | 0:75fc82583a41 | 27 | * LANGUAGE: ISO C99 |
DiegoOstuni | 0:75fc82583a41 | 28 | */ |
DiegoOstuni | 0:75fc82583a41 | 29 | |
DiegoOstuni | 0:75fc82583a41 | 30 | /*! \file |
DiegoOstuni | 0:75fc82583a41 | 31 | * |
DiegoOstuni | 0:75fc82583a41 | 32 | * \author Gustavo Patricio |
DiegoOstuni | 0:75fc82583a41 | 33 | * |
DiegoOstuni | 0:75fc82583a41 | 34 | * \brief RFAL Features/Capabilities Definition for ST25R3911 |
DiegoOstuni | 0:75fc82583a41 | 35 | */ |
DiegoOstuni | 0:75fc82583a41 | 36 | |
DiegoOstuni | 0:75fc82583a41 | 37 | |
DiegoOstuni | 0:75fc82583a41 | 38 | #ifndef RFAL_FEATURES_H |
DiegoOstuni | 0:75fc82583a41 | 39 | #define RFAL_FEATURES_H |
DiegoOstuni | 0:75fc82583a41 | 40 | |
DiegoOstuni | 0:75fc82583a41 | 41 | /* |
DiegoOstuni | 0:75fc82583a41 | 42 | ****************************************************************************** |
DiegoOstuni | 0:75fc82583a41 | 43 | * INCLUDES |
DiegoOstuni | 0:75fc82583a41 | 44 | ****************************************************************************** |
DiegoOstuni | 0:75fc82583a41 | 45 | */ |
DiegoOstuni | 0:75fc82583a41 | 46 | #include "platform1.h" |
DiegoOstuni | 0:75fc82583a41 | 47 | |
DiegoOstuni | 0:75fc82583a41 | 48 | /* |
DiegoOstuni | 0:75fc82583a41 | 49 | ****************************************************************************** |
DiegoOstuni | 0:75fc82583a41 | 50 | * GLOBAL DEFINES |
DiegoOstuni | 0:75fc82583a41 | 51 | ****************************************************************************** |
DiegoOstuni | 0:75fc82583a41 | 52 | */ |
DiegoOstuni | 0:75fc82583a41 | 53 | |
DiegoOstuni | 0:75fc82583a41 | 54 | #define RFAL_SUPPORT_MODE_POLL_NFCA true /*!< RFAL Poll NFCA mode support switch */ |
DiegoOstuni | 0:75fc82583a41 | 55 | #define RFAL_SUPPORT_MODE_POLL_NFCB true /*!< RFAL Poll NFCB mode support switch */ |
DiegoOstuni | 0:75fc82583a41 | 56 | #define RFAL_SUPPORT_MODE_POLL_NFCF true /*!< RFAL Poll NFCF mode support switch */ |
DiegoOstuni | 0:75fc82583a41 | 57 | #define RFAL_SUPPORT_MODE_POLL_NFCV true /*!< RFAL Poll NFCV mode support switch */ |
DiegoOstuni | 0:75fc82583a41 | 58 | #define RFAL_SUPPORT_MODE_POLL_ACTIVE_P2P true /*!< RFAL Poll AP2P mode support switch */ |
DiegoOstuni | 0:75fc82583a41 | 59 | #define RFAL_SUPPORT_MODE_LISTEN_NFCA false /*!< RFAL Listen NFCA mode support switch */ |
DiegoOstuni | 0:75fc82583a41 | 60 | #define RFAL_SUPPORT_MODE_LISTEN_NFCB false /*!< RFAL Listen NFCB mode support switch */ |
DiegoOstuni | 0:75fc82583a41 | 61 | #define RFAL_SUPPORT_MODE_LISTEN_NFCF false /*!< RFAL Listen NFCF mode support switch */ |
DiegoOstuni | 0:75fc82583a41 | 62 | #define RFAL_SUPPORT_MODE_LISTEN_ACTIVE_P2P true /*!< RFAL Listen AP2P mode support switch */ |
DiegoOstuni | 0:75fc82583a41 | 63 | |
DiegoOstuni | 0:75fc82583a41 | 64 | /*******************************************************************************/ |
DiegoOstuni | 0:75fc82583a41 | 65 | /*! RFAL supported Card Emulation (CE) */ |
DiegoOstuni | 0:75fc82583a41 | 66 | #define RFAL_SUPPORT_CE ( RFAL_SUPPORT_MODE_LISTEN_NFCA || RFAL_SUPPORT_MODE_LISTEN_NFCB || RFAL_SUPPORT_MODE_LISTEN_NFCF ) |
DiegoOstuni | 0:75fc82583a41 | 67 | |
DiegoOstuni | 0:75fc82583a41 | 68 | /*! RFAL supported Reader/Writer (RW) */ |
DiegoOstuni | 0:75fc82583a41 | 69 | #define RFAL_SUPPORT_RW ( RFAL_SUPPORT_MODE_POLL_NFCA || RFAL_SUPPORT_MODE_POLL_NFCB || RFAL_SUPPORT_MODE_POLL_NFCF || RFAL_SUPPORT_MODE_POLL_NFCV ) |
DiegoOstuni | 0:75fc82583a41 | 70 | |
DiegoOstuni | 0:75fc82583a41 | 71 | /*! RFAL support for Active P2P (AP2P) */ |
DiegoOstuni | 0:75fc82583a41 | 72 | #define RFAL_SUPPORT_AP2P ( RFAL_SUPPORT_MODE_POLL_ACTIVE_P2P || RFAL_SUPPORT_MODE_POLL_ACTIVE_P2P ) |
DiegoOstuni | 0:75fc82583a41 | 73 | |
DiegoOstuni | 0:75fc82583a41 | 74 | |
DiegoOstuni | 0:75fc82583a41 | 75 | /*******************************************************************************/ |
DiegoOstuni | 0:75fc82583a41 | 76 | #define RFAL_SUPPORT_BR_RW_106 true /*!< RFAL RW 106 Bit Rate support switch */ |
DiegoOstuni | 0:75fc82583a41 | 77 | #define RFAL_SUPPORT_BR_RW_212 true /*!< RFAL RW 212 Bit Rate support switch */ |
DiegoOstuni | 0:75fc82583a41 | 78 | #define RFAL_SUPPORT_BR_RW_424 true /*!< RFAL RW 424 Bit Rate support switch */ |
DiegoOstuni | 0:75fc82583a41 | 79 | #define RFAL_SUPPORT_BR_RW_848 true /*!< RFAL RW 848 Bit Rate support switch */ |
DiegoOstuni | 0:75fc82583a41 | 80 | #define RFAL_SUPPORT_BR_RW_1695 true /*!< RFAL RW 1695 Bit Rate support switch */ |
DiegoOstuni | 0:75fc82583a41 | 81 | #define RFAL_SUPPORT_BR_RW_3390 true /*!< RFAL RW 3390 Bit Rate support switch */ |
DiegoOstuni | 0:75fc82583a41 | 82 | #define RFAL_SUPPORT_BR_RW_6780 false /*!< RFAL RW 6780 Bit Rate support switch */ |
DiegoOstuni | 0:75fc82583a41 | 83 | |
DiegoOstuni | 0:75fc82583a41 | 84 | |
DiegoOstuni | 0:75fc82583a41 | 85 | /*******************************************************************************/ |
DiegoOstuni | 0:75fc82583a41 | 86 | #define RFAL_SUPPORT_BR_AP2P_106 true /*!< RFAL AP2P 106 Bit Rate support switch */ |
DiegoOstuni | 0:75fc82583a41 | 87 | #define RFAL_SUPPORT_BR_AP2P_212 true /*!< RFAL AP2P 212 Bit Rate support switch */ |
DiegoOstuni | 0:75fc82583a41 | 88 | #define RFAL_SUPPORT_BR_AP2P_424 true /*!< RFAL AP2P 424 Bit Rate support switch */ |
DiegoOstuni | 0:75fc82583a41 | 89 | #define RFAL_SUPPORT_BR_AP2P_848 false /*!< RFAL AP2P 848 Bit Rate support switch */ |
DiegoOstuni | 0:75fc82583a41 | 90 | #define RFAL_SUPPORT_BR_AP2P_1695 false /*!< RFAL AP2P 1695 Bit Rate support switch */ |
DiegoOstuni | 0:75fc82583a41 | 91 | #define RFAL_SUPPORT_BR_AP2P_3390 false /*!< RFAL AP2P 3390 Bit Rate support switch */ |
DiegoOstuni | 0:75fc82583a41 | 92 | #define RFAL_SUPPORT_BR_AP2P_6780 false /*!< RFAL AP2P 6780 Bit Rate support switch */ |
DiegoOstuni | 0:75fc82583a41 | 93 | |
DiegoOstuni | 0:75fc82583a41 | 94 | |
DiegoOstuni | 0:75fc82583a41 | 95 | /*******************************************************************************/ |
DiegoOstuni | 0:75fc82583a41 | 96 | #define RFAL_SUPPORT_BR_CE_A_106 false /*!< RFAL CE A 106 Bit Rate support switch */ |
DiegoOstuni | 0:75fc82583a41 | 97 | #define RFAL_SUPPORT_BR_CE_A_212 false /*!< RFAL CE A 212 Bit Rate support switch */ |
DiegoOstuni | 0:75fc82583a41 | 98 | #define RFAL_SUPPORT_BR_CE_A_424 false /*!< RFAL CE A 424 Bit Rate support switch */ |
DiegoOstuni | 0:75fc82583a41 | 99 | #define RFAL_SUPPORT_BR_CE_A_848 false /*!< RFAL CE A 848 Bit Rate support switch */ |
DiegoOstuni | 0:75fc82583a41 | 100 | |
DiegoOstuni | 0:75fc82583a41 | 101 | |
DiegoOstuni | 0:75fc82583a41 | 102 | /*******************************************************************************/ |
DiegoOstuni | 0:75fc82583a41 | 103 | #define RFAL_SUPPORT_BR_CE_B_106 false /*!< RFAL CE B 106 Bit Rate support switch */ |
DiegoOstuni | 0:75fc82583a41 | 104 | #define RFAL_SUPPORT_BR_CE_B_212 false /*!< RFAL CE B 212 Bit Rate support switch */ |
DiegoOstuni | 0:75fc82583a41 | 105 | #define RFAL_SUPPORT_BR_CE_B_424 false /*!< RFAL CE B 424 Bit Rate support switch */ |
DiegoOstuni | 0:75fc82583a41 | 106 | #define RFAL_SUPPORT_BR_CE_B_848 false /*!< RFAL CE B 848 Bit Rate support switch */ |
DiegoOstuni | 0:75fc82583a41 | 107 | |
DiegoOstuni | 0:75fc82583a41 | 108 | |
DiegoOstuni | 0:75fc82583a41 | 109 | /*******************************************************************************/ |
DiegoOstuni | 0:75fc82583a41 | 110 | #define RFAL_SUPPORT_BR_CE_F_212 false /*!< RFAL CE F 212 Bit Rate support switch */ |
DiegoOstuni | 0:75fc82583a41 | 111 | #define RFAL_SUPPORT_BR_CE_F_424 false /*!< RFAL CE F 424 Bit Rate support switch */ |
DiegoOstuni | 0:75fc82583a41 | 112 | |
DiegoOstuni | 0:75fc82583a41 | 113 | |
DiegoOstuni | 0:75fc82583a41 | 114 | #endif /* RFAL_FEATURES_H */ |