Mouse code for the MacroRat
mbed-dev/targets/TARGET_Maxim/TARGET_MAX32600/PeripheralPins.h@46:b156ef445742, 2017-06-03 (annotated)
- Committer:
- sahilmgandhi
- Date:
- Sat Jun 03 00:22:44 2017 +0000
- Revision:
- 46:b156ef445742
- Parent:
- 18:6a4db94011d3
Final code for internal battlebot competition.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
sahilmgandhi | 18:6a4db94011d3 | 1 | /******************************************************************************* |
sahilmgandhi | 18:6a4db94011d3 | 2 | * Copyright (C) 2015 Maxim Integrated Products, Inc., All Rights Reserved. |
sahilmgandhi | 18:6a4db94011d3 | 3 | * |
sahilmgandhi | 18:6a4db94011d3 | 4 | * Permission is hereby granted, free of charge, to any person obtaining a |
sahilmgandhi | 18:6a4db94011d3 | 5 | * copy of this software and associated documentation files (the "Software"), |
sahilmgandhi | 18:6a4db94011d3 | 6 | * to deal in the Software without restriction, including without limitation |
sahilmgandhi | 18:6a4db94011d3 | 7 | * the rights to use, copy, modify, merge, publish, distribute, sublicense, |
sahilmgandhi | 18:6a4db94011d3 | 8 | * and/or sell copies of the Software, and to permit persons to whom the |
sahilmgandhi | 18:6a4db94011d3 | 9 | * Software is furnished to do so, subject to the following conditions: |
sahilmgandhi | 18:6a4db94011d3 | 10 | * |
sahilmgandhi | 18:6a4db94011d3 | 11 | * The above copyright notice and this permission notice shall be included |
sahilmgandhi | 18:6a4db94011d3 | 12 | * in all copies or substantial portions of the Software. |
sahilmgandhi | 18:6a4db94011d3 | 13 | * |
sahilmgandhi | 18:6a4db94011d3 | 14 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS |
sahilmgandhi | 18:6a4db94011d3 | 15 | * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF |
sahilmgandhi | 18:6a4db94011d3 | 16 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. |
sahilmgandhi | 18:6a4db94011d3 | 17 | * IN NO EVENT SHALL MAXIM INTEGRATED BE LIABLE FOR ANY CLAIM, DAMAGES |
sahilmgandhi | 18:6a4db94011d3 | 18 | * OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, |
sahilmgandhi | 18:6a4db94011d3 | 19 | * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR |
sahilmgandhi | 18:6a4db94011d3 | 20 | * OTHER DEALINGS IN THE SOFTWARE. |
sahilmgandhi | 18:6a4db94011d3 | 21 | * |
sahilmgandhi | 18:6a4db94011d3 | 22 | * Except as contained in this notice, the name of Maxim Integrated |
sahilmgandhi | 18:6a4db94011d3 | 23 | * Products, Inc. shall not be used except as stated in the Maxim Integrated |
sahilmgandhi | 18:6a4db94011d3 | 24 | * Products, Inc. Branding Policy. |
sahilmgandhi | 18:6a4db94011d3 | 25 | * |
sahilmgandhi | 18:6a4db94011d3 | 26 | * The mere transfer of this software does not imply any licenses |
sahilmgandhi | 18:6a4db94011d3 | 27 | * of trade secrets, proprietary technology, copyrights, patents, |
sahilmgandhi | 18:6a4db94011d3 | 28 | * trademarks, maskwork rights, or any other form of intellectual |
sahilmgandhi | 18:6a4db94011d3 | 29 | * property whatsoever. Maxim Integrated Products, Inc. retains all |
sahilmgandhi | 18:6a4db94011d3 | 30 | * ownership rights. |
sahilmgandhi | 18:6a4db94011d3 | 31 | ******************************************************************************* |
sahilmgandhi | 18:6a4db94011d3 | 32 | */ |
sahilmgandhi | 18:6a4db94011d3 | 33 | |
sahilmgandhi | 18:6a4db94011d3 | 34 | #ifndef MBED_PERIPHERALPINS_H |
sahilmgandhi | 18:6a4db94011d3 | 35 | #define MBED_PERIPHERALPINS_H |
sahilmgandhi | 18:6a4db94011d3 | 36 | |
sahilmgandhi | 18:6a4db94011d3 | 37 | #include "pinmap.h" |
sahilmgandhi | 18:6a4db94011d3 | 38 | #include "PeripheralNames.h" |
sahilmgandhi | 18:6a4db94011d3 | 39 | |
sahilmgandhi | 18:6a4db94011d3 | 40 | /************I2C***************/ |
sahilmgandhi | 18:6a4db94011d3 | 41 | extern const PinMap PinMap_I2C_SDA[]; |
sahilmgandhi | 18:6a4db94011d3 | 42 | extern const PinMap PinMap_I2C_SCL[]; |
sahilmgandhi | 18:6a4db94011d3 | 43 | |
sahilmgandhi | 18:6a4db94011d3 | 44 | /************UART***************/ |
sahilmgandhi | 18:6a4db94011d3 | 45 | extern const PinMap PinMap_UART_TX[]; |
sahilmgandhi | 18:6a4db94011d3 | 46 | extern const PinMap PinMap_UART_RX[]; |
sahilmgandhi | 18:6a4db94011d3 | 47 | extern const PinMap PinMap_UART_CTS[]; |
sahilmgandhi | 18:6a4db94011d3 | 48 | extern const PinMap PinMap_UART_RTS[]; |
sahilmgandhi | 18:6a4db94011d3 | 49 | |
sahilmgandhi | 18:6a4db94011d3 | 50 | /************SPI***************/ |
sahilmgandhi | 18:6a4db94011d3 | 51 | extern const PinMap PinMap_SPI_SCLK[]; |
sahilmgandhi | 18:6a4db94011d3 | 52 | extern const PinMap PinMap_SPI_MOSI[]; |
sahilmgandhi | 18:6a4db94011d3 | 53 | extern const PinMap PinMap_SPI_MISO[]; |
sahilmgandhi | 18:6a4db94011d3 | 54 | extern const PinMap PinMap_SPI_SSEL[]; |
sahilmgandhi | 18:6a4db94011d3 | 55 | |
sahilmgandhi | 18:6a4db94011d3 | 56 | /************PWM***************/ |
sahilmgandhi | 18:6a4db94011d3 | 57 | extern const PinMap PinMap_PWM[]; |
sahilmgandhi | 18:6a4db94011d3 | 58 | |
sahilmgandhi | 18:6a4db94011d3 | 59 | /************ADC***************/ |
sahilmgandhi | 18:6a4db94011d3 | 60 | extern const PinMap PinMap_ADC[]; |
sahilmgandhi | 18:6a4db94011d3 | 61 | |
sahilmgandhi | 18:6a4db94011d3 | 62 | /************DAC***************/ |
sahilmgandhi | 18:6a4db94011d3 | 63 | extern const PinMap PinMap_DAC[]; |
sahilmgandhi | 18:6a4db94011d3 | 64 | |
sahilmgandhi | 18:6a4db94011d3 | 65 | #endif |