5.2.1 - Updated I2C files

Dependents:   mbed-TFT-example-NCS36510 mbed-Accelerometer-example-NCS36510 mbed-Accelerometer-example-NCS36510

Committer:
jacobjohnson
Date:
Mon Feb 27 17:45:05 2017 +0000
Revision:
1:f30bdcd2b33b
Parent:
0:098463de4c5d
changed the inputscale from 1 to 7 in analogin_api.c.  This will need to be changed later, and accessed from the main level, but for now this allows the  adc to read a value from 0 to 3.7V, instead of just up to 1V.;

Who changed what in which revision?

UserRevisionLine numberNew contents of line
group-onsemi 0:098463de4c5d 1 // The 'features' section in 'target.json' is now used to create the device's hardware preprocessor switches.
group-onsemi 0:098463de4c5d 2 // Check the 'features' section of the target description in 'targets.json' for more details.
group-onsemi 0:098463de4c5d 3 /*******************************************************************************
group-onsemi 0:098463de4c5d 4 * Copyright (C) 2015 Maxim Integrated Products, Inc., All Rights Reserved.
group-onsemi 0:098463de4c5d 5 *
group-onsemi 0:098463de4c5d 6 * Permission is hereby granted, free of charge, to any person obtaining a
group-onsemi 0:098463de4c5d 7 * copy of this software and associated documentation files (the "Software"),
group-onsemi 0:098463de4c5d 8 * to deal in the Software without restriction, including without limitation
group-onsemi 0:098463de4c5d 9 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
group-onsemi 0:098463de4c5d 10 * and/or sell copies of the Software, and to permit persons to whom the
group-onsemi 0:098463de4c5d 11 * Software is furnished to do so, subject to the following conditions:
group-onsemi 0:098463de4c5d 12 *
group-onsemi 0:098463de4c5d 13 * The above copyright notice and this permission notice shall be included
group-onsemi 0:098463de4c5d 14 * in all copies or substantial portions of the Software.
group-onsemi 0:098463de4c5d 15 *
group-onsemi 0:098463de4c5d 16 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
group-onsemi 0:098463de4c5d 17 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
group-onsemi 0:098463de4c5d 18 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
group-onsemi 0:098463de4c5d 19 * IN NO EVENT SHALL MAXIM INTEGRATED BE LIABLE FOR ANY CLAIM, DAMAGES
group-onsemi 0:098463de4c5d 20 * OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
group-onsemi 0:098463de4c5d 21 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
group-onsemi 0:098463de4c5d 22 * OTHER DEALINGS IN THE SOFTWARE.
group-onsemi 0:098463de4c5d 23 *
group-onsemi 0:098463de4c5d 24 * Except as contained in this notice, the name of Maxim Integrated
group-onsemi 0:098463de4c5d 25 * Products, Inc. shall not be used except as stated in the Maxim Integrated
group-onsemi 0:098463de4c5d 26 * Products, Inc. Branding Policy.
group-onsemi 0:098463de4c5d 27 *
group-onsemi 0:098463de4c5d 28 * The mere transfer of this software does not imply any licenses
group-onsemi 0:098463de4c5d 29 * of trade secrets, proprietary technology, copyrights, patents,
group-onsemi 0:098463de4c5d 30 * trademarks, maskwork rights, or any other form of intellectual
group-onsemi 0:098463de4c5d 31 * property whatsoever. Maxim Integrated Products, Inc. retains all
group-onsemi 0:098463de4c5d 32 * ownership rights.
group-onsemi 0:098463de4c5d 33 *******************************************************************************
group-onsemi 0:098463de4c5d 34 */
group-onsemi 0:098463de4c5d 35
group-onsemi 0:098463de4c5d 36 #ifndef MBED_DEVICE_H
group-onsemi 0:098463de4c5d 37 #define MBED_DEVICE_H
group-onsemi 0:098463de4c5d 38
group-onsemi 0:098463de4c5d 39
group-onsemi 0:098463de4c5d 40
group-onsemi 0:098463de4c5d 41
group-onsemi 0:098463de4c5d 42
group-onsemi 0:098463de4c5d 43
group-onsemi 0:098463de4c5d 44
group-onsemi 0:098463de4c5d 45
group-onsemi 0:098463de4c5d 46
group-onsemi 0:098463de4c5d 47
group-onsemi 0:098463de4c5d 48
group-onsemi 0:098463de4c5d 49
group-onsemi 0:098463de4c5d 50
group-onsemi 0:098463de4c5d 51
group-onsemi 0:098463de4c5d 52
group-onsemi 0:098463de4c5d 53
group-onsemi 0:098463de4c5d 54
group-onsemi 0:098463de4c5d 55 #include "objects.h"
group-onsemi 0:098463de4c5d 56
group-onsemi 0:098463de4c5d 57 #endif