/TARGET_K64F/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_KPSDK_CODE/hal/adc/fsl_adc_hal.h substitute line 894 extern } by }
Fork of mbed by
TARGET_LPC812/objects.h@64:e3affc9e7238, 2013-08-05 (annotated)
- Committer:
- bogdanm
- Date:
- Mon Aug 05 12:28:09 2013 +0300
- Revision:
- 64:e3affc9e7238
- Parent:
- LPC812/objects.h@62:7e6c9f46b3bd
- Child:
- 65:5798e58a58b1
New build system structure, new target (LPC1347), bug fixes (I2C read/write errors, LPC11U24 memory map and others)
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
emilmont | 62:7e6c9f46b3bd | 1 | /* mbed Microcontroller Library |
emilmont | 62:7e6c9f46b3bd | 2 | * Copyright (c) 2006-2013 ARM Limited |
emilmont | 62:7e6c9f46b3bd | 3 | * |
emilmont | 62:7e6c9f46b3bd | 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
emilmont | 62:7e6c9f46b3bd | 5 | * you may not use this file except in compliance with the License. |
emilmont | 62:7e6c9f46b3bd | 6 | * You may obtain a copy of the License at |
emilmont | 62:7e6c9f46b3bd | 7 | * |
emilmont | 62:7e6c9f46b3bd | 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
emilmont | 62:7e6c9f46b3bd | 9 | * |
emilmont | 62:7e6c9f46b3bd | 10 | * Unless required by applicable law or agreed to in writing, software |
emilmont | 62:7e6c9f46b3bd | 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
emilmont | 62:7e6c9f46b3bd | 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
emilmont | 62:7e6c9f46b3bd | 13 | * See the License for the specific language governing permissions and |
emilmont | 62:7e6c9f46b3bd | 14 | * limitations under the License. |
emilmont | 62:7e6c9f46b3bd | 15 | */ |
emilmont | 62:7e6c9f46b3bd | 16 | #ifndef MBED_OBJECTS_H |
emilmont | 62:7e6c9f46b3bd | 17 | #define MBED_OBJECTS_H |
emilmont | 62:7e6c9f46b3bd | 18 | |
emilmont | 62:7e6c9f46b3bd | 19 | #include "cmsis.h" |
emilmont | 62:7e6c9f46b3bd | 20 | #include "PortNames.h" |
emilmont | 62:7e6c9f46b3bd | 21 | #include "PeripheralNames.h" |
emilmont | 62:7e6c9f46b3bd | 22 | #include "PinNames.h" |
emilmont | 62:7e6c9f46b3bd | 23 | |
emilmont | 62:7e6c9f46b3bd | 24 | #ifdef __cplusplus |
emilmont | 62:7e6c9f46b3bd | 25 | extern "C" { |
emilmont | 62:7e6c9f46b3bd | 26 | #endif |
emilmont | 62:7e6c9f46b3bd | 27 | |
emilmont | 62:7e6c9f46b3bd | 28 | struct gpio_irq_s { |
emilmont | 62:7e6c9f46b3bd | 29 | uint32_t ch; |
emilmont | 62:7e6c9f46b3bd | 30 | }; |
emilmont | 62:7e6c9f46b3bd | 31 | |
emilmont | 62:7e6c9f46b3bd | 32 | struct serial_s { |
emilmont | 62:7e6c9f46b3bd | 33 | LPC_USART_TypeDef *uart; |
emilmont | 62:7e6c9f46b3bd | 34 | unsigned char index; |
emilmont | 62:7e6c9f46b3bd | 35 | }; |
emilmont | 62:7e6c9f46b3bd | 36 | |
emilmont | 62:7e6c9f46b3bd | 37 | struct i2c_s { |
emilmont | 62:7e6c9f46b3bd | 38 | LPC_I2C_TypeDef *i2c; |
emilmont | 62:7e6c9f46b3bd | 39 | }; |
emilmont | 62:7e6c9f46b3bd | 40 | |
emilmont | 62:7e6c9f46b3bd | 41 | struct spi_s { |
emilmont | 62:7e6c9f46b3bd | 42 | LPC_SPI_TypeDef *spi; |
emilmont | 62:7e6c9f46b3bd | 43 | unsigned char spi_n; |
emilmont | 62:7e6c9f46b3bd | 44 | }; |
emilmont | 62:7e6c9f46b3bd | 45 | |
emilmont | 62:7e6c9f46b3bd | 46 | #include "gpio_object.h" |
emilmont | 62:7e6c9f46b3bd | 47 | |
emilmont | 62:7e6c9f46b3bd | 48 | #ifdef __cplusplus |
emilmont | 62:7e6c9f46b3bd | 49 | } |
emilmont | 62:7e6c9f46b3bd | 50 | #endif |
emilmont | 62:7e6c9f46b3bd | 51 | |
emilmont | 62:7e6c9f46b3bd | 52 | #endif |