added prescaler for 16 bit pwm in LPC1347 target
Fork of mbed-dev by
targets/hal/TARGET_ARM_SSG/TARGET_IOTSS/pinmap.c@80:bdf1132a57cf, 2016-03-02 (annotated)
- Committer:
- mbed_official
- Date:
- Wed Mar 02 14:30:11 2016 +0000
- Revision:
- 80:bdf1132a57cf
Synchronized with git revision de3b14ec9234d586b155fd24badc22775489a3dc
Full URL: https://github.com/mbedmicro/mbed/commit/de3b14ec9234d586b155fd24badc22775489a3dc/
latest changes to add arduino support, plus fixes for IOTSS BEID
Who changed what in which revision?
User | Revision | Line number | New 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 | #include "mbed_assert.h" |
mbed_official | 80:bdf1132a57cf | 17 | #include "pinmap.h" |
mbed_official | 80:bdf1132a57cf | 18 | #include "mbed_error.h" |
mbed_official | 80:bdf1132a57cf | 19 | |
mbed_official | 80:bdf1132a57cf | 20 | |
mbed_official | 80:bdf1132a57cf | 21 | void pin_function(PinName pin, int function) { |
mbed_official | 80:bdf1132a57cf | 22 | MBED_ASSERT(pin != (PinName)NC); |
mbed_official | 80:bdf1132a57cf | 23 | |
mbed_official | 80:bdf1132a57cf | 24 | } |
mbed_official | 80:bdf1132a57cf | 25 | |
mbed_official | 80:bdf1132a57cf | 26 | void pin_mode(PinName pin, PinMode mode) { |
mbed_official | 80:bdf1132a57cf | 27 | MBED_ASSERT(pin != (PinName)NC); |
mbed_official | 80:bdf1132a57cf | 28 | } |