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