5.2.1 - Updated I2C files
Dependents: mbed-TFT-example-NCS36510 mbed-Accelerometer-example-NCS36510 mbed-Accelerometer-example-NCS36510
cmsis/core_caInstr.h@1:f30bdcd2b33b, 2017-02-27 (annotated)
- 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?
User | Revision | Line number | New contents of line |
---|---|---|---|
group-onsemi | 0:098463de4c5d | 1 | /**************************************************************************//** |
group-onsemi | 0:098463de4c5d | 2 | * @file core_caInstr.h |
group-onsemi | 0:098463de4c5d | 3 | * @brief CMSIS Cortex-A9 Core Peripheral Access Layer Header File |
group-onsemi | 0:098463de4c5d | 4 | * @version |
group-onsemi | 0:098463de4c5d | 5 | * @date 04. December 2012 |
group-onsemi | 0:098463de4c5d | 6 | * |
group-onsemi | 0:098463de4c5d | 7 | * @note |
group-onsemi | 0:098463de4c5d | 8 | * |
group-onsemi | 0:098463de4c5d | 9 | ******************************************************************************/ |
group-onsemi | 0:098463de4c5d | 10 | /* Copyright (c) 2009 - 2012 ARM LIMITED |
group-onsemi | 0:098463de4c5d | 11 | |
group-onsemi | 0:098463de4c5d | 12 | All rights reserved. |
group-onsemi | 0:098463de4c5d | 13 | Redistribution and use in source and binary forms, with or without |
group-onsemi | 0:098463de4c5d | 14 | modification, are permitted provided that the following conditions are met: |
group-onsemi | 0:098463de4c5d | 15 | - Redistributions of source code must retain the above copyright |
group-onsemi | 0:098463de4c5d | 16 | notice, this list of conditions and the following disclaimer. |
group-onsemi | 0:098463de4c5d | 17 | - Redistributions in binary form must reproduce the above copyright |
group-onsemi | 0:098463de4c5d | 18 | notice, this list of conditions and the following disclaimer in the |
group-onsemi | 0:098463de4c5d | 19 | documentation and/or other materials provided with the distribution. |
group-onsemi | 0:098463de4c5d | 20 | - Neither the name of ARM nor the names of its contributors may be used |
group-onsemi | 0:098463de4c5d | 21 | to endorse or promote products derived from this software without |
group-onsemi | 0:098463de4c5d | 22 | specific prior written permission. |
group-onsemi | 0:098463de4c5d | 23 | * |
group-onsemi | 0:098463de4c5d | 24 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" |
group-onsemi | 0:098463de4c5d | 25 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
group-onsemi | 0:098463de4c5d | 26 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE |
group-onsemi | 0:098463de4c5d | 27 | ARE DISCLAIMED. IN NO EVENT SHALL COPYRIGHT HOLDERS AND CONTRIBUTORS BE |
group-onsemi | 0:098463de4c5d | 28 | LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR |
group-onsemi | 0:098463de4c5d | 29 | CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF |
group-onsemi | 0:098463de4c5d | 30 | SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS |
group-onsemi | 0:098463de4c5d | 31 | INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN |
group-onsemi | 0:098463de4c5d | 32 | CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) |
group-onsemi | 0:098463de4c5d | 33 | ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
group-onsemi | 0:098463de4c5d | 34 | POSSIBILITY OF SUCH DAMAGE. |
group-onsemi | 0:098463de4c5d | 35 | ---------------------------------------------------------------------------*/ |
group-onsemi | 0:098463de4c5d | 36 | |
group-onsemi | 0:098463de4c5d | 37 | #ifndef __CORE_CAINSTR_H__ |
group-onsemi | 0:098463de4c5d | 38 | #define __CORE_CAINSTR_H__ |
group-onsemi | 0:098463de4c5d | 39 | |
group-onsemi | 0:098463de4c5d | 40 | #define __CORTEX_M 0x3 |
group-onsemi | 0:098463de4c5d | 41 | #include "core_cmInstr.h" |
group-onsemi | 0:098463de4c5d | 42 | #undef __CORTEX_M |
group-onsemi | 0:098463de4c5d | 43 | |
group-onsemi | 0:098463de4c5d | 44 | #endif |
group-onsemi | 0:098463de4c5d | 45 |