added prescaler for 16 bit pwm in LPC1347 target
Fork of mbed-dev by
targets/hal/TARGET_RENESAS/TARGET_RZ_A1H/device.h@119:3921aeca8633, 2016-04-29 (annotated)
- Committer:
- mbed_official
- Date:
- Fri Apr 29 01:15:11 2016 +0100
- Revision:
- 119:3921aeca8633
- Parent:
- 89:76c2ee472b3f
- Child:
- 144:ef7eb2e8f9f7
Synchronized with git revision fe9720f24b1adc71ab6962506ec51290f6afd270
Full URL: https://github.com/mbedmicro/mbed/commit/fe9720f24b1adc71ab6962506ec51290f6afd270/
[Renesas RZ/A1H] Enable asynchronous communications
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
bogdanm | 0:9b334a45a8ff | 1 | /* mbed Microcontroller Library |
bogdanm | 0:9b334a45a8ff | 2 | * Copyright (c) 2006-2013 ARM Limited |
bogdanm | 0:9b334a45a8ff | 3 | * |
bogdanm | 0:9b334a45a8ff | 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
bogdanm | 0:9b334a45a8ff | 5 | * you may not use this file except in compliance with the License. |
bogdanm | 0:9b334a45a8ff | 6 | * You may obtain a copy of the License at |
bogdanm | 0:9b334a45a8ff | 7 | * |
bogdanm | 0:9b334a45a8ff | 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
bogdanm | 0:9b334a45a8ff | 9 | * |
bogdanm | 0:9b334a45a8ff | 10 | * Unless required by applicable law or agreed to in writing, software |
bogdanm | 0:9b334a45a8ff | 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
bogdanm | 0:9b334a45a8ff | 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
bogdanm | 0:9b334a45a8ff | 13 | * See the License for the specific language governing permissions and |
bogdanm | 0:9b334a45a8ff | 14 | * limitations under the License. |
bogdanm | 0:9b334a45a8ff | 15 | */ |
bogdanm | 0:9b334a45a8ff | 16 | #ifndef MBED_DEVICE_H |
bogdanm | 0:9b334a45a8ff | 17 | #define MBED_DEVICE_H |
bogdanm | 0:9b334a45a8ff | 18 | |
bogdanm | 0:9b334a45a8ff | 19 | /* ->Take measures about optimization problems of web compiler */ |
bogdanm | 0:9b334a45a8ff | 20 | /* Web compiler has problem that inlining code may not be generated correctly */ |
bogdanm | 0:9b334a45a8ff | 21 | /* when "-O3 -Otime" was specified. */ |
bogdanm | 0:9b334a45a8ff | 22 | #if defined(__CC_ARM) && (__ARMCC_VERSION <= 5040027) |
bogdanm | 0:9b334a45a8ff | 23 | #pragma Ospace |
bogdanm | 0:9b334a45a8ff | 24 | #endif |
bogdanm | 0:9b334a45a8ff | 25 | /* <-Take measures about optimization problems of web compiler */ |
bogdanm | 0:9b334a45a8ff | 26 | |
mbed_official | 119:3921aeca8633 | 27 | #define DEVICE_PORTIN 1 |
mbed_official | 119:3921aeca8633 | 28 | #define DEVICE_PORTOUT 1 |
mbed_official | 119:3921aeca8633 | 29 | #define DEVICE_PORTINOUT 1 |
bogdanm | 0:9b334a45a8ff | 30 | |
mbed_official | 119:3921aeca8633 | 31 | #define DEVICE_INTERRUPTIN 1 |
bogdanm | 0:9b334a45a8ff | 32 | |
mbed_official | 119:3921aeca8633 | 33 | #define DEVICE_ANALOGIN 1 |
mbed_official | 119:3921aeca8633 | 34 | #define DEVICE_ANALOGOUT 0 |
bogdanm | 0:9b334a45a8ff | 35 | |
mbed_official | 119:3921aeca8633 | 36 | #define DEVICE_SERIAL 1 |
mbed_official | 119:3921aeca8633 | 37 | #define DEVICE_SERIAL_FC 1 |
mbed_official | 119:3921aeca8633 | 38 | #define DEVICE_SERIAL_ASYNCH 1 |
bogdanm | 0:9b334a45a8ff | 39 | |
mbed_official | 119:3921aeca8633 | 40 | #define DEVICE_I2C 1 |
mbed_official | 119:3921aeca8633 | 41 | #define DEVICE_I2CSLAVE 1 |
mbed_official | 119:3921aeca8633 | 42 | #define DEVICE_I2C_ASYNCH 1 |
bogdanm | 0:9b334a45a8ff | 43 | |
mbed_official | 119:3921aeca8633 | 44 | #define DEVICE_SPI 1 |
mbed_official | 119:3921aeca8633 | 45 | #define DEVICE_SPISLAVE 1 |
mbed_official | 119:3921aeca8633 | 46 | #define DEVICE_SPI_ASYNCH 1 |
mbed_official | 119:3921aeca8633 | 47 | #define TRANSACTION_QUEUE_SIZE_SPI 16 |
bogdanm | 0:9b334a45a8ff | 48 | |
mbed_official | 119:3921aeca8633 | 49 | #define DEVICE_CAN 1 |
mbed_official | 119:3921aeca8633 | 50 | |
mbed_official | 119:3921aeca8633 | 51 | #define DEVICE_RTC 1 |
bogdanm | 0:9b334a45a8ff | 52 | |
mbed_official | 119:3921aeca8633 | 53 | #define DEVICE_ETHERNET 1 |
mbed_official | 119:3921aeca8633 | 54 | |
mbed_official | 119:3921aeca8633 | 55 | #define DEVICE_PWMOUT 1 |
bogdanm | 0:9b334a45a8ff | 56 | |
mbed_official | 119:3921aeca8633 | 57 | #define DEVICE_SEMIHOST 0 |
mbed_official | 119:3921aeca8633 | 58 | #define DEVICE_LOCALFILESYSTEM 0 |
mbed_official | 119:3921aeca8633 | 59 | #define DEVICE_ID_LENGTH 32 |
mbed_official | 119:3921aeca8633 | 60 | #define DEVICE_MAC_OFFSET 20 |
bogdanm | 0:9b334a45a8ff | 61 | |
mbed_official | 119:3921aeca8633 | 62 | #define DEVICE_SLEEP 0 |
bogdanm | 0:9b334a45a8ff | 63 | |
mbed_official | 119:3921aeca8633 | 64 | #define DEVICE_DEBUG_AWARENESS 0 |
bogdanm | 0:9b334a45a8ff | 65 | |
mbed_official | 119:3921aeca8633 | 66 | #define DEVICE_STDIO_MESSAGES 1 |
bogdanm | 0:9b334a45a8ff | 67 | |
mbed_official | 119:3921aeca8633 | 68 | #define DEVICE_ERROR_PATTERN 1 |
bogdanm | 0:9b334a45a8ff | 69 | |
bogdanm | 0:9b334a45a8ff | 70 | #include "objects.h" |
mbed_official | 119:3921aeca8633 | 71 | #include "dma_api.h" |
bogdanm | 0:9b334a45a8ff | 72 | |
bogdanm | 0:9b334a45a8ff | 73 | #endif |