added prescaler for 16 bit pwm in LPC1347 target

Fork of mbed-dev by mbed official

Committer:
mbed_official
Date:
Fri Jan 15 07:45:16 2016 +0000
Revision:
50:a417edff4437
Child:
144:ef7eb2e8f9f7
Synchronized with git revision 6010f32619bfcbb01cc73747d4ff9040863482d9

Full URL: https://github.com/mbedmicro/mbed/commit/6010f32619bfcbb01cc73747d4ff9040863482d9/

Remove doubling of buffer size in realiseEndpoint()

Who changed what in which revision?

UserRevisionLine numberNew contents of line
mbed_official 50:a417edff4437 1 /***************************************************************************//**
mbed_official 50:a417edff4437 2 * @file device.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 *
mbed_official 50:a417edff4437 8 * Permission is granted to anyone to use this software for any purpose,
mbed_official 50:a417edff4437 9 * including commercial applications, and to alter it and redistribute it
mbed_official 50:a417edff4437 10 * freely, subject to the following restrictions:
mbed_official 50:a417edff4437 11 *
mbed_official 50:a417edff4437 12 * 1. The origin of this software must not be misrepresented; you must not
mbed_official 50:a417edff4437 13 * claim that you wrote the original software.
mbed_official 50:a417edff4437 14 * 2. Altered source versions must be plainly marked as such, and must not be
mbed_official 50:a417edff4437 15 * misrepresented as being the original software.
mbed_official 50:a417edff4437 16 * 3. This notice may not be removed or altered from any source distribution.
mbed_official 50:a417edff4437 17 *
mbed_official 50:a417edff4437 18 * DISCLAIMER OF WARRANTY/LIMITATION OF REMEDIES: Silicon Labs has no
mbed_official 50:a417edff4437 19 * obligation to support this Software. Silicon Labs is providing the
mbed_official 50:a417edff4437 20 * Software "AS IS", with no express or implied warranties of any kind,
mbed_official 50:a417edff4437 21 * including, but not limited to, any implied warranties of merchantability
mbed_official 50:a417edff4437 22 * or fitness for any particular purpose or warranties against infringement
mbed_official 50:a417edff4437 23 * of any proprietary rights of a third party.
mbed_official 50:a417edff4437 24 *
mbed_official 50:a417edff4437 25 * Silicon Labs will not be liable for any consequential, incidental, or
mbed_official 50:a417edff4437 26 * special damages, or any other relief, or for any claim by any third party,
mbed_official 50:a417edff4437 27 * arising from your use of this Software.
mbed_official 50:a417edff4437 28 *
mbed_official 50:a417edff4437 29 ******************************************************************************/
mbed_official 50:a417edff4437 30 #ifndef MBED_DEVICE_H
mbed_official 50:a417edff4437 31 #define MBED_DEVICE_H
mbed_official 50:a417edff4437 32
mbed_official 50:a417edff4437 33 #define DEVICE_PORTIN 1
mbed_official 50:a417edff4437 34 #define DEVICE_PORTOUT 1
mbed_official 50:a417edff4437 35 #define DEVICE_PORTINOUT 1
mbed_official 50:a417edff4437 36
mbed_official 50:a417edff4437 37 #define DEVICE_INTERRUPTIN 1
mbed_official 50:a417edff4437 38
mbed_official 50:a417edff4437 39 #define DEVICE_ANALOGIN 1
mbed_official 50:a417edff4437 40 #define DEVICE_ANALOGOUT 0
mbed_official 50:a417edff4437 41
mbed_official 50:a417edff4437 42 #define DEVICE_SERIAL 1
mbed_official 50:a417edff4437 43 #define DEVICE_SERIAL_ASYNCH 1
mbed_official 50:a417edff4437 44
mbed_official 50:a417edff4437 45 #define DEVICE_I2C 1
mbed_official 50:a417edff4437 46 #define DEVICE_I2CSLAVE 1
mbed_official 50:a417edff4437 47 #define DEVICE_I2C_ASYNCH 1
mbed_official 50:a417edff4437 48
mbed_official 50:a417edff4437 49 #define DEVICE_SPI 1
mbed_official 50:a417edff4437 50 #define DEVICE_SPISLAVE 1
mbed_official 50:a417edff4437 51 #define DEVICE_SPI_ASYNCH 1
mbed_official 50:a417edff4437 52
mbed_official 50:a417edff4437 53 #define DEVICE_CAN 0
mbed_official 50:a417edff4437 54
mbed_official 50:a417edff4437 55 #define DEVICE_RTC 1
mbed_official 50:a417edff4437 56
mbed_official 50:a417edff4437 57 #define DEVICE_ETHERNET 0
mbed_official 50:a417edff4437 58
mbed_official 50:a417edff4437 59 #define DEVICE_PWMOUT 1
mbed_official 50:a417edff4437 60
mbed_official 50:a417edff4437 61 #define DEVICE_SLEEP 1
mbed_official 50:a417edff4437 62
mbed_official 50:a417edff4437 63 #define DEVICE_STDIO_MESSAGES 1
mbed_official 50:a417edff4437 64
mbed_official 50:a417edff4437 65 #define DEVICE_LOWPOWERTIMER 1
mbed_official 50:a417edff4437 66
mbed_official 50:a417edff4437 67 #define DEVICE_ERROR_PATTERN 1
mbed_official 50:a417edff4437 68
mbed_official 50:a417edff4437 69 #include "objects.h"
mbed_official 50:a417edff4437 70 #include "Modules.h"
mbed_official 50:a417edff4437 71 #include "device_peripherals.h"
mbed_official 50:a417edff4437 72
mbed_official 50:a417edff4437 73 #endif