added prescaler for 16 bit pwm in LPC1347 target
Fork of mbed-dev by
targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/PeripheralPins.h@147:ba84b7dc41a7, 2016-09-10 (annotated)
- Committer:
- JojoS
- Date:
- Sat Sep 10 15:32:04 2016 +0000
- Revision:
- 147:ba84b7dc41a7
- Parent:
- 144:ef7eb2e8f9f7
added prescaler for 16 bit timers (solution as in LPC11xx), default prescaler 31 for max 28 ms period time
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
mbed_official | 50:a417edff4437 | 1 | /***************************************************************************//** |
mbed_official | 50:a417edff4437 | 2 | * @file PeripheralPins.h |
mbed_official | 50:a417edff4437 | 3 | ******************************************************************************* |
mbed_official | 50:a417edff4437 | 4 | * @section License |
mbed_official | 50:a417edff4437 | 5 | * <b>(C) Copyright 2015 Silicon Labs, http://www.silabs.com</b> |
mbed_official | 50:a417edff4437 | 6 | ******************************************************************************* |
mbed_official | 50:a417edff4437 | 7 | * |
<> | 144:ef7eb2e8f9f7 | 8 | * SPDX-License-Identifier: Apache-2.0 |
mbed_official | 50:a417edff4437 | 9 | * |
<> | 144:ef7eb2e8f9f7 | 10 | * Licensed under the Apache License, Version 2.0 (the "License"); you may |
<> | 144:ef7eb2e8f9f7 | 11 | * not use this file except in compliance with the License. |
<> | 144:ef7eb2e8f9f7 | 12 | * You may obtain a copy of the License at |
mbed_official | 50:a417edff4437 | 13 | * |
<> | 144:ef7eb2e8f9f7 | 14 | * http://www.apache.org/licenses/LICENSE-2.0 |
mbed_official | 50:a417edff4437 | 15 | * |
<> | 144:ef7eb2e8f9f7 | 16 | * Unless required by applicable law or agreed to in writing, software |
<> | 144:ef7eb2e8f9f7 | 17 | * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT |
<> | 144:ef7eb2e8f9f7 | 18 | * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
<> | 144:ef7eb2e8f9f7 | 19 | * See the License for the specific language governing permissions and |
<> | 144:ef7eb2e8f9f7 | 20 | * limitations under the License. |
mbed_official | 50:a417edff4437 | 21 | * |
mbed_official | 50:a417edff4437 | 22 | ******************************************************************************/ |
mbed_official | 50:a417edff4437 | 23 | |
mbed_official | 50:a417edff4437 | 24 | #ifndef MBED_PERIPHERALPINS_H |
mbed_official | 50:a417edff4437 | 25 | #define MBED_PERIPHERALPINS_H |
mbed_official | 50:a417edff4437 | 26 | |
mbed_official | 50:a417edff4437 | 27 | #include "pinmap.h" |
mbed_official | 50:a417edff4437 | 28 | #include "PeripheralNames.h" |
mbed_official | 50:a417edff4437 | 29 | |
mbed_official | 50:a417edff4437 | 30 | /************ADC***************/ |
mbed_official | 50:a417edff4437 | 31 | extern const PinMap PinMap_ADC[]; |
mbed_official | 50:a417edff4437 | 32 | |
mbed_official | 50:a417edff4437 | 33 | /************I2C SCL***********/ |
mbed_official | 50:a417edff4437 | 34 | extern const PinMap PinMap_I2C_SCL[]; |
mbed_official | 50:a417edff4437 | 35 | |
mbed_official | 50:a417edff4437 | 36 | /************I2C SDA***********/ |
mbed_official | 50:a417edff4437 | 37 | extern const PinMap PinMap_I2C_SDA[]; |
mbed_official | 50:a417edff4437 | 38 | |
mbed_official | 50:a417edff4437 | 39 | /************PWM***************/ |
mbed_official | 50:a417edff4437 | 40 | extern const PinMap PinMap_PWM[]; |
mbed_official | 50:a417edff4437 | 41 | |
mbed_official | 50:a417edff4437 | 42 | /************SPI***************/ |
mbed_official | 50:a417edff4437 | 43 | extern const PinMap PinMap_SPI_MOSI[]; |
mbed_official | 50:a417edff4437 | 44 | extern const PinMap PinMap_SPI_MISO[]; |
mbed_official | 50:a417edff4437 | 45 | extern const PinMap PinMap_SPI_CLK[]; |
mbed_official | 50:a417edff4437 | 46 | extern const PinMap PinMap_SPI_CS[]; |
mbed_official | 50:a417edff4437 | 47 | |
mbed_official | 50:a417edff4437 | 48 | /************UART**************/ |
mbed_official | 50:a417edff4437 | 49 | extern const PinMap PinMap_UART_TX[]; |
mbed_official | 50:a417edff4437 | 50 | extern const PinMap PinMap_UART_RX[]; |
mbed_official | 50:a417edff4437 | 51 | |
mbed_official | 50:a417edff4437 | 52 | #endif |
mbed_official | 50:a417edff4437 | 53 |