Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: Freedman_v2 Nucleo_i2c_OLED_BME280_copy
Fork of mbed-src by
targets/hal/TARGET_NXP/TARGET_LPC82X/objects.h@614:d1b257119699, 2015-08-24 (annotated)
- Committer:
- kaizen
- Date:
- Mon Aug 24 00:12:39 2015 +0000
- Revision:
- 614:d1b257119699
- Parent:
- 337:6ed01c00b962
Added UART_2 of WIZwiki_W7500 for test
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| mbed_official | 337:6ed01c00b962 | 1 | /* mbed Microcontroller Library |
| mbed_official | 337:6ed01c00b962 | 2 | * Copyright (c) 2006-2013 ARM Limited |
| mbed_official | 337:6ed01c00b962 | 3 | * |
| mbed_official | 337:6ed01c00b962 | 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| mbed_official | 337:6ed01c00b962 | 5 | * you may not use this file except in compliance with the License. |
| mbed_official | 337:6ed01c00b962 | 6 | * You may obtain a copy of the License at |
| mbed_official | 337:6ed01c00b962 | 7 | * |
| mbed_official | 337:6ed01c00b962 | 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
| mbed_official | 337:6ed01c00b962 | 9 | * |
| mbed_official | 337:6ed01c00b962 | 10 | * Unless required by applicable law or agreed to in writing, software |
| mbed_official | 337:6ed01c00b962 | 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
| mbed_official | 337:6ed01c00b962 | 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| mbed_official | 337:6ed01c00b962 | 13 | * See the License for the specific language governing permissions and |
| mbed_official | 337:6ed01c00b962 | 14 | * limitations under the License. |
| mbed_official | 337:6ed01c00b962 | 15 | */ |
| mbed_official | 337:6ed01c00b962 | 16 | #ifndef MBED_OBJECTS_H |
| mbed_official | 337:6ed01c00b962 | 17 | #define MBED_OBJECTS_H |
| mbed_official | 337:6ed01c00b962 | 18 | |
| mbed_official | 337:6ed01c00b962 | 19 | #include "cmsis.h" |
| mbed_official | 337:6ed01c00b962 | 20 | #include "PortNames.h" |
| mbed_official | 337:6ed01c00b962 | 21 | #include "PeripheralNames.h" |
| mbed_official | 337:6ed01c00b962 | 22 | #include "PinNames.h" |
| mbed_official | 337:6ed01c00b962 | 23 | |
| mbed_official | 337:6ed01c00b962 | 24 | #ifdef __cplusplus |
| mbed_official | 337:6ed01c00b962 | 25 | extern "C" { |
| mbed_official | 337:6ed01c00b962 | 26 | #endif |
| mbed_official | 337:6ed01c00b962 | 27 | |
| mbed_official | 337:6ed01c00b962 | 28 | struct gpio_irq_s { |
| mbed_official | 337:6ed01c00b962 | 29 | uint32_t ch; |
| mbed_official | 337:6ed01c00b962 | 30 | }; |
| mbed_official | 337:6ed01c00b962 | 31 | |
| mbed_official | 337:6ed01c00b962 | 32 | struct serial_s { |
| mbed_official | 337:6ed01c00b962 | 33 | LPC_USART0_Type *uart; |
| mbed_official | 337:6ed01c00b962 | 34 | unsigned char index; |
| mbed_official | 337:6ed01c00b962 | 35 | }; |
| mbed_official | 337:6ed01c00b962 | 36 | |
| mbed_official | 337:6ed01c00b962 | 37 | struct i2c_s { |
| mbed_official | 337:6ed01c00b962 | 38 | LPC_I2C0_Type *i2c; |
| mbed_official | 337:6ed01c00b962 | 39 | void *handler; |
| mbed_official | 337:6ed01c00b962 | 40 | }; |
| mbed_official | 337:6ed01c00b962 | 41 | |
| mbed_official | 337:6ed01c00b962 | 42 | struct spi_s { |
| mbed_official | 337:6ed01c00b962 | 43 | LPC_SPI0_Type *spi; |
| mbed_official | 337:6ed01c00b962 | 44 | unsigned char spi_n; |
| mbed_official | 337:6ed01c00b962 | 45 | }; |
| mbed_official | 337:6ed01c00b962 | 46 | |
| mbed_official | 337:6ed01c00b962 | 47 | struct analogin_s { |
| mbed_official | 337:6ed01c00b962 | 48 | ADCName adc; |
| mbed_official | 337:6ed01c00b962 | 49 | }; |
| mbed_official | 337:6ed01c00b962 | 50 | |
| mbed_official | 337:6ed01c00b962 | 51 | struct pwmout_s { |
| mbed_official | 337:6ed01c00b962 | 52 | LPC_SCT_Type* pwm; |
| mbed_official | 337:6ed01c00b962 | 53 | uint32_t pwm_ch; |
| mbed_official | 337:6ed01c00b962 | 54 | }; |
| mbed_official | 337:6ed01c00b962 | 55 | |
| mbed_official | 337:6ed01c00b962 | 56 | #include "gpio_object.h" |
| mbed_official | 337:6ed01c00b962 | 57 | |
| mbed_official | 337:6ed01c00b962 | 58 | #ifdef __cplusplus |
| mbed_official | 337:6ed01c00b962 | 59 | } |
| mbed_official | 337:6ed01c00b962 | 60 | #endif |
| mbed_official | 337:6ed01c00b962 | 61 | |
| mbed_official | 337:6ed01c00b962 | 62 | #endif |
