mbed library sources
Fork of mbed-src by
targets/hal/TARGET_WIZNET/TARGET_W7500x/PeripheralNames.h@636:cb7d56e6ff53, 2015-10-27 (annotated)
- Committer:
- marcusC
- Date:
- Tue Oct 27 07:54:54 2015 +0000
- Revision:
- 636:cb7d56e6ff53
- Parent:
- 631:ff681937ffd8
Changed for DELTA_DFCM_NNN40; Do not initialize flash at mbed_sdk_init()
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
mbed_official | 619:034e698bc035 | 1 | /* mbed Microcontroller Library |
mbed_official | 619:034e698bc035 | 2 | ******************************************************************************* |
mbed_official | 619:034e698bc035 | 3 | * Copyright (c) 2015 WIZnet Co.,Ltd. All rights reserved. |
mbed_official | 619:034e698bc035 | 4 | * All rights reserved. |
mbed_official | 619:034e698bc035 | 5 | * |
mbed_official | 619:034e698bc035 | 6 | * Redistribution and use in source and binary forms, with or without |
mbed_official | 619:034e698bc035 | 7 | * modification, are permitted provided that the following conditions are met: |
mbed_official | 619:034e698bc035 | 8 | * |
mbed_official | 619:034e698bc035 | 9 | * 1. Redistributions of source code must retain the above copyright notice, |
mbed_official | 619:034e698bc035 | 10 | * this list of conditions and the following disclaimer. |
mbed_official | 619:034e698bc035 | 11 | * 2. Redistributions in binary form must reproduce the above copyright notice, |
mbed_official | 619:034e698bc035 | 12 | * this list of conditions and the following disclaimer in the documentation |
mbed_official | 619:034e698bc035 | 13 | * and/or other materials provided with the distribution. |
mbed_official | 619:034e698bc035 | 14 | * 3. Neither the name of ARM Limited nor the names of its contributors |
mbed_official | 619:034e698bc035 | 15 | * may be used to endorse or promote products derived from this software |
mbed_official | 619:034e698bc035 | 16 | * without specific prior written permission. |
mbed_official | 619:034e698bc035 | 17 | * |
mbed_official | 619:034e698bc035 | 18 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" |
mbed_official | 619:034e698bc035 | 19 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
mbed_official | 619:034e698bc035 | 20 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE |
mbed_official | 619:034e698bc035 | 21 | * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE |
mbed_official | 619:034e698bc035 | 22 | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
mbed_official | 619:034e698bc035 | 23 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR |
mbed_official | 619:034e698bc035 | 24 | * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER |
mbed_official | 619:034e698bc035 | 25 | * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, |
mbed_official | 619:034e698bc035 | 26 | * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
mbed_official | 619:034e698bc035 | 27 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
mbed_official | 619:034e698bc035 | 28 | ******************************************************************************* |
mbed_official | 619:034e698bc035 | 29 | */ |
mbed_official | 619:034e698bc035 | 30 | |
mbed_official | 619:034e698bc035 | 31 | #ifndef MBED_PERIPHERALNAMES_H |
mbed_official | 619:034e698bc035 | 32 | #define MBED_PERIPHERALNAMES_H |
mbed_official | 619:034e698bc035 | 33 | |
mbed_official | 619:034e698bc035 | 34 | #include "cmsis.h" |
mbed_official | 619:034e698bc035 | 35 | #include "PinNames.h" |
mbed_official | 619:034e698bc035 | 36 | #ifdef __cplusplus |
mbed_official | 619:034e698bc035 | 37 | extern "C" { |
mbed_official | 619:034e698bc035 | 38 | #endif |
mbed_official | 619:034e698bc035 | 39 | |
mbed_official | 619:034e698bc035 | 40 | typedef enum { |
mbed_official | 619:034e698bc035 | 41 | ADC_0 = (int)W7500x_ADC_BASE |
mbed_official | 619:034e698bc035 | 42 | } ADCName; |
mbed_official | 619:034e698bc035 | 43 | |
mbed_official | 619:034e698bc035 | 44 | typedef enum { |
mbed_official | 619:034e698bc035 | 45 | UART_0 = (int)W7500x_UART0_BASE, |
mbed_official | 631:ff681937ffd8 | 46 | UART_1 = (int)W7500x_UART1_BASE, |
mbed_official | 631:ff681937ffd8 | 47 | UART_2 = (int)W7500x_UART2_BASE |
mbed_official | 619:034e698bc035 | 48 | } UARTName; |
mbed_official | 619:034e698bc035 | 49 | |
mbed_official | 619:034e698bc035 | 50 | |
mbed_official | 619:034e698bc035 | 51 | typedef enum { |
mbed_official | 619:034e698bc035 | 52 | SPI_0 = (int)SSP0_BASE, |
mbed_official | 619:034e698bc035 | 53 | SPI_1 = (int)SSP1_BASE |
mbed_official | 619:034e698bc035 | 54 | } SPIName; |
mbed_official | 619:034e698bc035 | 55 | |
mbed_official | 619:034e698bc035 | 56 | typedef enum { |
mbed_official | 619:034e698bc035 | 57 | I2C_0 = (int)I2C0_BASE, |
mbed_official | 619:034e698bc035 | 58 | I2C_1 = (int)I2C1_BASE |
mbed_official | 619:034e698bc035 | 59 | } I2CName; |
mbed_official | 619:034e698bc035 | 60 | |
mbed_official | 619:034e698bc035 | 61 | typedef enum { |
mbed_official | 619:034e698bc035 | 62 | PWM_0 = (int)PWM_CH0_BASE, |
mbed_official | 619:034e698bc035 | 63 | PWM_1 = (int)PWM_CH1_BASE, |
mbed_official | 619:034e698bc035 | 64 | PWM_2 = (int)PWM_CH2_BASE, |
mbed_official | 619:034e698bc035 | 65 | PWM_3 = (int)PWM_CH3_BASE, |
mbed_official | 619:034e698bc035 | 66 | PWM_4 = (int)PWM_CH4_BASE, |
mbed_official | 619:034e698bc035 | 67 | PWM_5 = (int)PWM_CH5_BASE, |
mbed_official | 619:034e698bc035 | 68 | PWM_6 = (int)PWM_CH6_BASE, |
mbed_official | 619:034e698bc035 | 69 | PWM_7 = (int)PWM_CH7_BASE |
mbed_official | 619:034e698bc035 | 70 | } PWMName; |
mbed_official | 619:034e698bc035 | 71 | |
mbed_official | 619:034e698bc035 | 72 | #ifdef __cplusplus |
mbed_official | 619:034e698bc035 | 73 | } |
mbed_official | 619:034e698bc035 | 74 | #endif |
mbed_official | 619:034e698bc035 | 75 | |
mbed_official | 619:034e698bc035 | 76 | #endif |