The official Mbed 2 C/C++ SDK provides the software platform and libraries to build your applications.
Dependents: hello SerialTestv11 SerialTestv12 Sierpinski ... more
mbed 2
This is the mbed 2 library. If you'd like to learn about Mbed OS please see the mbed-os docs.
TARGET_SDT32625B/TOOLCHAIN_IAR/PeripheralNames.h@171:3a7713b1edbc, 2018-11-08 (annotated)
- Committer:
- AnnaBridge
- Date:
- Thu Nov 08 11:45:42 2018 +0000
- Revision:
- 171:3a7713b1edbc
- Parent:
- TARGET_MAX32625PICO_NO_BOOT/TARGET_Maxim/TARGET_MAX32625/TARGET_MAX32625PICO_BASE/PeripheralNames.h@169:a7c7b631e539
mbed library. Release version 164
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Anna Bridge |
169:a7c7b631e539 | 1 | /******************************************************************************* |
Anna Bridge |
169:a7c7b631e539 | 2 | * Copyright (C) 2016 Maxim Integrated Products, Inc., All Rights Reserved. |
Anna Bridge |
169:a7c7b631e539 | 3 | * |
Anna Bridge |
169:a7c7b631e539 | 4 | * Permission is hereby granted, free of charge, to any person obtaining a |
Anna Bridge |
169:a7c7b631e539 | 5 | * copy of this software and associated documentation files (the "Software"), |
Anna Bridge |
169:a7c7b631e539 | 6 | * to deal in the Software without restriction, including without limitation |
Anna Bridge |
169:a7c7b631e539 | 7 | * the rights to use, copy, modify, merge, publish, distribute, sublicense, |
Anna Bridge |
169:a7c7b631e539 | 8 | * and/or sell copies of the Software, and to permit persons to whom the |
Anna Bridge |
169:a7c7b631e539 | 9 | * Software is furnished to do so, subject to the following conditions: |
Anna Bridge |
169:a7c7b631e539 | 10 | * |
Anna Bridge |
169:a7c7b631e539 | 11 | * The above copyright notice and this permission notice shall be included |
Anna Bridge |
169:a7c7b631e539 | 12 | * in all copies or substantial portions of the Software. |
Anna Bridge |
169:a7c7b631e539 | 13 | * |
Anna Bridge |
169:a7c7b631e539 | 14 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS |
Anna Bridge |
169:a7c7b631e539 | 15 | * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF |
Anna Bridge |
169:a7c7b631e539 | 16 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. |
Anna Bridge |
169:a7c7b631e539 | 17 | * IN NO EVENT SHALL MAXIM INTEGRATED BE LIABLE FOR ANY CLAIM, DAMAGES |
Anna Bridge |
169:a7c7b631e539 | 18 | * OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, |
Anna Bridge |
169:a7c7b631e539 | 19 | * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR |
Anna Bridge |
169:a7c7b631e539 | 20 | * OTHER DEALINGS IN THE SOFTWARE. |
Anna Bridge |
169:a7c7b631e539 | 21 | * |
Anna Bridge |
169:a7c7b631e539 | 22 | * Except as contained in this notice, the name of Maxim Integrated |
Anna Bridge |
169:a7c7b631e539 | 23 | * Products, Inc. shall not be used except as stated in the Maxim Integrated |
Anna Bridge |
169:a7c7b631e539 | 24 | * Products, Inc. Branding Policy. |
Anna Bridge |
169:a7c7b631e539 | 25 | * |
Anna Bridge |
169:a7c7b631e539 | 26 | * The mere transfer of this software does not imply any licenses |
Anna Bridge |
169:a7c7b631e539 | 27 | * of trade secrets, proprietary technology, copyrights, patents, |
Anna Bridge |
169:a7c7b631e539 | 28 | * trademarks, maskwork rights, or any other form of intellectual |
Anna Bridge |
169:a7c7b631e539 | 29 | * property whatsoever. Maxim Integrated Products, Inc. retains all |
Anna Bridge |
169:a7c7b631e539 | 30 | * ownership rights. |
Anna Bridge |
169:a7c7b631e539 | 31 | ******************************************************************************* |
Anna Bridge |
169:a7c7b631e539 | 32 | */ |
Anna Bridge |
169:a7c7b631e539 | 33 | |
Anna Bridge |
169:a7c7b631e539 | 34 | #ifndef MBED_PERIPHERALNAMES_H |
Anna Bridge |
169:a7c7b631e539 | 35 | #define MBED_PERIPHERALNAMES_H |
Anna Bridge |
169:a7c7b631e539 | 36 | |
Anna Bridge |
169:a7c7b631e539 | 37 | #include "cmsis.h" |
Anna Bridge |
169:a7c7b631e539 | 38 | |
Anna Bridge |
169:a7c7b631e539 | 39 | #ifdef __cplusplus |
Anna Bridge |
169:a7c7b631e539 | 40 | extern "C" { |
Anna Bridge |
169:a7c7b631e539 | 41 | #endif |
Anna Bridge |
169:a7c7b631e539 | 42 | |
Anna Bridge |
169:a7c7b631e539 | 43 | typedef enum { |
Anna Bridge |
169:a7c7b631e539 | 44 | UART_0 = MXC_BASE_UART0, |
Anna Bridge |
169:a7c7b631e539 | 45 | UART_1 = MXC_BASE_UART1, |
Anna Bridge |
169:a7c7b631e539 | 46 | UART_2 = MXC_BASE_UART2, |
Anna Bridge |
169:a7c7b631e539 | 47 | STDIO_UART = UART_1 |
Anna Bridge |
169:a7c7b631e539 | 48 | } UARTName; |
Anna Bridge |
169:a7c7b631e539 | 49 | |
Anna Bridge |
169:a7c7b631e539 | 50 | typedef enum { |
Anna Bridge |
169:a7c7b631e539 | 51 | I2C_0 = MXC_BASE_I2CM0, |
Anna Bridge |
169:a7c7b631e539 | 52 | I2C_1 = MXC_BASE_I2CM1 |
Anna Bridge |
169:a7c7b631e539 | 53 | } I2CName; |
Anna Bridge |
169:a7c7b631e539 | 54 | |
Anna Bridge |
169:a7c7b631e539 | 55 | typedef enum { |
Anna Bridge |
169:a7c7b631e539 | 56 | SPI_0 = MXC_BASE_SPIM0, |
Anna Bridge |
169:a7c7b631e539 | 57 | SPI_1 = MXC_BASE_SPIM1, |
Anna Bridge |
169:a7c7b631e539 | 58 | SPI_2 = MXC_BASE_SPIM2 |
Anna Bridge |
169:a7c7b631e539 | 59 | } SPIName; |
Anna Bridge |
169:a7c7b631e539 | 60 | |
Anna Bridge |
169:a7c7b631e539 | 61 | typedef enum { |
Anna Bridge |
169:a7c7b631e539 | 62 | PWM_0 = MXC_BASE_PT0, |
Anna Bridge |
169:a7c7b631e539 | 63 | PWM_1 = MXC_BASE_PT1, |
Anna Bridge |
169:a7c7b631e539 | 64 | PWM_2 = MXC_BASE_PT2, |
Anna Bridge |
169:a7c7b631e539 | 65 | PWM_3 = MXC_BASE_PT3, |
Anna Bridge |
169:a7c7b631e539 | 66 | PWM_4 = MXC_BASE_PT4, |
Anna Bridge |
169:a7c7b631e539 | 67 | PWM_5 = MXC_BASE_PT5, |
Anna Bridge |
169:a7c7b631e539 | 68 | PWM_6 = MXC_BASE_PT6, |
Anna Bridge |
169:a7c7b631e539 | 69 | PWM_7 = MXC_BASE_PT7, |
Anna Bridge |
169:a7c7b631e539 | 70 | PWM_8 = MXC_BASE_PT8, |
Anna Bridge |
169:a7c7b631e539 | 71 | PWM_9 = MXC_BASE_PT9, |
Anna Bridge |
169:a7c7b631e539 | 72 | PWM_10 = MXC_BASE_PT10, |
Anna Bridge |
169:a7c7b631e539 | 73 | PWM_11 = MXC_BASE_PT11, |
Anna Bridge |
169:a7c7b631e539 | 74 | PWM_12 = MXC_BASE_PT12, |
Anna Bridge |
169:a7c7b631e539 | 75 | PWM_13 = MXC_BASE_PT13, |
Anna Bridge |
169:a7c7b631e539 | 76 | PWM_14 = MXC_BASE_PT14, |
Anna Bridge |
169:a7c7b631e539 | 77 | PWM_15 = MXC_BASE_PT15 |
Anna Bridge |
169:a7c7b631e539 | 78 | } PWMName; |
Anna Bridge |
169:a7c7b631e539 | 79 | |
Anna Bridge |
169:a7c7b631e539 | 80 | typedef enum { |
Anna Bridge |
169:a7c7b631e539 | 81 | ADC = MXC_BASE_ADC |
Anna Bridge |
169:a7c7b631e539 | 82 | } ADCName; |
Anna Bridge |
169:a7c7b631e539 | 83 | |
Anna Bridge |
169:a7c7b631e539 | 84 | #ifdef __cplusplus |
Anna Bridge |
169:a7c7b631e539 | 85 | } |
Anna Bridge |
169:a7c7b631e539 | 86 | #endif |
Anna Bridge |
169:a7c7b631e539 | 87 | |
Anna Bridge |
169:a7c7b631e539 | 88 | #endif |