added prescaler for 16 bit pwm in LPC1347 target

Fork of mbed-dev by mbed official

Committer:
JojoS
Date:
Sat Sep 10 15:32:04 2016 +0000
Revision:
147:ba84b7dc41a7
Parent:
80:bdf1132a57cf
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?

UserRevisionLine numberNew contents of line
mbed_official 80:bdf1132a57cf 1 /* mbed Microcontroller Library
mbed_official 80:bdf1132a57cf 2 * Copyright (c) 2006-2015 ARM Limited
mbed_official 80:bdf1132a57cf 3 *
mbed_official 80:bdf1132a57cf 4 * Licensed under the Apache License, Version 2.0 (the "License");
mbed_official 80:bdf1132a57cf 5 * you may not use this file except in compliance with the License.
mbed_official 80:bdf1132a57cf 6 * You may obtain a copy of the License at
mbed_official 80:bdf1132a57cf 7 *
mbed_official 80:bdf1132a57cf 8 * http://www.apache.org/licenses/LICENSE-2.0
mbed_official 80:bdf1132a57cf 9 *
mbed_official 80:bdf1132a57cf 10 * Unless required by applicable law or agreed to in writing, software
mbed_official 80:bdf1132a57cf 11 * distributed under the License is distributed on an "AS IS" BASIS,
mbed_official 80:bdf1132a57cf 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
mbed_official 80:bdf1132a57cf 13 * See the License for the specific language governing permissions and
mbed_official 80:bdf1132a57cf 14 * limitations under the License.
mbed_official 80:bdf1132a57cf 15 */
mbed_official 80:bdf1132a57cf 16 #ifndef MBED_PORTNAMES_H
mbed_official 80:bdf1132a57cf 17 #define MBED_PORTNAMES_H
mbed_official 80:bdf1132a57cf 18
mbed_official 80:bdf1132a57cf 19 #ifdef __cplusplus
mbed_official 80:bdf1132a57cf 20 extern "C" {
mbed_official 80:bdf1132a57cf 21 #endif
mbed_official 80:bdf1132a57cf 22
mbed_official 80:bdf1132a57cf 23 typedef enum {
mbed_official 80:bdf1132a57cf 24 Port0 = 0,
mbed_official 80:bdf1132a57cf 25 Port1 = 1
mbed_official 80:bdf1132a57cf 26 } PortName;
mbed_official 80:bdf1132a57cf 27
mbed_official 80:bdf1132a57cf 28 #ifdef __cplusplus
mbed_official 80:bdf1132a57cf 29 }
mbed_official 80:bdf1132a57cf 30 #endif
mbed_official 80:bdf1132a57cf 31 #endif