ads1115 only

Fork of mbed by mbed official

Committer:
Kojto
Date:
Tue Jun 09 14:29:26 2015 +0100
Revision:
101:7cff1c4259d7
Child:
122:f9eeca106725
Release 101 of the mbed library

Changes:
- new platform: APPNEARME_MICRONFCBOARD, MTS_DRAGONFLY_F411RE, MAX32600MBED, WIZwiki_W7500
- Silabs memory optimization in gpio, pwm fixes
- SPI - ssel documentation fixes and its use

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Kojto 101:7cff1c4259d7 1 /*******************************************************************************
Kojto 101:7cff1c4259d7 2 * Copyright (C) 2015 Maxim Integrated Products, Inc., All Rights Reserved.
Kojto 101:7cff1c4259d7 3 *
Kojto 101:7cff1c4259d7 4 * Permission is hereby granted, free of charge, to any person obtaining a
Kojto 101:7cff1c4259d7 5 * copy of this software and associated documentation files (the "Software"),
Kojto 101:7cff1c4259d7 6 * to deal in the Software without restriction, including without limitation
Kojto 101:7cff1c4259d7 7 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
Kojto 101:7cff1c4259d7 8 * and/or sell copies of the Software, and to permit persons to whom the
Kojto 101:7cff1c4259d7 9 * Software is furnished to do so, subject to the following conditions:
Kojto 101:7cff1c4259d7 10 *
Kojto 101:7cff1c4259d7 11 * The above copyright notice and this permission notice shall be included
Kojto 101:7cff1c4259d7 12 * in all copies or substantial portions of the Software.
Kojto 101:7cff1c4259d7 13 *
Kojto 101:7cff1c4259d7 14 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
Kojto 101:7cff1c4259d7 15 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
Kojto 101:7cff1c4259d7 16 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
Kojto 101:7cff1c4259d7 17 * IN NO EVENT SHALL MAXIM INTEGRATED BE LIABLE FOR ANY CLAIM, DAMAGES
Kojto 101:7cff1c4259d7 18 * OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
Kojto 101:7cff1c4259d7 19 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
Kojto 101:7cff1c4259d7 20 * OTHER DEALINGS IN THE SOFTWARE.
Kojto 101:7cff1c4259d7 21 *
Kojto 101:7cff1c4259d7 22 * Except as contained in this notice, the name of Maxim Integrated
Kojto 101:7cff1c4259d7 23 * Products, Inc. shall not be used except as stated in the Maxim Integrated
Kojto 101:7cff1c4259d7 24 * Products, Inc. Branding Policy.
Kojto 101:7cff1c4259d7 25 *
Kojto 101:7cff1c4259d7 26 * The mere transfer of this software does not imply any licenses
Kojto 101:7cff1c4259d7 27 * of trade secrets, proprietary technology, copyrights, patents,
Kojto 101:7cff1c4259d7 28 * trademarks, maskwork rights, or any other form of intellectual
Kojto 101:7cff1c4259d7 29 * property whatsoever. Maxim Integrated Products, Inc. retains all
Kojto 101:7cff1c4259d7 30 * ownership rights.
Kojto 101:7cff1c4259d7 31 *******************************************************************************
Kojto 101:7cff1c4259d7 32 */
Kojto 101:7cff1c4259d7 33
Kojto 101:7cff1c4259d7 34 #ifndef MBED_DEVICE_H
Kojto 101:7cff1c4259d7 35 #define MBED_DEVICE_H
Kojto 101:7cff1c4259d7 36
Kojto 101:7cff1c4259d7 37 #define DEVICE_PORTIN 1
Kojto 101:7cff1c4259d7 38 #define DEVICE_PORTOUT 1
Kojto 101:7cff1c4259d7 39 #define DEVICE_PORTINOUT 1
Kojto 101:7cff1c4259d7 40
Kojto 101:7cff1c4259d7 41 #define DEVICE_INTERRUPTIN 1
Kojto 101:7cff1c4259d7 42
Kojto 101:7cff1c4259d7 43 #define DEVICE_SERIAL 1
Kojto 101:7cff1c4259d7 44
Kojto 101:7cff1c4259d7 45 #define DEVICE_SERIAL_FC 1
Kojto 101:7cff1c4259d7 46
Kojto 101:7cff1c4259d7 47 #define DEVICE_SPI 1
Kojto 101:7cff1c4259d7 48
Kojto 101:7cff1c4259d7 49 #define DEVICE_I2C 1
Kojto 101:7cff1c4259d7 50
Kojto 101:7cff1c4259d7 51 #define DEVICE_SERIAL 1
Kojto 101:7cff1c4259d7 52
Kojto 101:7cff1c4259d7 53 #define DEVICE_PWMOUT 1
Kojto 101:7cff1c4259d7 54
Kojto 101:7cff1c4259d7 55 #define DEVICE_ANALOGIN 1
Kojto 101:7cff1c4259d7 56
Kojto 101:7cff1c4259d7 57 #define DEVICE_ANALOGOUT 1
Kojto 101:7cff1c4259d7 58
Kojto 101:7cff1c4259d7 59 #define DEVICE_RTC 1
Kojto 101:7cff1c4259d7 60
Kojto 101:7cff1c4259d7 61 #define DEVICE_SLEEP 1
Kojto 101:7cff1c4259d7 62
Kojto 101:7cff1c4259d7 63 #define DEVICE_STDIO_MESSAGES 1
Kojto 101:7cff1c4259d7 64
Kojto 101:7cff1c4259d7 65 #define DEVICE_ERROR_PATTERN 1
Kojto 101:7cff1c4259d7 66
Kojto 101:7cff1c4259d7 67 #define DEVICE_LOWPOWERTIMER 1
Kojto 101:7cff1c4259d7 68
Kojto 101:7cff1c4259d7 69 #define DEVICE_CAN 0
Kojto 101:7cff1c4259d7 70 #define DEVICE_ETHERNET 0
Kojto 101:7cff1c4259d7 71
Kojto 101:7cff1c4259d7 72 #include "objects.h"
Kojto 101:7cff1c4259d7 73
Kojto 101:7cff1c4259d7 74 #endif