mbed-os
Fork of mbed-os by
targets/TARGET_Maxim/TARGET_MAX32600/PortNames.h@1:3deb71413561, 2017-07-20 (annotated)
- Committer:
- xuaner
- Date:
- Thu Jul 20 14:26:57 2017 +0000
- Revision:
- 1:3deb71413561
- Parent:
- 0:f269e3021894
mbed_os
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
elessair | 0:f269e3021894 | 1 | /******************************************************************************* |
elessair | 0:f269e3021894 | 2 | * Copyright (C) 2015 Maxim Integrated Products, Inc., All Rights Reserved. |
elessair | 0:f269e3021894 | 3 | * |
elessair | 0:f269e3021894 | 4 | * Permission is hereby granted, free of charge, to any person obtaining a |
elessair | 0:f269e3021894 | 5 | * copy of this software and associated documentation files (the "Software"), |
elessair | 0:f269e3021894 | 6 | * to deal in the Software without restriction, including without limitation |
elessair | 0:f269e3021894 | 7 | * the rights to use, copy, modify, merge, publish, distribute, sublicense, |
elessair | 0:f269e3021894 | 8 | * and/or sell copies of the Software, and to permit persons to whom the |
elessair | 0:f269e3021894 | 9 | * Software is furnished to do so, subject to the following conditions: |
elessair | 0:f269e3021894 | 10 | * |
elessair | 0:f269e3021894 | 11 | * The above copyright notice and this permission notice shall be included |
elessair | 0:f269e3021894 | 12 | * in all copies or substantial portions of the Software. |
elessair | 0:f269e3021894 | 13 | * |
elessair | 0:f269e3021894 | 14 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS |
elessair | 0:f269e3021894 | 15 | * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF |
elessair | 0:f269e3021894 | 16 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. |
elessair | 0:f269e3021894 | 17 | * IN NO EVENT SHALL MAXIM INTEGRATED BE LIABLE FOR ANY CLAIM, DAMAGES |
elessair | 0:f269e3021894 | 18 | * OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, |
elessair | 0:f269e3021894 | 19 | * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR |
elessair | 0:f269e3021894 | 20 | * OTHER DEALINGS IN THE SOFTWARE. |
elessair | 0:f269e3021894 | 21 | * |
elessair | 0:f269e3021894 | 22 | * Except as contained in this notice, the name of Maxim Integrated |
elessair | 0:f269e3021894 | 23 | * Products, Inc. shall not be used except as stated in the Maxim Integrated |
elessair | 0:f269e3021894 | 24 | * Products, Inc. Branding Policy. |
elessair | 0:f269e3021894 | 25 | * |
elessair | 0:f269e3021894 | 26 | * The mere transfer of this software does not imply any licenses |
elessair | 0:f269e3021894 | 27 | * of trade secrets, proprietary technology, copyrights, patents, |
elessair | 0:f269e3021894 | 28 | * trademarks, maskwork rights, or any other form of intellectual |
elessair | 0:f269e3021894 | 29 | * property whatsoever. Maxim Integrated Products, Inc. retains all |
elessair | 0:f269e3021894 | 30 | * ownership rights. |
elessair | 0:f269e3021894 | 31 | ******************************************************************************* |
elessair | 0:f269e3021894 | 32 | */ |
elessair | 0:f269e3021894 | 33 | |
elessair | 0:f269e3021894 | 34 | #ifndef MBED_PORTNAMES_H |
elessair | 0:f269e3021894 | 35 | #define MBED_PORTNAMES_H |
elessair | 0:f269e3021894 | 36 | |
elessair | 0:f269e3021894 | 37 | #ifdef __cplusplus |
elessair | 0:f269e3021894 | 38 | extern "C" { |
elessair | 0:f269e3021894 | 39 | #endif |
elessair | 0:f269e3021894 | 40 | |
elessair | 0:f269e3021894 | 41 | typedef enum { |
elessair | 0:f269e3021894 | 42 | Port0 = 0, |
elessair | 0:f269e3021894 | 43 | Port1 = 1, |
elessair | 0:f269e3021894 | 44 | Port2 = 2, |
elessair | 0:f269e3021894 | 45 | Port3 = 3, |
elessair | 0:f269e3021894 | 46 | Port4 = 4, |
elessair | 0:f269e3021894 | 47 | Port5 = 5, |
elessair | 0:f269e3021894 | 48 | Port6 = 6, |
elessair | 0:f269e3021894 | 49 | Port7 = 7 |
elessair | 0:f269e3021894 | 50 | } PortName; |
elessair | 0:f269e3021894 | 51 | |
elessair | 0:f269e3021894 | 52 | #ifdef __cplusplus |
elessair | 0:f269e3021894 | 53 | } |
elessair | 0:f269e3021894 | 54 | #endif |
elessair | 0:f269e3021894 | 55 | #endif |