Mouse code for the MacroRat
mbed-dev/targets/TARGET_STM/TARGET_STM32F7/TARGET_STM32F769xI/TARGET_DISCO_F769NI/PinNames.h@18:6a4db94011d3, 2017-05-14 (annotated)
- Committer:
- sahilmgandhi
- Date:
- Sun May 14 23:18:57 2017 +0000
- Revision:
- 18:6a4db94011d3
Publishing again
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
sahilmgandhi | 18:6a4db94011d3 | 1 | /* mbed Microcontroller Library |
sahilmgandhi | 18:6a4db94011d3 | 2 | ******************************************************************************* |
sahilmgandhi | 18:6a4db94011d3 | 3 | * Copyright (c) 2016, STMicroelectronics |
sahilmgandhi | 18:6a4db94011d3 | 4 | * All rights reserved. |
sahilmgandhi | 18:6a4db94011d3 | 5 | * |
sahilmgandhi | 18:6a4db94011d3 | 6 | * Redistribution and use in source and binary forms, with or without |
sahilmgandhi | 18:6a4db94011d3 | 7 | * modification, are permitted provided that the following conditions are met: |
sahilmgandhi | 18:6a4db94011d3 | 8 | * |
sahilmgandhi | 18:6a4db94011d3 | 9 | * 1. Redistributions of source code must retain the above copyright notice, |
sahilmgandhi | 18:6a4db94011d3 | 10 | * this list of conditions and the following disclaimer. |
sahilmgandhi | 18:6a4db94011d3 | 11 | * 2. Redistributions in binary form must reproduce the above copyright notice, |
sahilmgandhi | 18:6a4db94011d3 | 12 | * this list of conditions and the following disclaimer in the documentation |
sahilmgandhi | 18:6a4db94011d3 | 13 | * and/or other materials provided with the distribution. |
sahilmgandhi | 18:6a4db94011d3 | 14 | * 3. Neither the name of STMicroelectronics nor the names of its contributors |
sahilmgandhi | 18:6a4db94011d3 | 15 | * may be used to endorse or promote products derived from this software |
sahilmgandhi | 18:6a4db94011d3 | 16 | * without specific prior written permission. |
sahilmgandhi | 18:6a4db94011d3 | 17 | * |
sahilmgandhi | 18:6a4db94011d3 | 18 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" |
sahilmgandhi | 18:6a4db94011d3 | 19 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
sahilmgandhi | 18:6a4db94011d3 | 20 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE |
sahilmgandhi | 18:6a4db94011d3 | 21 | * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE |
sahilmgandhi | 18:6a4db94011d3 | 22 | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
sahilmgandhi | 18:6a4db94011d3 | 23 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR |
sahilmgandhi | 18:6a4db94011d3 | 24 | * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER |
sahilmgandhi | 18:6a4db94011d3 | 25 | * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, |
sahilmgandhi | 18:6a4db94011d3 | 26 | * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
sahilmgandhi | 18:6a4db94011d3 | 27 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
sahilmgandhi | 18:6a4db94011d3 | 28 | ******************************************************************************* |
sahilmgandhi | 18:6a4db94011d3 | 29 | */ |
sahilmgandhi | 18:6a4db94011d3 | 30 | #ifndef MBED_PINNAMES_H |
sahilmgandhi | 18:6a4db94011d3 | 31 | #define MBED_PINNAMES_H |
sahilmgandhi | 18:6a4db94011d3 | 32 | |
sahilmgandhi | 18:6a4db94011d3 | 33 | #include "cmsis.h" |
sahilmgandhi | 18:6a4db94011d3 | 34 | #include "PinNamesTypes.h" |
sahilmgandhi | 18:6a4db94011d3 | 35 | |
sahilmgandhi | 18:6a4db94011d3 | 36 | #ifdef __cplusplus |
sahilmgandhi | 18:6a4db94011d3 | 37 | extern "C" { |
sahilmgandhi | 18:6a4db94011d3 | 38 | #endif |
sahilmgandhi | 18:6a4db94011d3 | 39 | |
sahilmgandhi | 18:6a4db94011d3 | 40 | typedef enum { |
sahilmgandhi | 18:6a4db94011d3 | 41 | PA_0 = 0x00, |
sahilmgandhi | 18:6a4db94011d3 | 42 | PA_1 = 0x01, |
sahilmgandhi | 18:6a4db94011d3 | 43 | PA_2 = 0x02, |
sahilmgandhi | 18:6a4db94011d3 | 44 | PA_3 = 0x03, |
sahilmgandhi | 18:6a4db94011d3 | 45 | PA_4 = 0x04, |
sahilmgandhi | 18:6a4db94011d3 | 46 | PA_5 = 0x05, |
sahilmgandhi | 18:6a4db94011d3 | 47 | PA_6 = 0x06, |
sahilmgandhi | 18:6a4db94011d3 | 48 | PA_7 = 0x07, |
sahilmgandhi | 18:6a4db94011d3 | 49 | PA_8 = 0x08, |
sahilmgandhi | 18:6a4db94011d3 | 50 | PA_9 = 0x09, |
sahilmgandhi | 18:6a4db94011d3 | 51 | PA_10 = 0x0A, |
sahilmgandhi | 18:6a4db94011d3 | 52 | PA_11 = 0x0B, |
sahilmgandhi | 18:6a4db94011d3 | 53 | PA_12 = 0x0C, |
sahilmgandhi | 18:6a4db94011d3 | 54 | PA_13 = 0x0D, |
sahilmgandhi | 18:6a4db94011d3 | 55 | PA_14 = 0x0E, |
sahilmgandhi | 18:6a4db94011d3 | 56 | PA_15 = 0x0F, |
sahilmgandhi | 18:6a4db94011d3 | 57 | |
sahilmgandhi | 18:6a4db94011d3 | 58 | PB_0 = 0x10, |
sahilmgandhi | 18:6a4db94011d3 | 59 | PB_1 = 0x11, |
sahilmgandhi | 18:6a4db94011d3 | 60 | PB_2 = 0x12, |
sahilmgandhi | 18:6a4db94011d3 | 61 | PB_3 = 0x13, |
sahilmgandhi | 18:6a4db94011d3 | 62 | PB_4 = 0x14, |
sahilmgandhi | 18:6a4db94011d3 | 63 | PB_5 = 0x15, |
sahilmgandhi | 18:6a4db94011d3 | 64 | PB_6 = 0x16, |
sahilmgandhi | 18:6a4db94011d3 | 65 | PB_7 = 0x17, |
sahilmgandhi | 18:6a4db94011d3 | 66 | PB_8 = 0x18, |
sahilmgandhi | 18:6a4db94011d3 | 67 | PB_9 = 0x19, |
sahilmgandhi | 18:6a4db94011d3 | 68 | PB_10 = 0x1A, |
sahilmgandhi | 18:6a4db94011d3 | 69 | PB_11 = 0x1B, |
sahilmgandhi | 18:6a4db94011d3 | 70 | PB_12 = 0x1C, |
sahilmgandhi | 18:6a4db94011d3 | 71 | PB_13 = 0x1D, |
sahilmgandhi | 18:6a4db94011d3 | 72 | PB_14 = 0x1E, |
sahilmgandhi | 18:6a4db94011d3 | 73 | PB_15 = 0x1F, |
sahilmgandhi | 18:6a4db94011d3 | 74 | |
sahilmgandhi | 18:6a4db94011d3 | 75 | PC_0 = 0x20, |
sahilmgandhi | 18:6a4db94011d3 | 76 | PC_1 = 0x21, |
sahilmgandhi | 18:6a4db94011d3 | 77 | PC_2 = 0x22, |
sahilmgandhi | 18:6a4db94011d3 | 78 | PC_3 = 0x23, |
sahilmgandhi | 18:6a4db94011d3 | 79 | PC_4 = 0x24, |
sahilmgandhi | 18:6a4db94011d3 | 80 | PC_5 = 0x25, |
sahilmgandhi | 18:6a4db94011d3 | 81 | PC_6 = 0x26, |
sahilmgandhi | 18:6a4db94011d3 | 82 | PC_7 = 0x27, |
sahilmgandhi | 18:6a4db94011d3 | 83 | PC_8 = 0x28, |
sahilmgandhi | 18:6a4db94011d3 | 84 | PC_9 = 0x29, |
sahilmgandhi | 18:6a4db94011d3 | 85 | PC_10 = 0x2A, |
sahilmgandhi | 18:6a4db94011d3 | 86 | PC_11 = 0x2B, |
sahilmgandhi | 18:6a4db94011d3 | 87 | PC_12 = 0x2C, |
sahilmgandhi | 18:6a4db94011d3 | 88 | PC_13 = 0x2D, |
sahilmgandhi | 18:6a4db94011d3 | 89 | PC_14 = 0x2E, |
sahilmgandhi | 18:6a4db94011d3 | 90 | PC_15 = 0x2F, |
sahilmgandhi | 18:6a4db94011d3 | 91 | |
sahilmgandhi | 18:6a4db94011d3 | 92 | PD_0 = 0x30, |
sahilmgandhi | 18:6a4db94011d3 | 93 | PD_1 = 0x31, |
sahilmgandhi | 18:6a4db94011d3 | 94 | PD_2 = 0x32, |
sahilmgandhi | 18:6a4db94011d3 | 95 | PD_3 = 0x33, |
sahilmgandhi | 18:6a4db94011d3 | 96 | PD_4 = 0x34, |
sahilmgandhi | 18:6a4db94011d3 | 97 | PD_5 = 0x35, |
sahilmgandhi | 18:6a4db94011d3 | 98 | PD_6 = 0x36, |
sahilmgandhi | 18:6a4db94011d3 | 99 | PD_7 = 0x37, |
sahilmgandhi | 18:6a4db94011d3 | 100 | PD_8 = 0x38, |
sahilmgandhi | 18:6a4db94011d3 | 101 | PD_9 = 0x39, |
sahilmgandhi | 18:6a4db94011d3 | 102 | PD_10 = 0x3A, |
sahilmgandhi | 18:6a4db94011d3 | 103 | PD_11 = 0x3B, |
sahilmgandhi | 18:6a4db94011d3 | 104 | PD_12 = 0x3C, |
sahilmgandhi | 18:6a4db94011d3 | 105 | PD_13 = 0x3D, |
sahilmgandhi | 18:6a4db94011d3 | 106 | PD_14 = 0x3E, |
sahilmgandhi | 18:6a4db94011d3 | 107 | PD_15 = 0x3F, |
sahilmgandhi | 18:6a4db94011d3 | 108 | |
sahilmgandhi | 18:6a4db94011d3 | 109 | PE_0 = 0x40, |
sahilmgandhi | 18:6a4db94011d3 | 110 | PE_1 = 0x41, |
sahilmgandhi | 18:6a4db94011d3 | 111 | PE_2 = 0x42, |
sahilmgandhi | 18:6a4db94011d3 | 112 | PE_3 = 0x43, |
sahilmgandhi | 18:6a4db94011d3 | 113 | PE_4 = 0x44, |
sahilmgandhi | 18:6a4db94011d3 | 114 | PE_5 = 0x45, |
sahilmgandhi | 18:6a4db94011d3 | 115 | PE_6 = 0x46, |
sahilmgandhi | 18:6a4db94011d3 | 116 | PE_7 = 0x47, |
sahilmgandhi | 18:6a4db94011d3 | 117 | PE_8 = 0x48, |
sahilmgandhi | 18:6a4db94011d3 | 118 | PE_9 = 0x49, |
sahilmgandhi | 18:6a4db94011d3 | 119 | PE_10 = 0x4A, |
sahilmgandhi | 18:6a4db94011d3 | 120 | PE_11 = 0x4B, |
sahilmgandhi | 18:6a4db94011d3 | 121 | PE_12 = 0x4C, |
sahilmgandhi | 18:6a4db94011d3 | 122 | PE_13 = 0x4D, |
sahilmgandhi | 18:6a4db94011d3 | 123 | PE_14 = 0x4E, |
sahilmgandhi | 18:6a4db94011d3 | 124 | PE_15 = 0x4F, |
sahilmgandhi | 18:6a4db94011d3 | 125 | |
sahilmgandhi | 18:6a4db94011d3 | 126 | PF_0 = 0x50, |
sahilmgandhi | 18:6a4db94011d3 | 127 | PF_1 = 0x51, |
sahilmgandhi | 18:6a4db94011d3 | 128 | PF_2 = 0x52, |
sahilmgandhi | 18:6a4db94011d3 | 129 | PF_3 = 0x53, |
sahilmgandhi | 18:6a4db94011d3 | 130 | PF_4 = 0x54, |
sahilmgandhi | 18:6a4db94011d3 | 131 | PF_5 = 0x55, |
sahilmgandhi | 18:6a4db94011d3 | 132 | PF_6 = 0x56, |
sahilmgandhi | 18:6a4db94011d3 | 133 | PF_7 = 0x57, |
sahilmgandhi | 18:6a4db94011d3 | 134 | PF_8 = 0x58, |
sahilmgandhi | 18:6a4db94011d3 | 135 | PF_9 = 0x59, |
sahilmgandhi | 18:6a4db94011d3 | 136 | PF_10 = 0x5A, |
sahilmgandhi | 18:6a4db94011d3 | 137 | PF_11 = 0x5B, |
sahilmgandhi | 18:6a4db94011d3 | 138 | PF_12 = 0x5C, |
sahilmgandhi | 18:6a4db94011d3 | 139 | PF_13 = 0x5D, |
sahilmgandhi | 18:6a4db94011d3 | 140 | PF_14 = 0x5E, |
sahilmgandhi | 18:6a4db94011d3 | 141 | PF_15 = 0x5F, |
sahilmgandhi | 18:6a4db94011d3 | 142 | |
sahilmgandhi | 18:6a4db94011d3 | 143 | PG_0 = 0x60, |
sahilmgandhi | 18:6a4db94011d3 | 144 | PG_1 = 0x61, |
sahilmgandhi | 18:6a4db94011d3 | 145 | PG_2 = 0x62, |
sahilmgandhi | 18:6a4db94011d3 | 146 | PG_3 = 0x63, |
sahilmgandhi | 18:6a4db94011d3 | 147 | PG_4 = 0x64, |
sahilmgandhi | 18:6a4db94011d3 | 148 | PG_5 = 0x65, |
sahilmgandhi | 18:6a4db94011d3 | 149 | PG_6 = 0x66, |
sahilmgandhi | 18:6a4db94011d3 | 150 | PG_7 = 0x67, |
sahilmgandhi | 18:6a4db94011d3 | 151 | PG_8 = 0x68, |
sahilmgandhi | 18:6a4db94011d3 | 152 | PG_9 = 0x69, |
sahilmgandhi | 18:6a4db94011d3 | 153 | PG_10 = 0x6A, |
sahilmgandhi | 18:6a4db94011d3 | 154 | PG_11 = 0x6B, |
sahilmgandhi | 18:6a4db94011d3 | 155 | PG_12 = 0x6C, |
sahilmgandhi | 18:6a4db94011d3 | 156 | PG_13 = 0x6D, |
sahilmgandhi | 18:6a4db94011d3 | 157 | PG_14 = 0x6E, |
sahilmgandhi | 18:6a4db94011d3 | 158 | PG_15 = 0x6F, |
sahilmgandhi | 18:6a4db94011d3 | 159 | |
sahilmgandhi | 18:6a4db94011d3 | 160 | PH_0 = 0x70, |
sahilmgandhi | 18:6a4db94011d3 | 161 | PH_1 = 0x71, |
sahilmgandhi | 18:6a4db94011d3 | 162 | PH_2 = 0x72, |
sahilmgandhi | 18:6a4db94011d3 | 163 | PH_3 = 0x73, |
sahilmgandhi | 18:6a4db94011d3 | 164 | PH_4 = 0x74, |
sahilmgandhi | 18:6a4db94011d3 | 165 | PH_5 = 0x75, |
sahilmgandhi | 18:6a4db94011d3 | 166 | PH_6 = 0x76, |
sahilmgandhi | 18:6a4db94011d3 | 167 | PH_7 = 0x77, |
sahilmgandhi | 18:6a4db94011d3 | 168 | PH_8 = 0x78, |
sahilmgandhi | 18:6a4db94011d3 | 169 | PH_9 = 0x79, |
sahilmgandhi | 18:6a4db94011d3 | 170 | PH_10 = 0x7A, |
sahilmgandhi | 18:6a4db94011d3 | 171 | PH_11 = 0x7B, |
sahilmgandhi | 18:6a4db94011d3 | 172 | PH_12 = 0x7C, |
sahilmgandhi | 18:6a4db94011d3 | 173 | PH_13 = 0x7D, |
sahilmgandhi | 18:6a4db94011d3 | 174 | PH_14 = 0x7E, |
sahilmgandhi | 18:6a4db94011d3 | 175 | PH_15 = 0x7F, |
sahilmgandhi | 18:6a4db94011d3 | 176 | |
sahilmgandhi | 18:6a4db94011d3 | 177 | PI_0 = 0x80, |
sahilmgandhi | 18:6a4db94011d3 | 178 | PI_1 = 0x81, |
sahilmgandhi | 18:6a4db94011d3 | 179 | PI_2 = 0x82, |
sahilmgandhi | 18:6a4db94011d3 | 180 | PI_3 = 0x83, |
sahilmgandhi | 18:6a4db94011d3 | 181 | PI_4 = 0x84, |
sahilmgandhi | 18:6a4db94011d3 | 182 | PI_5 = 0x85, |
sahilmgandhi | 18:6a4db94011d3 | 183 | PI_6 = 0x86, |
sahilmgandhi | 18:6a4db94011d3 | 184 | PI_7 = 0x87, |
sahilmgandhi | 18:6a4db94011d3 | 185 | PI_8 = 0x88, |
sahilmgandhi | 18:6a4db94011d3 | 186 | PI_9 = 0x89, |
sahilmgandhi | 18:6a4db94011d3 | 187 | PI_10 = 0x8A, |
sahilmgandhi | 18:6a4db94011d3 | 188 | PI_11 = 0x8B, |
sahilmgandhi | 18:6a4db94011d3 | 189 | PI_12 = 0x8C, |
sahilmgandhi | 18:6a4db94011d3 | 190 | PI_13 = 0x8D, |
sahilmgandhi | 18:6a4db94011d3 | 191 | PI_14 = 0x8E, |
sahilmgandhi | 18:6a4db94011d3 | 192 | PI_15 = 0x8F, |
sahilmgandhi | 18:6a4db94011d3 | 193 | |
sahilmgandhi | 18:6a4db94011d3 | 194 | PJ_0 = 0x90, |
sahilmgandhi | 18:6a4db94011d3 | 195 | PJ_1 = 0x91, |
sahilmgandhi | 18:6a4db94011d3 | 196 | PJ_2 = 0x92, |
sahilmgandhi | 18:6a4db94011d3 | 197 | PJ_3 = 0x93, |
sahilmgandhi | 18:6a4db94011d3 | 198 | PJ_4 = 0x94, |
sahilmgandhi | 18:6a4db94011d3 | 199 | PJ_5 = 0x95, |
sahilmgandhi | 18:6a4db94011d3 | 200 | PJ_6 = 0x96, |
sahilmgandhi | 18:6a4db94011d3 | 201 | PJ_7 = 0x97, |
sahilmgandhi | 18:6a4db94011d3 | 202 | PJ_8 = 0x98, |
sahilmgandhi | 18:6a4db94011d3 | 203 | PJ_9 = 0x99, |
sahilmgandhi | 18:6a4db94011d3 | 204 | PJ_10 = 0x9A, |
sahilmgandhi | 18:6a4db94011d3 | 205 | PJ_11 = 0x9B, |
sahilmgandhi | 18:6a4db94011d3 | 206 | PJ_12 = 0x9C, |
sahilmgandhi | 18:6a4db94011d3 | 207 | PJ_13 = 0x9D, |
sahilmgandhi | 18:6a4db94011d3 | 208 | PJ_14 = 0x9E, |
sahilmgandhi | 18:6a4db94011d3 | 209 | PJ_15 = 0x9F, |
sahilmgandhi | 18:6a4db94011d3 | 210 | |
sahilmgandhi | 18:6a4db94011d3 | 211 | PK_0 = 0xA0, |
sahilmgandhi | 18:6a4db94011d3 | 212 | PK_1 = 0xA1, |
sahilmgandhi | 18:6a4db94011d3 | 213 | PK_2 = 0xA2, |
sahilmgandhi | 18:6a4db94011d3 | 214 | PK_3 = 0xA3, |
sahilmgandhi | 18:6a4db94011d3 | 215 | PK_4 = 0xA4, |
sahilmgandhi | 18:6a4db94011d3 | 216 | PK_5 = 0xA5, |
sahilmgandhi | 18:6a4db94011d3 | 217 | PK_6 = 0xA6, |
sahilmgandhi | 18:6a4db94011d3 | 218 | PK_7 = 0xA7, |
sahilmgandhi | 18:6a4db94011d3 | 219 | |
sahilmgandhi | 18:6a4db94011d3 | 220 | // ADC internal channels |
sahilmgandhi | 18:6a4db94011d3 | 221 | ADC_TEMP = 0xF0, |
sahilmgandhi | 18:6a4db94011d3 | 222 | ADC_VREF = 0xF1, |
sahilmgandhi | 18:6a4db94011d3 | 223 | ADC_VBAT = 0xF2, |
sahilmgandhi | 18:6a4db94011d3 | 224 | |
sahilmgandhi | 18:6a4db94011d3 | 225 | // Arduino connector namings |
sahilmgandhi | 18:6a4db94011d3 | 226 | A0 = PA_6, |
sahilmgandhi | 18:6a4db94011d3 | 227 | A1 = PA_4, |
sahilmgandhi | 18:6a4db94011d3 | 228 | A2 = PC_2, |
sahilmgandhi | 18:6a4db94011d3 | 229 | A3 = PF_10, |
sahilmgandhi | 18:6a4db94011d3 | 230 | A4 = PF_8, |
sahilmgandhi | 18:6a4db94011d3 | 231 | A5 = PF_9, |
sahilmgandhi | 18:6a4db94011d3 | 232 | D0 = PC_7, |
sahilmgandhi | 18:6a4db94011d3 | 233 | D1 = PC_6, |
sahilmgandhi | 18:6a4db94011d3 | 234 | D2 = PJ_1, |
sahilmgandhi | 18:6a4db94011d3 | 235 | D3 = PF_6, |
sahilmgandhi | 18:6a4db94011d3 | 236 | D4 = PJ_0, |
sahilmgandhi | 18:6a4db94011d3 | 237 | D5 = PC_8, |
sahilmgandhi | 18:6a4db94011d3 | 238 | D6 = PF_7, |
sahilmgandhi | 18:6a4db94011d3 | 239 | D7 = PJ_3, |
sahilmgandhi | 18:6a4db94011d3 | 240 | D8 = PJ_4, |
sahilmgandhi | 18:6a4db94011d3 | 241 | D9 = PH_6, |
sahilmgandhi | 18:6a4db94011d3 | 242 | D10 = PA_11, |
sahilmgandhi | 18:6a4db94011d3 | 243 | D11 = PB_15, |
sahilmgandhi | 18:6a4db94011d3 | 244 | D12 = PB_14, |
sahilmgandhi | 18:6a4db94011d3 | 245 | D13 = PA_12, |
sahilmgandhi | 18:6a4db94011d3 | 246 | D14 = PB_9, |
sahilmgandhi | 18:6a4db94011d3 | 247 | D15 = PB_8, |
sahilmgandhi | 18:6a4db94011d3 | 248 | |
sahilmgandhi | 18:6a4db94011d3 | 249 | // Generic signals namings |
sahilmgandhi | 18:6a4db94011d3 | 250 | LED1 = PJ_13, // LD1 = RED |
sahilmgandhi | 18:6a4db94011d3 | 251 | LED2 = PJ_5, // LD2 = GREEN |
sahilmgandhi | 18:6a4db94011d3 | 252 | LED3 = PA_12, // LD3 = GREEN |
sahilmgandhi | 18:6a4db94011d3 | 253 | LED4 = PJ_13, |
sahilmgandhi | 18:6a4db94011d3 | 254 | USER_BUTTON = PA_0, |
sahilmgandhi | 18:6a4db94011d3 | 255 | // Standardized button names |
sahilmgandhi | 18:6a4db94011d3 | 256 | BUTTON1 = USER_BUTTON, |
sahilmgandhi | 18:6a4db94011d3 | 257 | SERIAL_TX = PA_9, // Virtual Com Port |
sahilmgandhi | 18:6a4db94011d3 | 258 | SERIAL_RX = PA_10, // Virtual Com Port |
sahilmgandhi | 18:6a4db94011d3 | 259 | USBTX = PA_9, // Virtual Com Port |
sahilmgandhi | 18:6a4db94011d3 | 260 | USBRX = PA_10, // Virtual Com Port |
sahilmgandhi | 18:6a4db94011d3 | 261 | I2C_SCL = D15, |
sahilmgandhi | 18:6a4db94011d3 | 262 | I2C_SDA = D14, |
sahilmgandhi | 18:6a4db94011d3 | 263 | SPI_MOSI = D11, |
sahilmgandhi | 18:6a4db94011d3 | 264 | SPI_MISO = D12, |
sahilmgandhi | 18:6a4db94011d3 | 265 | SPI_SCK = D13, |
sahilmgandhi | 18:6a4db94011d3 | 266 | SPI_CS = D10, |
sahilmgandhi | 18:6a4db94011d3 | 267 | PWM_OUT = D9, |
sahilmgandhi | 18:6a4db94011d3 | 268 | |
sahilmgandhi | 18:6a4db94011d3 | 269 | // Not connected |
sahilmgandhi | 18:6a4db94011d3 | 270 | NC = (int)0xFFFFFFFF |
sahilmgandhi | 18:6a4db94011d3 | 271 | } PinName; |
sahilmgandhi | 18:6a4db94011d3 | 272 | |
sahilmgandhi | 18:6a4db94011d3 | 273 | #ifdef __cplusplus |
sahilmgandhi | 18:6a4db94011d3 | 274 | } |
sahilmgandhi | 18:6a4db94011d3 | 275 | #endif |
sahilmgandhi | 18:6a4db94011d3 | 276 | |
sahilmgandhi | 18:6a4db94011d3 | 277 | #endif |