Василий Басалаев / mbed-I2CIO

Fork of mbed-STM32F030F4 by Nothing Special

Committer:
mega64
Date:
Sat Oct 18 02:40:17 2014 +0000
Revision:
0:38ccae254a29
only for STM32F030F4

Who changed what in which revision?

UserRevisionLine numberNew contents of line
mega64 0:38ccae254a29 1 /* mbed Microcontroller Library
mega64 0:38ccae254a29 2 *******************************************************************************
mega64 0:38ccae254a29 3 * Copyright (c) 2014, STMicroelectronics
mega64 0:38ccae254a29 4 * All rights reserved.
mega64 0:38ccae254a29 5 *
mega64 0:38ccae254a29 6 * Redistribution and use in source and binary forms, with or without
mega64 0:38ccae254a29 7 * modification, are permitted provided that the following conditions are met:
mega64 0:38ccae254a29 8 *
mega64 0:38ccae254a29 9 * 1. Redistributions of source code must retain the above copyright notice,
mega64 0:38ccae254a29 10 * this list of conditions and the following disclaimer.
mega64 0:38ccae254a29 11 * 2. Redistributions in binary form must reproduce the above copyright notice,
mega64 0:38ccae254a29 12 * this list of conditions and the following disclaimer in the documentation
mega64 0:38ccae254a29 13 * and/or other materials provided with the distribution.
mega64 0:38ccae254a29 14 * 3. Neither the name of STMicroelectronics nor the names of its contributors
mega64 0:38ccae254a29 15 * may be used to endorse or promote products derived from this software
mega64 0:38ccae254a29 16 * without specific prior written permission.
mega64 0:38ccae254a29 17 *
mega64 0:38ccae254a29 18 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
mega64 0:38ccae254a29 19 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
mega64 0:38ccae254a29 20 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
mega64 0:38ccae254a29 21 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
mega64 0:38ccae254a29 22 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
mega64 0:38ccae254a29 23 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
mega64 0:38ccae254a29 24 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
mega64 0:38ccae254a29 25 * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
mega64 0:38ccae254a29 26 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
mega64 0:38ccae254a29 27 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
mega64 0:38ccae254a29 28 *******************************************************************************
mega64 0:38ccae254a29 29 */
mega64 0:38ccae254a29 30 #ifndef MBED_PORTNAMES_H
mega64 0:38ccae254a29 31 #define MBED_PORTNAMES_H
mega64 0:38ccae254a29 32
mega64 0:38ccae254a29 33 #ifdef __cplusplus
mega64 0:38ccae254a29 34 extern "C" {
mega64 0:38ccae254a29 35 #endif
mega64 0:38ccae254a29 36
mega64 0:38ccae254a29 37 typedef enum {
mega64 0:38ccae254a29 38 PortA = 0,
mega64 0:38ccae254a29 39 PortB = 1,
mega64 0:38ccae254a29 40 PortC = 2,
mega64 0:38ccae254a29 41 PortD = 3,
mega64 0:38ccae254a29 42 PortF = 5
mega64 0:38ccae254a29 43 } PortName;
mega64 0:38ccae254a29 44
mega64 0:38ccae254a29 45 #ifdef __cplusplus
mega64 0:38ccae254a29 46 }
mega64 0:38ccae254a29 47 #endif
mega64 0:38ccae254a29 48 #endif