|
| 1 | +/**************************************************************************** |
| 2 | +** |
| 3 | +** Copyright (C) ${COPYRIGHT_YEAR} MikroElektronika d.o.o. |
| 4 | +** Contact: https://www.mikroe.com/contact |
| 5 | +** |
| 6 | +** This file is part of the mikroSDK package |
| 7 | +** |
| 8 | +** Commercial License Usage |
| 9 | +** |
| 10 | +** Licensees holding valid commercial NECTO compilers AI licenses may use this |
| 11 | +** file in accordance with the commercial license agreement provided with the |
| 12 | +** Software or, alternatively, in accordance with the terms contained in |
| 13 | +** a written agreement between you and The MikroElektronika Company. |
| 14 | +** For licensing terms and conditions see |
| 15 | +** https://www.mikroe.com/legal/software-license-agreement. |
| 16 | +** For further information use the contact form at |
| 17 | +** https://www.mikroe.com/contact. |
| 18 | +** |
| 19 | +** |
| 20 | +** GNU Lesser General Public License Usage |
| 21 | +** |
| 22 | +** Alternatively, this file may be used for |
| 23 | +** non-commercial projects under the terms of the GNU Lesser |
| 24 | +** General Public License version 3 as published by the Free Software |
| 25 | +** Foundation: https://www.gnu.org/licenses/lgpl-3.0.html. |
| 26 | +** |
| 27 | +** The above copyright notice and this permission notice shall be |
| 28 | +** included in all copies or substantial portions of the Software. |
| 29 | +** |
| 30 | +** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, |
| 31 | +** OF MERCHANTABILITY, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED |
| 32 | +** TO THE WARRANTIES FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. |
| 33 | +** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, |
| 34 | +** DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT |
| 35 | +** OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE |
| 36 | +** OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
| 37 | +** |
| 38 | +****************************************************************************/ |
| 39 | +/*! |
| 40 | + * @file pim_socket.h |
| 41 | + * @brief PIM socket MCU card pin mapping. |
| 42 | + */ |
| 43 | + |
| 44 | +#ifndef _PIM_SOCKET_H_ |
| 45 | +#define _PIM_SOCKET_H_ |
| 46 | + |
| 47 | +#ifdef __cplusplus |
| 48 | +extern "C"{ |
| 49 | +#endif |
| 50 | + |
| 51 | +#include "mcu_card.h" |
| 52 | +#include "hal_target.h" |
| 53 | + |
| 54 | +// Left connector |
| 55 | +#define PIM_PIN_001 LEFT_CN_PIN_001 |
| 56 | +#define PIM_PIN_002 LEFT_CN_PIN_002 |
| 57 | +#define PIM_PIN_003 LEFT_CN_PIN_003 |
| 58 | +#define PIM_PIN_004 LEFT_CN_PIN_004 |
| 59 | +#define PIM_PIN_005 LEFT_CN_PIN_005 |
| 60 | +#define PIM_PIN_006 LEFT_CN_PIN_006 |
| 61 | +#define PIM_PIN_007 LEFT_CN_PIN_007 |
| 62 | +#define PIM_PIN_008 LEFT_CN_PIN_008 |
| 63 | +#define PIM_PIN_009 LEFT_CN_PIN_009 |
| 64 | +#define PIM_PIN_010 LEFT_CN_PIN_010 |
| 65 | +#define PIM_PIN_011 LEFT_CN_PIN_011 |
| 66 | +#define PIM_PIN_012 LEFT_CN_PIN_012 |
| 67 | +#define PIM_PIN_013 LEFT_CN_PIN_013 |
| 68 | +#define PIM_PIN_014 LEFT_CN_PIN_014 |
| 69 | +#define PIM_PIN_015 LEFT_CN_PIN_015 |
| 70 | +#define PIM_PIN_016 LEFT_CN_PIN_016 |
| 71 | +#define PIM_PIN_017 LEFT_CN_PIN_017 |
| 72 | +#define PIM_PIN_018 LEFT_CN_PIN_018 |
| 73 | +#define PIM_PIN_019 LEFT_CN_PIN_019 |
| 74 | +#define PIM_PIN_020 LEFT_CN_PIN_020 |
| 75 | +#define PIM_PIN_021 LEFT_CN_PIN_021 |
| 76 | +#define PIM_PIN_022 LEFT_CN_PIN_022 |
| 77 | +#define PIM_PIN_023 LEFT_CN_PIN_023 |
| 78 | +#define PIM_PIN_024 LEFT_CN_PIN_024 |
| 79 | +#define PIM_PIN_025 LEFT_CN_PIN_025 |
| 80 | + |
| 81 | +// Down connector |
| 82 | +#define PIM_PIN_026 DOWN_CN_PIN_026 |
| 83 | +#define PIM_PIN_027 DOWN_CN_PIN_027 |
| 84 | +#define PIM_PIN_028 DOWN_CN_PIN_028 |
| 85 | +#define PIM_PIN_029 DOWN_CN_PIN_029 |
| 86 | +#define PIM_PIN_030 DOWN_CN_PIN_030 |
| 87 | +#define PIM_PIN_031 DOWN_CN_PIN_031 |
| 88 | +#define PIM_PIN_032 DOWN_CN_PIN_032 |
| 89 | +#define PIM_PIN_033 DOWN_CN_PIN_033 |
| 90 | +#define PIM_PIN_034 DOWN_CN_PIN_034 |
| 91 | +#define PIM_PIN_035 DOWN_CN_PIN_035 |
| 92 | +#define PIM_PIN_036 DOWN_CN_PIN_036 |
| 93 | +#define PIM_PIN_037 DOWN_CN_PIN_037 |
| 94 | +#define PIM_PIN_038 DOWN_CN_PIN_038 |
| 95 | +#define PIM_PIN_039 DOWN_CN_PIN_039 |
| 96 | +#define PIM_PIN_040 DOWN_CN_PIN_040 |
| 97 | +#define PIM_PIN_041 DOWN_CN_PIN_041 |
| 98 | +#define PIM_PIN_042 DOWN_CN_PIN_042 |
| 99 | +#define PIM_PIN_043 DOWN_CN_PIN_043 |
| 100 | +#define PIM_PIN_044 DOWN_CN_PIN_044 |
| 101 | +#define PIM_PIN_045 DOWN_CN_PIN_045 |
| 102 | +#define PIM_PIN_046 DOWN_CN_PIN_046 |
| 103 | +#define PIM_PIN_047 DOWN_CN_PIN_047 |
| 104 | +#define PIM_PIN_048 DOWN_CN_PIN_048 |
| 105 | +#define PIM_PIN_049 DOWN_CN_PIN_049 |
| 106 | +#define PIM_PIN_050 DOWN_CN_PIN_050 |
| 107 | + |
| 108 | +// Right connector |
| 109 | +#define PIM_PIN_051 RIGHT_CN_PIN_051 |
| 110 | +#define PIM_PIN_052 RIGHT_CN_PIN_052 |
| 111 | +#define PIM_PIN_053 RIGHT_CN_PIN_053 |
| 112 | +#define PIM_PIN_054 RIGHT_CN_PIN_054 |
| 113 | +#define PIM_PIN_055 RIGHT_CN_PIN_055 |
| 114 | +#define PIM_PIN_056 RIGHT_CN_PIN_056 |
| 115 | +#define PIM_PIN_057 RIGHT_CN_PIN_057 |
| 116 | +#define PIM_PIN_058 RIGHT_CN_PIN_058 |
| 117 | +#define PIM_PIN_059 RIGHT_CN_PIN_059 |
| 118 | +#define PIM_PIN_060 RIGHT_CN_PIN_060 |
| 119 | +#define PIM_PIN_061 RIGHT_CN_PIN_061 |
| 120 | +#define PIM_PIN_062 RIGHT_CN_PIN_062 |
| 121 | +#define PIM_PIN_063 RIGHT_CN_PIN_063 |
| 122 | +#define PIM_PIN_064 RIGHT_CN_PIN_064 |
| 123 | +#define PIM_PIN_065 RIGHT_CN_PIN_065 |
| 124 | +#define PIM_PIN_066 RIGHT_CN_PIN_066 |
| 125 | +#define PIM_PIN_067 RIGHT_CN_PIN_067 |
| 126 | +#define PIM_PIN_068 RIGHT_CN_PIN_068 |
| 127 | +#define PIM_PIN_069 RIGHT_CN_PIN_069 |
| 128 | +#define PIM_PIN_070 RIGHT_CN_PIN_070 |
| 129 | +#define PIM_PIN_071 RIGHT_CN_PIN_071 |
| 130 | +#define PIM_PIN_072 RIGHT_CN_PIN_072 |
| 131 | +#define PIM_PIN_073 RIGHT_CN_PIN_073 |
| 132 | +#define PIM_PIN_074 RIGHT_CN_PIN_074 |
| 133 | +#define PIM_PIN_075 RIGHT_CN_PIN_075 |
| 134 | + |
| 135 | +// Up connector |
| 136 | +#define PIM_PIN_076 UP_CN_PIN_076 |
| 137 | +#define PIM_PIN_077 UP_CN_PIN_077 |
| 138 | +#define PIM_PIN_078 UP_CN_PIN_078 |
| 139 | +#define PIM_PIN_079 UP_CN_PIN_079 |
| 140 | +#define PIM_PIN_080 UP_CN_PIN_080 |
| 141 | +#define PIM_PIN_081 UP_CN_PIN_081 |
| 142 | +#define PIM_PIN_082 UP_CN_PIN_082 |
| 143 | +#define PIM_PIN_083 UP_CN_PIN_083 |
| 144 | +#define PIM_PIN_084 UP_CN_PIN_084 |
| 145 | +#define PIM_PIN_085 UP_CN_PIN_085 |
| 146 | +#define PIM_PIN_086 UP_CN_PIN_086 |
| 147 | +#define PIM_PIN_087 UP_CN_PIN_087 |
| 148 | +#define PIM_PIN_088 UP_CN_PIN_088 |
| 149 | +#define PIM_PIN_089 UP_CN_PIN_089 |
| 150 | +#define PIM_PIN_090 UP_CN_PIN_090 |
| 151 | +#define PIM_PIN_091 UP_CN_PIN_091 |
| 152 | +#define PIM_PIN_092 UP_CN_PIN_092 |
| 153 | +#define PIM_PIN_093 UP_CN_PIN_093 |
| 154 | +#define PIM_PIN_094 UP_CN_PIN_094 |
| 155 | +#define PIM_PIN_095 UP_CN_PIN_095 |
| 156 | +#define PIM_PIN_096 UP_CN_PIN_096 |
| 157 | +#define PIM_PIN_097 UP_CN_PIN_097 |
| 158 | +#define PIM_PIN_098 UP_CN_PIN_098 |
| 159 | +#define PIM_PIN_099 UP_CN_PIN_099 |
| 160 | +#define PIM_PIN_100 UP_CN_PIN_100 |
| 161 | + |
| 162 | +#ifdef __cplusplus |
| 163 | +} |
| 164 | +#endif |
| 165 | + |
| 166 | +#endif // _PIM_SOCKET_H_ |
| 167 | +// ------------------------------------------------------------------------- END |
0 commit comments