mbed library sources. Supersedes mbed-src.

Fork of mbed-dev by mbed official

Committer:
fwndz
Date:
Thu Dec 22 05:12:40 2016 +0000
Revision:
153:9398a535854b
Parent:
150:02e0a0aed4ec
device target maximize

Who changed what in which revision?

UserRevisionLine numberNew contents of line
<> 150:02e0a0aed4ec 1 /***************************************************************************//**
<> 150:02e0a0aed4ec 2 * @file device_peripherals.h
<> 150:02e0a0aed4ec 3 *******************************************************************************
<> 150:02e0a0aed4ec 4 * @section License
<> 150:02e0a0aed4ec 5 * <b>(C) Copyright 2015 Silicon Labs, http://www.silabs.com</b>
<> 150:02e0a0aed4ec 6 *******************************************************************************
<> 150:02e0a0aed4ec 7 *
<> 150:02e0a0aed4ec 8 * SPDX-License-Identifier: Apache-2.0
<> 150:02e0a0aed4ec 9 *
<> 150:02e0a0aed4ec 10 * Licensed under the Apache License, Version 2.0 (the "License"); you may
<> 150:02e0a0aed4ec 11 * not use this file except in compliance with the License.
<> 150:02e0a0aed4ec 12 * You may obtain a copy of the License at
<> 150:02e0a0aed4ec 13 *
<> 150:02e0a0aed4ec 14 * http://www.apache.org/licenses/LICENSE-2.0
<> 150:02e0a0aed4ec 15 *
<> 150:02e0a0aed4ec 16 * Unless required by applicable law or agreed to in writing, software
<> 150:02e0a0aed4ec 17 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
<> 150:02e0a0aed4ec 18 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
<> 150:02e0a0aed4ec 19 * See the License for the specific language governing permissions and
<> 150:02e0a0aed4ec 20 * limitations under the License.
<> 150:02e0a0aed4ec 21 *
<> 150:02e0a0aed4ec 22 ******************************************************************************/
<> 150:02e0a0aed4ec 23 #ifndef MBED_DEVICE_PERIPHERALS_H
<> 150:02e0a0aed4ec 24 #define MBED_DEVICE_PERIPHERALS_H
<> 150:02e0a0aed4ec 25
<> 150:02e0a0aed4ec 26 /* us ticker */
<> 150:02e0a0aed4ec 27 #define US_TICKER_TIMER TIMER0
<> 150:02e0a0aed4ec 28 #define US_TICKER_TIMER_CLOCK cmuClock_TIMER0
<> 150:02e0a0aed4ec 29 #define US_TICKER_TIMER_IRQ TIMER0_IRQn
<> 150:02e0a0aed4ec 30
<> 150:02e0a0aed4ec 31 /* PWM */
<> 150:02e0a0aed4ec 32 #define PWM_TIMER TIMER2
<> 150:02e0a0aed4ec 33 #define PWM_TIMER_CLOCK cmuClock_TIMER2
<> 150:02e0a0aed4ec 34 #define PWM_ROUTE TIMER_ROUTE_LOCATION_LOC1
<> 150:02e0a0aed4ec 35
<> 150:02e0a0aed4ec 36 /* USB */
<> 150:02e0a0aed4ec 37 #define USB_TIMER USB_TIMER1
<> 150:02e0a0aed4ec 38
<> 150:02e0a0aed4ec 39 #endif